");
} else {
win._boomrl = function() {
bootstrap();
};
if (win.addEventListener) {
win.addEventListener("load", win._boomrl, false);
} else if (win.attachEvent) {
win.attachEvent("onload", win._boomrl);
}
}
doc.close();
}
var link = document.createElement("link");
if (link.relList &&
typeof link.relList.supports === "function" &&
link.relList.supports("preload") &&
("as" in link)) {
window.BOOMR.snippetMethod = "p";
link.href = window.BOOMR.url;
link.rel = "preload";
link.as = "script";
link.addEventListener("load", promote);
link.addEventListener("error", function() {
iframeLoader(true);
});
setTimeout(function() {
if (!promoted) {
iframeLoader(true);
}
}, LOADER_TIMEOUT);
BOOMR_lstart = new Date().getTime();
parentNode.appendChild(link);
} else {
iframeLoader(false);
}
function boomerangSaveLoadTime(e) {
window.BOOMR_onload = (e && e.timeStamp) || new Date().getTime();
}
if (window.addEventListener) {
window.addEventListener("load", boomerangSaveLoadTime, false);
} else if (window.attachEvent) {
window.attachEvent("onload", boomerangSaveLoadTime);
}
if (document.addEventListener) {
document.addEventListener("onBoomerangLoaded", function(e) {
e.detail.BOOMR.init({
producer_url: "https://monorail-edge.shopifysvc.com/v1/produce",
ResourceTiming: {
enabled: true,
trackedResourceTypes: ["script", "img", "css"]
},
});
e.detail.BOOMR.t_end = new Date().getTime();
});
} else if (document.attachEvent) {
document.attachEvent("onpropertychange", function(e) {
if (!e) e=event;
if (e.propertyName === "onBoomerangLoaded") {
e.detail.BOOMR.init({
producer_url: "https://monorail-edge.shopifysvc.com/v1/produce",
ResourceTiming: {
enabled: true,
trackedResourceTypes: ["script", "img", "css"]
},
});
e.detail.BOOMR.t_end = new Date().getTime();
}
});
}
})();
window.ShopifyAnalytics.lib.page(
null,
{"pageType":"product","resourceType":"product","resourceId":1707860623426}
);
var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/)
var token = match? match[1]: undefined;
if (!hasLoggedConversion(token)) {
setCookieIfConversion(token);
window.ShopifyAnalytics.lib.track(
"Viewed Product",
{"currency":"USD","variantId":14113241595970,"productId":1707860623426,"productGid":"gid:\/\/shopify\/Product\/1707860623426","name":"Diamond Painting 5d Full Square Drill Bird - 30x30cm \/ 12x12inch canvas size \/ Square","price":"18.90","sku":"10542","brand":"ALISA Diamond Paintings","variant":"30x30cm \/ 12x12inch canvas size \/ Square","category":"Diamond Painting Animals","nonInteraction":true}
);
window.ShopifyAnalytics.lib.track(
"monorail:\/\/trekkie_storefront_viewed_product\/1.1",
{"currency":"USD","variantId":14113241595970,"productId":1707860623426,"productGid":"gid:\/\/shopify\/Product\/1707860623426","name":"Diamond Painting 5d Full Square Drill Bird - 30x30cm \/ 12x12inch canvas size \/ Square","price":"18.90","sku":"10542","brand":"ALISA Diamond Paintings","variant":"30x30cm \/ 12x12inch canvas size \/ Square","category":"Diamond Painting Animals","nonInteraction":true,"referer":"https:\/\/alisadiamondpaintings.com\/products\/diamond-painting-5d-full-square-drill-bird"}
);
}
});
var eventsListenerScript = document.createElement('script');
eventsListenerScript.async = true;
eventsListenerScript.src = "//cdn.shopify.com/shopifycloud/shopify/assets/shop_events_listener-68ba3f1321f00bf07cb78a03841621079812265e950cdccade3463749ea2705e.js";
document.getElementsByTagName('head')[0].appendChild(eventsListenerScript);
})();
Skip to content