Digital Anumati

Auto-blocking cookies from Google Tag Manager before consent

Asked 10 Sept 2026780 viewsby Kabir Nair
Score
24
Vote2 replies
GTM injects a bunch of tags synchronously. Our audit still shows analytics cookies firing before the user clicks Accept. What's the correct wiring?
24votes2answers780views
You
  • Aditi Sharma
    Aditi Sharma

    Are you using GTM's consent-mode v2 or the legacy v1?

    18d ago

2 Answers

Sorted byVotes
16
GTM needs to be configured with our consent-mode adapter. Load our SDK *before* GTM's snippet, then GTM will honor the consent state. Otherwise it fires under default 'granted'.
You

No comments yet

Be the first to share your thoughts.

7
Also verify your GTM container has consent-mode v2 enabled — v1 doesn't respect denied state for all tag types.
You

No comments yet

Be the first to share your thoughts.

Your Answer

0 characters