Technology 3 minutes read

Withdraw consent and verify tag behaviour in the browser

The analytics toggle shows Off after withdrawal. The next tracked action shows how the analytics tag responds. A dedicated test page makes it possible to compare the saved choice, the tag's consent signal and the actual requests.

Illustration for the article: Withdraw consent and verify tag behaviour in the browser

Set up the test

The test uses a dedicated page, a fresh browser profile and the currently published consented.eu property. The test record includes an analytics tag, the trigger and the expected request destination. In Chrome DevTools, preserve the Network log across navigation and watch storage for the test origin in Application.

consented.eu provides a loader for early defaults and maps categories to Consent Mode signals. The integration guide places the loader before Tag Manager and other scripts. consented_ready indicates that the state is known, and consented_update follows a visitor's choice. For Google tags, Tag Assistant also shows the earliest consent entry, subsequent updates and individual tag behaviour.

Repeat the same action across four states

  1. First visit. Before making a choice, trigger the action. Record the banner, earliest consent status, new requests and storage.
  2. Grant. Enable analytics alone if the property supports that choice. Trigger the same action and record both the consent update and the observed effects.
  3. Withdraw. Open the always-available settings, switch analytics off and save. Mark the time in the Network log and repeat the action on the same page. Read the new requests separately from older ones. A necessary function that still works serves as a control.
  4. Reload and navigate. Check the saved choice, repeated action and storage again. Use a second fresh profile to test an explicit refusal on the first visit.

Interpret the signal and the observed effect

In basic Google Consent Mode, a correctly configured integration prevents Google tags from loading until consent is granted. In advanced mode, cookieless requests can occur under denied. A request on its own cannot establish that consent was granted or that the configuration failed. Check the selected mode, the signal, the contents of the request and whether it set or reused identifiers.

If a tag continues sending identifying data after withdrawal, check category mapping and script order first. A script that has already run may still be active on that page. Check how that provider stops tracking or whether the page needs a controlled reload so the script can be blocked on startup. Inspect existing storage separately. Record the behaviour of the integration and the selected action.

The consented.eu documentation shows declarative blocking for scripts installed by the site operator and patterns for dynamically inserted elements. For an embed controlled by the site operator, data-consented-src keeps the URL from loading until consent. Article 7(3) GDPR requires that withdrawal be as easy as giving consent. This test documents the actual technical behaviour of the selected setup.

References and integration guides

Published 2 December 2026

This article explains general principles and does not replace legal advice on an individual case.

Back to the overview