Cookie Information Integration

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.

Does not require consent

Create a trigger for every cookie category

To create a trigger, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Triggers.
  3. Triggers
  4. Click + Create new trigger button.
  5. Create a new trigger
  6. Name the trigger.
  7. Name a trigger
  8. Select the event type.
  9. Event type
  10. Input the cookie type name to the Data Layer Event Settings.
  11. Data layer event settings
  12. When done, click Save.

And now 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. Pick a tag.
  2. Scroll to the very bottom and click + Existing trigger.
  3. Existing trigger
  4. Select the trigger from the list and click OK.
  5. Selecting existing trigger

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

Was this article helpful?

of people found this helpful

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!