When you install an app in Shopify, it often adds JavaScript files to your theme code — in theme.liquid or in specific templates. When you uninstall the app, Shopify removes it from your app list but does NOT automatically remove its scripts from your theme. Those orphaned scripts continue loading on every page, slowing down your store for every visitor, even though the app is gone and doing nothing.
This is one of the most common and most fixable speed issues we find. The average store that's been running for 2+ years has 3–8 orphaned app scripts still loading. Each one adds 100–500ms of load time. Cumulatively, that can add 2–4 seconds to your page load — which directly reduces mobile conversions and Google rankings. Removing them doesn't require a developer, but it does require careful work in your theme code.
In Shopify Admin, go to Online Store → Themes → click the three-dot menu on your live theme → Edit Code.
Open the Layout folder and click theme.liquid. Use Ctrl+F to search for the word "script" — look at each <script> tag and note the src= URL or the service it references.
For each script you see, ask: do I have an active app installed that needs this? If you see scripts referencing Klaviyo, Privy, Yotpo, Bold, etc. — check your Apps list to confirm they're still installed and active.
Also check: Snippets folder for any files named after apps (e.g., klaviyo.liquid, privy-widget.liquid). These are also left behind by uninstalled apps.
Open your store in Chrome, right-click → Inspect → Network tab. Filter by "Script" and reload. You'll see every script loading — note ones from domains you don't recognize or services you no longer use.
BEFORE making any changes: duplicate your theme (Online Store → Themes → the three-dot menu → Duplicate). Work on the duplicate, not your live theme.
In theme.liquid, identify each orphaned script tag. To confirm it's orphaned, search for the app or service name in your App list. If it's not there — it's safe to remove.
Remove the script tag by deleting the entire <script src="..."></script> line or the app's include snippet.
Also check the Assets folder for any .js files with app names. These are safe to delete if the app is no longer installed.
Save your changes on the duplicate theme, then switch it to your live theme (click "Publish"). Test your store immediately after — if anything breaks, switch back to the old theme.
After removing scripts: retest your page speed on Google PageSpeed Insights to measure the improvement.
Removing scripts without first duplicating the theme — if something breaks, you need to be able to revert instantly
Removing a script that's still needed — always verify in your App list and by testing after each removal
Only checking theme.liquid and ignoring Snippets — many apps add their code to snippet files that persist after uninstalling
Removing only the script tag and leaving behind a JavaScript variable that the script needs — this can cause JavaScript errors on other scripts
Not testing on mobile after removal — occasionally removing one script reveals a dependency issue that only appears on specific devices
Critical
1–3 hours
Intermediate (requires theme code access)
Revenue Loss Calculator
Free tool
Check this issue on your store right now — no signup required.
Unused App Scripts is just one of dozens of issues we check. Get your complete store audit.
Full Audit — $50Our full audit counts every script loading on your store, identifies which belong to unused or uninstalled apps, and calculates the estimated speed impact — as part of a full 6-category store audit.
Get Your Full Store Audit — $506 categories. Prioritized fixes. Under 60 seconds.