Adjust script embeds to lazy load. Does not work with all scripts.
OLD: <script type="text/javascript" language="javascript" src="//c.amazon-adsystem.com/aax2/getads.js"></script> <script type="text/javascript" language="javascript"> //<![CDATA[ aax_getad_mpb({ "slot_uuid":"1b1938e7-10cd-4599-8147-f917bd87f463" }); //]]> </script> NEW: <script> setTimeout(function(){ var s = document.createElement('script'); s.setAttribute('type', 'text/javascript'); s.setAttribute('src', '//c.amazon-adsystem.com/aax2/getads.js'); s.onreadystatechange = function() { if (this.readyState == 'complete' || this.readyState == 'loaded') { aax_getad_mpb({ "slot_uuid":"1b1938e7-10cd-4599-8147-f917bd87f463" }); } }; },5000); </script>
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article