Apps loading scripts twice in our HEAD tag

Shopify Partner
3 0 0

our Klavio,, CrazyEgg, and a few other scripts are double loading on our site. 

Reviewing the theme code, there is no where that these scripts are being called. They are only loading via app installation. 

Any idea why they are loading twice?


Reply 1 (1)
Shopify Partner
4181 299 886

Check your theme for duplicate {{ content_for_header }} calls.

Or anything capturing,maninpulating that part of the thems script as performance hacks that try to control script delivery or overrides.


Or any "header" snippet that call content_for_header and that header gets duplicate calls or has improper loops.


If the above doesn't apply then view source and inspect the delivered html to tell if scripts are being rendered in duplicate or are loading duplicates after render to remove template code error as possibility. 

Save time seeking solutions - Learn To Ask Questions The Smart Way

Answers powered by coffee Buy Paul a Coffee for more answers or donate to
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution