Cookie Information integration

Tag Manager

Consent Manager

Cookie Information integration lets you fire tags in Piwik PRO based on consent collected by Cookie Information.

In this article, we’ll show you how to set it up.

Before you start

Here are some things to know before you start:

  • Cookie Information has four basic cookie types, which also serve as as trigger and event names: cookie_cat_necessary (can’t be turned off), cookie_cat_functional, cookie_cat_statistic and cookie_cat_marketing.
  • The Cookie Control SDK is enabled via a custom trigger, events and tags in Piwik PRO Tag Manager.

Make sure that every tag that requires Cookie Information consent is set as No consent is required. This may seem counterintuitive but this simply prevents Consent Manager from interfering with the Cookie Information consenting mechanisms.

To create a trigger, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Triggers.
  3. In Tag triggers, click Add a trigger.
  4. Name your 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 a cookie type.
    Cookie Information integration in Piwik PRO
  7. When you’re done, click Save.
  8. Repeat steps 3–7 for the other cookie types from Cookie Information.
  9. Done!

Attach triggers to your tags

All that remains is to appropriately attach triggers to tags so that they reflect the requirements of a specific consent.

To attach triggers to tags, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags.
  3. Select 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
  6. That’s it! Your tags will now fire based on the consent given on the Cookie Information form.

Was this article helpful?

Technical support

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

Back to help center