Caretaker · Loading twice
The same script loads twice
Last updated: 2026-11-13
What Caretaker found
Your home page loads the same script more than once. Caretaker names the app or service it belongs to and how many times it loads.
The usual story: an app was first added by pasting its code into the theme, and later installed again as an app (or its app embed was switched on), so now both copies run. It also happens when two different people add the same tracking code.
Why it matters
- Slower pages: the browser downloads and runs the same code twice.
- Wrong numbers: tracking and analytics scripts that run twice can record each visit, add-to-cart or sale twice.
- Odd behaviour: two copies of a pop-up or chat widget can fight each other.
How to fix it
Keep the copy that belongs to the app, and remove the one written into the theme.
- Click Copy report at the bottom of Caretaker's Issues page. It lists where each copy comes from.
- If one copy comes from an app embed or an installed app, keep that one.
- Remove the other copy from a duplicate of your theme, as described in A script is written directly into your theme.
- Preview, Publish, then press Scan now in Caretaker.
If both copies come from apps (for example two different apps that both add Google Analytics), keep the one you actually use and switch off or uninstall the other.
Working with a developer
Send them the report. For a tracking script, ask them to check afterwards that each sale is recorded once.
When you can ignore it
Very rarely. A few services ask to be loaded twice on purpose with different settings; if the service's own instructions say so, choose Ignore.