Skip to content

googleanalytics/gtm-consent-mode-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Google Tag Manager Consent Mode Examples

A collection of examples showing how to utilize Consent Mode with Google Tag Manager.

What's in this repo

./vendor-agnostic-google-template

A reference implementation meant to demonstrate how Tag Manager triggers and variables can be used to manage Consent Mode consent states in lieu of a CMP-provided template.

For more information on Consent Mode, please see the following articles:

Consent Mode (Google Ads)
Consent Mode (Google Analytics)
Consent Mode overview (Developer Guide)
Manage Consent Settings (Developer Guide)
Create a Consent Template (Developer Guide)