The same script loaded twice
The page loads the same library or tracking tag more than once: for example Google Analytics added both by an app and in the theme.
Why it matters
Each copy downloads and runs again for nothing, and two copies of a tracking tag can count every visit twice.
How to fix it
- Find where each copy comes from: the theme, an app or plugin, or code pasted into the site’s settings.
- Keep one, usually the one your platform’s own setting or app adds, and remove the others.
On WordPress
- Go to Plugins › Installed Plugins and, where two plugins add the same tool, such as two analytics plugins, deactivate and delete one.
WordPress help: Deactivate or delete a plugin (opens in a new tab)
On Shopify
- Look for the tool in Settings › Apps, in Settings › Customer events › Custom pixels and in the theme’s code (theme.liquid). Keep one copy and remove the others.
On Wix
- Go to Settings › Custom Code and turn off any snippet that adds a tool already connected through Marketing Integrations or an app.
Wix help: Wix Editor: Embedding Custom Code on Your Site (opens in a new tab)
On Squarespace
- Open the Code Injection panel and compare the Header and Footer fields with each page’s Page Header Code Injection: keep one copy of each script.
- If you connected the tool in Squarespace’s own settings, such as Google Analytics, delete its code from Code Injection.
Squarespace help: Customize parts of your site with code injection (opens in a new tab)
On Hostinger
- Go to More (⋯) › Integrations: if a tool such as Google Analytics or Meta Pixel is connected as its own integration, delete any copy of its code from the Custom code field and from Embed code elements, save, then update the website.
Hostinger help: Hostinger AI Builder: How to add integrations in manual mode (opens in a new tab)
On Webflow
- Check where scripts are added: Site settings › Custom code, each page’s Page settings › Custom code, code embed elements, and integrations such as Google Analytics connected in Site settings. Keep one copy of each.
Check your fix
Once the change is live, check the page again.
Sources
Last checked 4 December 2026