Cookie Information integration

Tag Manager

Consent Manager

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

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.

Does not require consent in Piwik PRO

To create a trigger, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Triggers.
  3. In Tag triggers, click Add new trigger.
  4. Name the trigger.
  5. In Event type, choose the following type: Data layer event.
    Cookie Information integration in Piwik PRO
  6. In Data layer event settings, add the cookie type.
    Cookie Information integration in Piwik PRO
  7. When you’re done, click Save.
  8. 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:

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags.
  3. Click on the tag you want to work with.
  4. In Tag triggers, click Choose existing trigger.
  5. Select the trigger from the list and click OK.
    Cookie Information integration in Piwik PRO

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

Was this article helpful?

Technical support

If you still have some questions, visit our community.
There’s always someone ready to help!

Back to help center