Google Tag Manager events
If you use Google Tag Manager (GTM) to manage scripts on your website, Clym can trigger custom GTM events based on user consent. You can then configure your tags to fire only when those events occur. This allows you to keep all of your scripts within Google Tag Manager while still managing them based on consent, without requiring any changes to your website.
Custom Google Tag Manager events let your tags fire when specific consent-related events occur. For example, if you have a Google Analytics tag set up in GTM and a user accepts Google Analytics through the Clym widget, Clym sends an event to Google Tag Manager indicating that Google Analytics has been accepted. You can configure your Google Analytics tag to listen for that event, ensuring it only fires after the user has given consent.
Events Clym sends:
- Consent accepted
- Consent rejected
To begin, sign in to your Google Tag Manager container.
Navigate to Variables. Click on New in User-Defined Variables.
Choose a variable type, select Data Layer Variable. Name the Data Layer Variable Name to be: clymServiceId and name the Variable on top to: Clym Service Id.
Create a new variable with clymServiceName and Clym Service Name.
Navigate to Triggers, create a New one for each service you wish to control.
If you encounter any challenges, please reach out to support@clym.io.
Updated on: 30/01/2026
Thank you!





