Extension Pro

Third-Party Script Detection

Inventory observed third-party scripts and tag managers, then compare their loading time with the detected consent state.

A vendor script can arrive through a template, a tag manager or another embedded service. When an audit finds a request before consent, the practical problem is locating that loading path. ConsentScope collects observed script information and groups it with vendor and timing context.

Use the inventory to investigate what loaded during the captured visit. A requested script is not proof that every function inside it executed, and a known vendor name does not reveal every use the site makes of that vendor. Unknown classifications need manual review.

The report complements cookie and network evidence. Start with the suspicious service, inspect its observed initiator where available, and ask the implementation owner to confirm which integration controls it.

Use the inventory to answer a specific question

Before changing a tag, write down the symptom: an analytics identifier appears on the product page before interaction, or a marketing endpoint is contacted after Reject. Then find the service in the script inventory. This keeps the investigation tied to a behavior instead of turning every third-party dependency into an undifferentiated warning.

Compare the failing page with a passing template. If the same container exists on both but only one page loads the vendor, inspect the route-specific configuration and page components. If the vendor appears twice, check for a second installation through the theme or a marketing plugin.

Keep loading, execution and collection distinct

EvidenceWhat it supportsWhat it does not prove
Script URL observedThe browser observed that resource or script referenceAll code inside it executed
Known vendor classificationA match to a recognized destination or patternThe exact contractual purpose on this site
Request before detected consentA timing observation to investigateA complete legal assessment
Cookie written after the scriptA useful sequence for investigationA definitive causal link without further evidence

Treat these distinctions as part of the report, not as fine print. They help the developer reproduce the issue and prevent a client from interpreting the inventory as a complete security review. Where possible, compare the script with a request and storage event from the same session.

Follow dependencies without guessing the owner

A chat widget may load a separate analytics library. A marketing integration may inject another vendor's resource. Record each destination and the available initiator context, then verify the dependency with the integration owner. The Initiator Trace view supplies a lead when browser metadata is available; it is not a guaranteed JavaScript stack trace.

For first-party proxy endpoints or server-side forwarding, browser observations stop at the visible request. You cannot infer all onward recipients from a URL on your own domain. Ask the server-side owner for the matching configuration and logs before claiming the data stayed within the organization.

Retest the action that introduced the script

If the vendor loaded only after opening a booking panel, repeat that interaction after the fix. Reloading the homepage alone will miss it. Include partial consent and withdrawal when the service can start during the current document lifetime.

Use the network request view for the associated transmissions and the snapshot workflow for a private engineering handoff. When the issue comes from a consent integration, the CMP guides provide the next configuration checks.

How it works

1

Start observation before reloading the page.

2

Review observed script destinations, vendor classifications and consent timing.

3

Exercise the relevant page interaction to check delayed or route-specific loading.

4

Confirm the loading path in the application or tag manager and repeat the test after a change.

Key benefits

A visit-specific inventory

See the scripts observed in the tested page session.

Vendor context

Group known destinations and investigate unrecognized ones.

A debugging starting point

Find candidates for duplicate or ungated integrations.

Who is it for

Developers

Audit script loading order and remove unauthorized tags before release.

Privacy engineers

Validate that consent signals actually block downstream scripts.

Marketers

Understand which tags are firing and whether they comply with consent choices.

Frequently asked questions

Does this show every script on every page?
No. It describes the captured session and depends on what the browser and page expose. Test other templates and interactions separately.
Does loading GTM prove its tags executed?
No. A container request and a downstream vendor request are different observations. Verify the tag behavior rather than inferring it from the container alone.
Is a first-party script automatically safe?
No. A script served from your own domain can still perform optional measurement. Domain classification does not establish the script's full purpose.

Unlock Third-Party Script Detection with ConsentScope Pro

Extension Pro provides lifetime access to the paid browser features. Monitor and Agency are separate subscriptions for cloud monitoring. Compare the plans for your workflow.

View Extension Pro

Run a free cookie audit · CMP troubleshooting guides

Your cookie choices

Essential cookies support sign-in and security. With your permission, Google Analytics measures website visits using analytics cookies. Rejecting analytics does not limit access. You can change your choice anytime in Cookie settings. Privacy Policy