Piwik Pro

Setting up our solution within Piwik PRO is very easy and only requires a few steps.

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. 

By default, there are 4 basic cookie types:

  • cookie_cat_necessary - Cannot be deselected by the user
  • cookie_cat_functional
  • cookie_cat_statistic
  • cookie_cat_marketing

Those will also serve as triggers and event names.

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

2) 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 in the bottom-left side of the screen.

Picture4.png

Name your trigger,

Picture5.png

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 type of Cookie Information cookies.

3) 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.