Just enter your Vidalytics code with this script:

function loadVidalyticsEmbedCode() {

setTimeout(doLoadVidalyticsEmbedCode, 500);

}

function doLoadVidalyticsEmbedCode() {

// VIDALYTICS EMBED CODE GOES HERE

}

if (document.readyState === "loading") {

document.addEventListener("DOMContentLoaded", loadVidalyticsEmbedCode);

} else {

loadVidalyticsEmbedCode();

}
Did this answer your question?