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;
}
When most marketers consider how to optimize their email program, they think about how to write compelling copy and calls-to-action (CTAs). Yes, copy and CTAs are important. But there is more that marketers need to consider as they work to optimize their email program.
Email marketing has been evolving for decades and still remains one of the most actio… Read More