Skip to main content

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.

caution

If you want to control a non-IAB partner, we recommend you visit this page: Control your extra vendors

Trigger creation​

Let's start by adding a custom event.

  1. Click on the Triggers menu
  2. Then on the New button

Google Tag Manager new trigger

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

Google Tag Manager create custom event

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

Google Tag Manager name custom event

  1. 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.

info

As a reminder, here is the list of purposes according to the IAB Framework:

List of purposes :

  1. Store and/or access information on a device
  2. Use limited data to select advertising
  3. Create profiles for personalised advertising
  4. Use profiles to select personalised advertising
  5. Create profiles to personalise content
  6. Use profiles to select personalised content
  7. Measure advertising performance
  8. Measure content performance
  9. Understand audiences through statistics or combinations of data from different sources
  10. Develop and improve services
  11. Use limited data to select content
  1. Click on the Tags menu in the left-hand side panel
  2. Then click on the New button

Google Tag Manager ajout tag pour event

  1. Click on Tag Configuration
  2. Then select the Custom HTML template

Google Tag Manager selection de html personnalisée

  1. Put the extra vendor's script in the HTML field

Google Tag Manager code html du vendor

  1. Then click on the Trigger section
  2. Then select the custom trigger created earlier

Google Tag Manager ajout du déclencheur sur le tag

  1. Name and save your tag
Attention

In this example, we're using the Custom HTML template, but it works with other template types.

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