Manage GTM by purposes
This page explains how to trigger a GTM tag according to the processing purposes consented to in the notice by the user. As a publisher, it can be useful to be able to trigger a script without appearing as a non-IAB partner.
The AppConsent CMP automatically triggers 11 events according to the 11 IAB purposes available.
Trigger creation
Let's start by adding a custom event.
Click on the Triggers menu
Then on the New button

Click on Trigger configuration
From the list of events in the right-hand side panel, select Custom event

In the Event name field, enter
appconsent_ctrl_+ the purpose number

Name the event as you like, then save.
Depending on your needs, do the same for appconsent_ctrl_2, appconsent_ctrl_3 ... appconsent_ctrl_10.
Link the event to a tag
Click on the Tags menu in the left-hand side panel
Then click on the New button

Click on Tag Configuration
Then select the Custom HTML template

Put the extra vendor's script in the HTML field

Then click on the Trigger section
Then select the custom trigger created earlier

Name and save your tag
That's it. Now your tag will be fired only if :
If the processing purpose you have selected is consented by the user.
Have a suggestion ? Just drop an email to support@sfbx.io
Last updated