if (typeof BingeIframeRan === “undefined”) {
window.addEventListener(“message”, receiveMessage, false);
function receiveMessage(event) {
try {
var parsed = JSON.parse(event.data)
if (parsed.context === “iframe.resize”) {
var iframes = document.getElementsByClassName(“binge-iframe”);
for (let i = 0; i < iframes.length; ++i) {
if (iframes[i].src == parsed.src || iframes[i].contentWindow === event.source) {
iframes[i].height = parsed.height; }
iframes[i].style.opacity = 1;
}
}
} catch (error) {
}
}
var BingeIframeRan = true;
}
Would you like more of your site users to convert into buyers or customers?
New reports reveal that it is getting more and more difficult as buyers’ journeys are getting more and more complicated:
More than 50% of consumers buy online because they can easily compare prices (Source: Oberlo)
63% of shoppers who ask for information about products won’t make a purchase for at … Read More