In Novamag, we use the open-source solution Klaro as a Consent Management Platform (CMP). Klaro automatically determines which external services are integrated into Novamag and manages consent for them. The Google Tag Manager is a special feature. To ensure that it works smoothly, correctly and in compliance with data protection regulations, a user-defined event must be defined as the trigger for a tag.
The first step is to activate the GTM in Novamag. This can be activated under the project settings and then under Modules. The <head> is then inserted in step 1 and the <body> in step 2. These two code snippets are provided directly by Google Tag Manager.
Next, we add a service at the bottom. In our example, the service is a Facebook pixel, which was created as a Tag in Google Tag Manager. We give our service the name facebookpixel. The service ID with the name facebookpixel-accepted is then generated automatically. A description can also be added, which is displayed in the CMP and explains what this service stands for. The service is then saved.
In the next step, the service ID is copied and used in the GTM as a trigger for our tag. This ensures that this tag is only executed if permission has been granted.
Finally, we need to publish our tag in GTM so that it is live. We have now linked a tag with a user-defined event (facebookpixel-accepted) as a trigger. This tag will therefore only be executed once consent has been obtained in Novamag.



