On this page
What this issue is
A third-party tracker is code loaded from another company's domain that records what visitors do on your pages. Common examples are ad pixels (TikTok, LinkedIn, Meta, Microsoft UET, Pinterest, Snapchat), analytics tools, heatmaps and chat widgets.
It becomes an unknown tracker when nobody on your team can say who added it, why, or which account it reports to. They usually arrive in a few ways: a former agency or freelancer left a pixel in Google Tag Manager, a plugin or app injects its own script, a theme or page-builder template ships with one, or someone pasted a snippet into a custom code box years ago.
Why it costs you leads or sales
The cost is mostly indirect, which is why the impact is medium rather than high. Unknown trackers can hurt you in four ways.
- Privacy and consent risk: data goes to vendors before a visitor has agreed, which can break your own cookie policy and local privacy law.
- Wrong or duplicate data: an old pixel pointing at a previous ad account, or a second copy of a tag, can inflate or pollute conversion counts.
- Slower pages: every extra script adds requests and can delay forms, buttons and checkouts, so fewer visitors finish.
- Leaked audiences: your visitors can be added to someone else's retargeting audiences, such as a former agency's account.
- Script addedAgency, plugin or template adds a pixel
- No owner recordedNobody logs who or why
- Fires on every visitSends data to a third party, maybe before consent
- Surprise laterAudit, complaint or slow page reveals it
The break is the missing owner: nobody reviews the script after it is added.
How to check if your site has it
You need a list of every outside domain your pages talk to. Do this on your key pages: home, landing pages, the form page, the thank-you page and checkout. Use a private window with no browser extensions, and test before and after accepting your cookie banner.
Open DevTools Network tab
In Chrome, press F12, open Network, tick Preserve log and reload the page. Sort by Domain and look for hosts that are not yours.
Test before consent
Load the page without touching the cookie banner. Anything from an ad or analytics domain that loads now is firing before consent.
Test after consent
Accept all cookies, reload, and note which new domains appear.
Check Google Tag ManagerGoogle Tag Manager
Open each container and review every tag, including paused ones, and the Custom HTML tags especially.
Check cookies
In DevTools open Application, then Cookies, and list cookies set by domains other than your own.
Record each finding
For every domain write down: vendor, what it does, who owns the account, and whether you need it.
| Domain pattern | Usually |
|---|---|
| analytics.tiktok.com | TikTok Pixel |
| snap.licdn.com / px.ads.linkedin.com | LinkedIn Insight Tag |
| bat.bing.com | Microsoft UET tag |
| s.pinimg.com / ct.pinterest.com | Pinterest tag |
| sc-static.net / tr.snapchat.com | Snapchat Pixel |
| connect.facebook.net | Meta Pixel |
| Unfamiliar domain | Search the domain name, then trace which script loads it |
How to fix it
Once you have your list, sort each tracker into keep, consent-gate or remove. Keep what you can name and justify. Remove anything you cannot match to an active campaign or tool. Where to remove it depends on where it was added.
Find the tag
Use the search box in Tags, or open Preview mode and see which tags fired.
Pause or delete
Pause it first, publish, and watch for a week. Then delete it if nothing breaks.
Add consent checks
For trackers you keep, open Advanced Settings, then Consent Settings, and require the matching consent type.
Review plugins
Deactivate plugins one at a time on a staging copy and re-run the Network check to see which one loads the domain.
Check header and footer boxes
Look in your theme options and any header and footer script plugin for pasted snippets.
Remove the source
Delete the snippet or uninstall the plugin if you no longer need it.
Check Customer events
In Settings, then Customer events, review custom pixels and remove any you do not recognise.
Check installed apps
Apps can add scripts. Uninstall unused ones, then confirm no leftover code remains in the theme.
Search theme code
In Online Store, Themes, Edit code, search theme.liquid for the domain name.
Check project custom code
Open Project settings, then Custom code, and review the head and footer boxes.
Check page-level code
Each page's settings also has a custom code section. Review key pages.
Check embeds
Look for Embed elements that load third-party widgets.
Open Custom Code
In Settings, go to Custom code (under Advanced) and review every snippet and its pages.
Review Marketing integrations
Check connected pixels under Marketing integrations and disconnect unknown ones.
Check Code Injection
Open Settings, Developer tools, Code injection and review the header, footer and order confirmation boxes.
Check marketing integrations
Review any connected ad accounts and pixels under Marketing.
Check funnel and site settings
Open each funnel or website, then Settings, and review the head and footer tracking code boxes.
Check per-page code
Page-level custom code and custom code elements can also hold trackers.
Search the codebase
Search your templates for script tags and for the domain names you found.
Add a Content Security Policy
A CSP limits which domains can load scripts. Start in report-only mode to see what would be blocked.
Content-Security-Policy-Report-Only: script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com; report-uri /csp-reportBefore
- Nobody knows which pixels run
- Old agency pixels still fire
- Some tags fire before consent
After
- Every tracker has an owner and a purpose
- Unused pixels removed
- Kept trackers wait for consent
How to confirm it's fixed
Re-run the Network check
Repeat the private-window test on the same pages and confirm the removed domains no longer appear.
Test consent states
Reject cookies and confirm marketing domains stay silent. Then accept and confirm only the trackers on your list load.
Check your real conversions
Submit a test lead and confirm the ad and analytics platforms you still use receive the event.
Compare against your inventory
Every outside domain should now match a line in your tracker list.
How to prevent it happening again
- Keep a tracker register: vendor, purpose, account ID, owner, date added.
- Require sign-off before anyone adds a pixel or Custom HTML tag.
- Remove access and tags when an agency or freelancer leaves.
- Review plugins and apps after every install or update.
- Re-run the Network audit every quarter and after redesigns.
- Use a Content Security Policy in report-only mode to spot new domains.
Month 0
Agency adds a pixel for a campaign
Month 6
Campaign ends, contract ends, pixel stays
Month 18
Cookie audit finds data still going to the old account
Month 18, week 2
Pixel removed and register started
How FunnelGuard handles this
FunnelGuard does not check for unknown third-party trackers today. Spotting unexpected pixels could be a future check, but it is not part of the product now.
What FunnelGuard does cover nearby: a robot visitor runs your real journeys on a schedule and checks that the tracking hits you expect reach GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit. That helps you confirm your known pixels work, but it does not tell you about pixels you never set up.
To watch for unknown trackers, run the manual Network and Tag Manager audit above each quarter, keep a tracker register, and consider a Content Security Policy in report-only mode. Many consent management platforms also include a cookie scanner you can use alongside it.
Questions people ask
How do I find hidden trackers on my website?
Open your page in a private window, press F12, go to the Network tab, reload and sort requests by domain. Any domain that is not yours or a vendor you chose needs checking. Also review every tag in Google Tag Manager and the custom code boxes in your site builder.
Why is my website sending data to a TikTok or LinkedIn account I don't recognise?
Most often a former agency, plugin, app or template added the pixel and nobody removed it. Check Google Tag Manager, your CMS custom code areas and installed plugins. The Initiator column in the Network tab shows which script loaded it.
Are unknown third-party trackers illegal?
Not by themselves, but trackers that set cookies or send personal data before valid consent can breach privacy rules such as GDPR or ePrivacy in the EU and UK. Rules vary by country, so ask a legal adviser about your situation.
How do I remove a tracking pixel I didn't add?
Work out where it loads from: Tag Manager, a plugin or app, theme code, or a custom code box. Pause or delete it there, then re-run the Network check to confirm the domain no longer loads. Check with the ad team first if it feeds a live campaign.
Can a plugin add trackers without telling me?
Yes. Some plugins and apps load their own scripts, such as analytics, chat or ad pixels. Deactivate them one at a time on a staging site and watch the Network tab to see which one loads each domain.
How often should I audit third-party scripts?
Every quarter is a sensible default, and again after redesigns, new plugins or apps, or changes of agency. Keep a register of approved trackers so each audit is a quick comparison.
Does FunnelGuard detect unknown trackers?
No. FunnelGuard does not check for unknown third-party trackers yet. It does check that your expected tracking hits reach ad and analytics platforms, so use a manual audit for unknown ones.