Piwik Pro Tag Manager implementation
Cookie control SDK implementation in Piwik Pro Tag Manager
Anna Madsen avatar
Written by Anna Madsen
Updated over a week ago

The cookie control SDK is enabled via the custom trigger, events, and tags functions in Piwik PRO Tag Manager (PPTM). Events are fired by our script injected on your website with all the logic necessary to handle banners and widgets, so there is no need to implement our solution in the source code.

For easy set-up follow these steps:

Disable Piwik PRO Consent Manager for the tag

Picture1.png

Make sure that every tag, in PPTM, that will require Cookie Information consent will be set as ‘Does Not Require Consent'.

This may seem counterintuitive but this simply prevents the Piwik PRO Consent Manager from interfering with the Cookie Information consenting mechanisms.

Create a trigger for every cookie category

Inside of your Piwik PRO Analytics Suite, open the Tag Manager

Picture2.png

and go to the Triggers menu.

Picture3.png

Create a new trigger by pressing the +Create new trigger button on the bottom-left side of the screen.

Picture4.png

Name your trigger,

Picture5.png

By default, there are 3 basic cookie types:

  • cookie_cat_functional

  • cookie_cat_statistic

  • cookie_cat_marketing

Those will also serve as triggers and event names.

select the Event type, and paste the cookie type name into the Data Layer Event Settings.

Picture6.png

Hit the save button

Picture7.png

And now repeat the process for every other Cookie Information cookie type.

Attach the trigger to the tag

All that’s left to do now is to attach one of our new triggers to every tag that requires certain cookie consent. To do that, open the tag, scroll to the very bottom and click +Existing trigger To add a trigger

Picture8.png

Select the trigger from the list and hit the save button to finish the process.

Picture9.png

That’s it, you can enjoy consented tag firing from now on.

Related articles:

Did this answer your question?