Remove/ reduce unused Javascript for better website speed!

Remove/ reduce unused Javascript for better website speed!

smokeeffect
Visitor
1 0 1

Hello! Recently I used PageSpeed Insights to check out how our website was performing on mobile. One of the biggest red flags is that we need to "Reduce Unused JavaScript", and the URL's taking up the most space are www.googletagmanager.com and connect.facebook.net. How do I reduce the Javascript for both those sites?  Any help would be greatly appreciated!

Reply 1 (1)

rajvee_kadchha
Shopify Partner
25 1 2

Yes you can reduce it by delaying load files if they are in your theme code.

 

If you find any difficulty implementing it, we can do it for you. Share your url with us if you are interested.