We’ve integrated a widget on our clients’ websites that utilizes gtag for sending events to Google Analytics (GA4). Each client provides us with their Measurement ID (tracking code / GA4 ID) for this purpose. However, we’re uncertain about how to integrate our widget with their Consent Management Platform (CMP) to ensure compliance with user consent preferences.
Specific Question:
How does the CMP communicate user consent preferences to third-party vendors like us who use gtag for analytics tracking?
I’ve tried multiple CMPs, there’s an option to be included as a vendor in any cookie, but I don’t understand how our widget will know what consent has been given, because the widget (we are) does not have access to the customer’s CMP.
Aberllin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.