A template to preload ad related resources
<link rel=”preload” as=”script” href=”https://df80k0z3fi8zg.cloudfront.net/files/instibid/{{SITE_ID}}.js”>
<link rel=”preload” as=”script” href=”https://securepubads.g.doubleclick.net/tag/js/gpt.js”>
<link rel=”preload” as=”script” href=”https://d3lcz8vpax4lo2.cloudfront.net/ads-code/{{SITE_ID}}.js”>
- Replace {{SITE_ID}} with corresponding site id
- Place these “above” our initialization code in the header
NOTE: this assumes that there’s only 1 ad config group (only serving ads-code), and the distribution for embedproduction bucket is df80k0z3fi8zg
screamqueensonline.com is now using preload links, please take a look yourself in the inspector
One Comment
Comments are closed.