Leftover scripts from apps you’ve removed
What it is
When you add an app to a store, it often adds a small piece of code to your pages. When you remove the app, that code isn’t always removed. Your pages keep asking for a file that no longer exists. The server answers “404, not found”, on every page, for every visitor.
It’s like a delivery driver who still goes to a shop that closed.
How it costs sales
- Every wasted request takes a little time. A few are nothing. Dozens add up.
- A missing file can stop other things on the page from working, such as a button or a pop-up.
- It makes your pages slower to show, and slower pages sell less.
Most of the time, nobody notices. That’s why it lasts.
Check it yourself in 2 minutes
- Open your home page in Chrome.
- Press F12 (on a Mac, Option + Command + I) to open the developer tools.
- Click the Network tab, then reload the page.
- Look for lines in red, or a status of 404. Click one to see the address of the file.
- If the name of the file or the address shows an app you no longer use, you’ve found a leftover.
You can also look at your list of installed apps and ask: do I still use all of these?
If you find one, tell us or your theme’s editor. Don’t delete code from your theme unless you’re sure what you’re doing.
How we watch it
Every night we read the code of your home page and of a few other pages, and check script files those pages ask for. We flag the ones that don’t exist. We don’t run the page in a browser yet, so a file that is only requested once the page is running can escape us.
We keep a record of each night. So we can say in the letter: “Since the 12th, your home page asks for a file that isn’t there.”
What we do about it: we tell you which file, and on which pages. We don’t take it out ourselves. Leftover code usually sits in the theme’s files, and we don’t edit theme code. If the leftover is an app block that can be switched off in the theme editor, we can do that, and we always ask first.