Remove Amazon Web Service Javascript from Shopify Store

Remove Amazon Web Service Javascript from Shopify Store

Dynamicc
Visitor
2 0 0

I was checking our Shopify page speed via PageSpeed Insights and it says to reduce unused javascript. The first suggestion is Amazon Web Services. I don't think we've ever connected this account or have it on our Shopify store. Does anyone know how to remove the javascript for it? Here is a picture of the problem: 

 

Screen Shot 2023-11-14 at 11.21.38 AM.png

Reply 1 (1)

JoesIdeas
Shopify Partner
2490 229 672

That's likely one of your apps using that service (Amazon Web Services is a common technology solution).

 

Here's how I would track that down:

1) Look in your theme.liquid file in your theme editor (or if this is only happening on a specific page template, like product page, look at the product template as well).

 

2) See if you can find a file resembling what you see there. Remove it, make sure everything works (of course you already backed up your theme before editing it :D)

 

3) If that doesn't yield any results, it's possible an app is injecting the script on page load. In that case it's likely being used and should not be deleted, but you could also try to investigate the code to see if you can figure out what app is using it. For example, "mc-validate" maybe is for an app with the initials M C.

 

If you aren't able to track down the source of the problem, a Shopify developer should be able to do that for you.

• Creator of Order Automator [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics