A newbie question here. I am working on a store and would like to drive traffic to my landing page which should be as clean and fast as possible. So I built one with Shogun. the problem that pagespeed insights gives me a mobile score of only 38. Biggest problems seems to be loading of Javascripts for apps that I don’t even have enabled on landing page! For example Tdio live chat, I have it disabled for my landing page, yet javascript for it is loading and slowing down my page.
Is there a way to not load my app javascripts on my landing page?
You’ll have to look at the source code of the page and fine the exact output of the app’s JS file in the ‘asyncLoad’ function. The example code above will remove it from being loaded on that landing page.
Thanks so much for your help! I think this is something what I need. I found apps that are blocking me so badly, edited your code with links and pasted just under in theme.liquid
So I realized that Shogun has its’ own theme.shogun.landing.liquid which I just need to clean and somehow make it not load certain apps.
If I find any codes in Heading I just remove it and it works perfectly, my LP doesn’t load HotJar and stuff like that. But for some apps I just can’t seem to find code in heading and your code snippet doesn’t seem to work