How to Audit Every Third-Party Script Running on Your Site

Ask most site owners how many third-party scripts their site loads, and the number they give is almost always lower than reality. Not because they're being careless — because scripts accumulate over years, added by different people, for different reasons, through different mechanisms, and nobody ever goes back to make a complete list. A cookie consent audit is really a script inventory problem first and a consent-configuration problem second.

Why the list is always incomplete

Trackers end up on a site through at least five different paths, often on the same site simultaneously:

  • Directly pasted into template code by a developer, years ago, for a campaign that's long since ended
  • Added through a tag manager (Google Tag Manager being the most common), which hides the actual script list behind its own interface — "we use GTM" tells you nothing about what's actually configured inside it
  • Bundled by a theme or page builder, sometimes disclosed, sometimes not
  • Added by a plugin or app for a purpose unrelated to tracking (a review widget, a chat tool, a popup builder) that includes its own analytics as a side effect
  • Injected by an ad network or affiliate program as a condition of participation — affiliate tracking pixels being a common, often-forgotten example

Any audit that only checks "the trackers we know we added" misses whichever of these five paths nobody currently at the company remembers setting up.

The actual audit process

1. Start with Network tab, not documentation

Documentation lies, or more precisely, goes stale. The actual request log from a real page load is the only trustworthy source. Open an incognito window, DevTools' Network tab, filter by domain if your site has a lot of requests, and load the homepage before touching any consent banner.

2. Check Tag Manager's own debug mode, if you use one

If GTM (or a similar tool) is in use, its preview/debug mode shows exactly which tags fired on a given page load — this is the fastest way to get a real list of what's configured inside it, rather than guessing from the Network tab alone.

3. Repeat on multiple page types, not just the homepage

Product pages, checkout/conversion pages, and blog posts frequently load different scripts than the homepage — a review app's tracking might only fire on product pages, a conversion pixel might only fire on a thank-you page. A homepage-only audit systematically misses these.

4. Cross-reference against your app/plugin list

Go through every installed app or plugin and check its settings for an analytics or tracking toggle, even on tools that don't advertise themselves as tracking tools. Review apps, popup builders, and chat widgets are the most commonly overlooked category here.

5. Check what fires after rejecting, specifically

A script appearing in the pre-consent list is the obvious finding. Equally important and more often missed: scripts that keep firing after a visitor clicks reject, because whatever gates pre-consent loading didn't also gate already-initialized scripts from continuing to send data.

6. Document what you find, with the actual domain and purpose

The output of this process should be a real list: domain, what it's for, which cookie category it belongs in, whether it's currently gated correctly. This becomes the source of truth for your cookie policy page too — see our note on keeping your cookie policy matched to reality, since an inaccurate policy is its own separate finding in an investigation.

Doing this on a schedule, not once

The biggest gap we see isn't sites that never audited — it's sites that audited once, years ago, and never again. A new app, a new campaign pixel, or a theme update can silently add a new tracker at any point, and nothing about that process requires anyone to re-run the manual check above. This is exactly the gap an automated, recurring scan is built to close.

Run a free scan of your site to get a current list of everything actually loading — before and after consent — without doing the manual Network tab process yourself.