Cookie Information works well together with Piwik PRO Tag Manager, allowing you to fire tags basing on the consents collected by Cookie Information.
The Cookie Control SDK is enabled via the custom trigger, events, and tags in Tag Manager.
To make integration between Cookie Information and Piwik PRO work you need to do the following:
- Disable Consent Manager for the tag.
- Create a trigger for every cookie category.
- Attach the trigger to the tag.
Let’s see how to handle each of these steps.
Before you start
Before you begin you need to know that by default, there are four basic cookie types, which also serve as as trigger and event names:
- Cookie_cat_necessary (can’t be turned off by the user)
- cookie_cat_functional
- cookie_cat_statistic
- cookie_cat_marketing
Disable Consent Manager for the tag
Make sure that every tag, in Tag Manager, that will require Cookie Information consent is set as Does not require consent
. This may seem counterintuitive but this simply prevents Consent Manager from interfering with the Cookie Information consenting mechanisms.

Create a trigger for every cookie category
To create a trigger, follow these steps:
- Go to Menu > Tag Manager.
- Navigate to Triggers.
- In Tag triggers, click Add new trigger.
- Name the trigger.
- In Event type, choose the following type: Data layer event.
- In Data layer event settings, add the cookie type.
- When you’re done, click Save.
- Repeat the process for every other type of Cookie Information cookies.
Attach the trigger to the tag
All that’s left to do now is to attach one of the triggers to every tag that requires certain cookie consent.
To attach triggers to a tag, follow these steps:
- Go to Menu > Tag Manager.
- Navigate to Tags.
- Click on the tag you want to work with.
- In Tag triggers, click Choose existing trigger.
- Select the trigger from the list and click OK.
That’s it. From now on, you can enjoy consented tag firing.