On this page
What this issue is
A pixel (also called a tag or tracking script) is a small piece of code that tells an ad or analytics platform what a visitor did on your site. When you cancel a vendor, switch agency or stop running ads on a platform, the account may close but the code usually stays behind.
The old pixel keeps sending page views and events to a platform you no longer use, or to an account that someone else may now control. It is easy to miss because nothing looks broken on the page.
Why it costs you leads or sales
The direct impact is usually low, but it is real. The cost is mostly waste and risk, not a sudden drop in leads.
- Speed: each extra script adds requests and can delay the page, which hurts form and checkout completion on slow connections.
- Privacy: visitor data goes to a vendor you have no contract with. This may conflict with your privacy policy and consent rules such as GDPR.
- Consent: an old tag that is not wired to your consent banner may fire before visitors agree.
- Data quality: stray tags can create duplicate events or confuse debugging.
- Security: abandoned vendor domains can change hands, and your page keeps loading code from them.
- Visitor landsPage loads with all tags
- Old vendor pixel firesSends visit data to a cancelled vendor
- Page slowsExtra request and script to run
- Form or checkoutSome visitors leave before finishing
The old tag fires on every visit, even though nobody reads its data.
How to check if your site has it
Make a list of current vendors
Write down every ad platform, analytics tool, chat or CRM tool you pay for or use now, with its account or pixel ID.
List third-party requests
Open your key pages in Chrome, press F12, go to the Network tab, reload, and sort by Domain. Note every domain that is not your own.
Match each domain to a vendor
Anything you cannot match to a current vendor is a suspect. Search the domain name to see who owns it.
Check your tag managerGoogle Tag Manager
In Google Tag Manager, open Tags and look for old names, paused tags that are still published, and Custom HTML tags.
Search the source
View page source and search for the vendor name or pixel ID. Also check your theme files, header and footer scripts, and plugins.
Check every page type
Test the home page, a landing page, the form, the thank-you page and checkout. Some tags load only on certain pages.
How to fix it
Remove the tag in the place it was added. If you delete it from the wrong place, it will keep loading from the right one.
Find the tag
Open Tags, search for the vendor name or pixel ID, and check Custom HTML tags too.
Delete or pause, then publish
Delete the tag and any trigger or variable only it used. Click Submit and Publish. Pausing alone is not enough if you forget to publish.
Check plugins
Go to Plugins and deactivate or delete any vendor or pixel plugin you no longer use.
Check header and footer scripts
Look in any header and footer script plugin, your theme options and Appearance > Theme File Editor (header.php, footer.php). Remove the old snippet.
Check apps and channels
Go to Settings > Apps and sales channels and remove unused apps. Also check Settings > Customer events for old custom pixels.
Check theme code
In Online Store > Themes > Edit code, search theme.liquid for the vendor name or ID and remove the snippet.
Check site custom code
Go to Site settings > Custom code and remove the old script from Head code and Footer code.
Check page-level code
Open each page's settings and check its custom code, then publish the site.
Check tracking code fields
Look in Sites > Funnels or Websites, open each funnel's Settings and remove old scripts in the Head and Footer tracking code. Check page-level settings too.
Check Marketing integrations
Go to Settings > Marketing integrations and disconnect old pixels.
Check Custom code
Go to Settings > Custom code and delete old snippets.
Check Code Injection
Go to Settings > Advanced > Code Injection and remove old header and footer code. Also check page-level code injection.
Search the codebase
Search templates, includes and build files for the vendor domain and pixel ID, then remove the script and any noscript image fallback.
Clear caches
Purge your CDN and page cache so old HTML is no longer served.
How to confirm it's fixed
Hard reload
Open the page in a private window, open the Network tab and reload. The old vendor domain should no longer appear.
Search the source
View source and search for the vendor name and pixel ID. There should be no matches.
Test all key pages
Repeat on the landing page, form, thank-you page and checkout.
Check your live tags still work
Confirm GA4, Google Ads and your other current pixels still fire after the clean-up.
Before
- Requests to a cancelled vendor on every page
- Visitor data sent without a contract
- Nobody knows who owns the tag
After
- Only current vendors load
- Every tag has a named owner
- Privacy policy matches what the site does
How to prevent it happening again
- Keep a simple tag register: vendor, pixel ID, purpose, owner, date added.
- Add 'remove tags and pixels' to your offboarding checklist when you end a vendor or agency contract.
- Use one place for tags (ideally a tag manager) so there is one list to review.
- Review third-party requests every quarter.
- Tell your agency to hand over or remove their tags when the work ends.
- Update your privacy policy and cookie banner list when vendors change.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. When its robot visitor runs your journeys, it records the third-party hits your pages send, so an old vendor's requests can show up in the hits it captures. You can look through them for domains you do not recognise.
What it does not do: it has no unknown-vendor rule. It does not know which vendors you have cancelled, so it will not raise an alert just because a request goes to a vendor that should be gone. Its tracking checks look for the platforms it monitors, such as GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit.
Questions people ask
Why is a pixel from a cancelled vendor still firing on my site?
Cancelling an account does not remove the code from your website. The script stays in your tag manager, theme, plugin or custom code until someone deletes it, so it keeps loading on every visit.
How do I find old tracking pixels on my website?
Open your page in Chrome, press F12, go to the Network tab, reload and sort by Domain. Match every non-own domain to a current vendor. Then search your tag manager, theme files and plugins for anything you cannot match.
Is an old tracking pixel a privacy problem?
It can be. The pixel sends visitor data to a third party you may no longer have an agreement with, and it may fire without consent. Check it against your privacy policy and consent rules, and remove it if there is no valid reason for it.
Does a leftover pixel slow down my website?
Yes, each extra script adds a request and some code to run. The effect of one tag is often small, but old tags add up and can delay forms and checkout on slow connections.
How do I remove an old pixel in Google Tag Manager?
Open Tags, find the tag by name or pixel ID, delete it along with triggers or variables only it used, then click Submit and Publish. Check Custom HTML tags too, as old pixels are often hidden there.
Can FunnelGuard tell me which pixels I should remove?
Only partly. FunnelGuard captures the third-party hits your journeys send, so you can spot unfamiliar vendors, but it has no unknown-vendor rule and does not alert you when a cancelled vendor's pixel fires. You need to compare the hits with your vendor list yourself.
How often should I audit tracking tags on my site?
Do it every quarter, and whenever you end a vendor or agency contract, change platforms or redesign the site. A tag register with an owner for each pixel makes the review quick.