Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
our Klavio, Rise.ai, 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?
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.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
I am also having this issue. I see that a couple of js urls are listed twice in the `urls` array of the `asyncLoad` function. Does anyone have a solution?
In the end I just contact the individual apps and they removed the duplicates. They couldn't tell me how they got there or how I could've resolved myself.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024