Piwik and Klaro integration

Hello there!

I need to integrate client’s Piwik with Klaro Consent Management Tool. I imagine that I should follow these instructions: How can I integrate a third-party cookie consent tool with Piwik PRO? | Piwik PRO help center

But do you have anything to add for this particular third-party tool? What should I take into account? Thanks!

Here is Klaro’s website: https://heyklaro.com/


If you will follow the guide you should be okay :slight_smile:

Additionally you might think about adding methods for clicks on “agree to all”, “decline all”, “save changes”.
So on clicks on each of those options you can use those methods:

  1. track agree to all click
  2. track reject all click
  3. track save choices click

This way you will also see visitors interactions with consent form in consent report.

But it’s not necessery for integration to work correctly. The guide on help center shows exactly what is needed.

Thanks Oliwer!

We have done as the guide tells, but now even though I give consent to all cookies, in tracker debugger our tags are not fireing. Only if I change the needed consent from “Analytics” to “No consent needed” our tags (for example phone number clicks) are fireing. Before turning on the “Use a custom consent form” the tags were fireing as they should in debugger. What could cause this?

If you use our tag manager for integration, please make sure the consent type for the integration tag is “No consent is required”.
To check if the mapping works correctly you can use this function in console:
ppms.cm.api('getComplianceSettings', (e)=>{console.log(e)}, ()=>{});
Here is documentation


still not working. :slightly_smiling_face:

So if I understand correctly, do I need a tag similar like with Cookiebot integration for Klaro or any other 3rd party consent tool?

We are new to PiwikPro and our client wants to stick to Klaro as a consent management tool. What could we check next? Is there a way to walk us through this integration?

You need a script that will get the consent decisions from Klaro (or other 3rd party consent tool) and send them to Piwik PRO Consent Manager. We have ready to use script for Cookiebot which you can use as a referenece for writing your own script for Klaro tool.
Once you have the script than you can follow steps from either cookiebot integration (using your script) or the steps from How can I integrate a third-party cookie consent tool with Piwik PRO? | Piwik PRO help center.