klaro-js
klaro-js copied to clipboard
How to integrate Klaro's consent decisions into Piwik Pro's consent manager?
Hi,
I'm currently trying to use the klaro with Piwik Pro, so that Piwik Pro records the consents according to the user's choice within the consent section on Piwik pro.
So far I've implemented Klaro by putting the config file into Piwik pro's tag manager and it successfully appears within my website temporarily saving the user's consent choices into the Klaro cookie within the users web browser.
From what I understand, what needs to be done is to convert this value saved into the to browser into a true or false that can be seen by Piwik Pro before I use the JavaScript API commands in developer tools: https://developers.piwik.pro/en/latest/consent_manager/js_api/index.html .
As I have little coding experience I'm unsure as to how to approach this - would the code that interacts with Piwik pro's consent API be placed within the config file?
Thank you for your help!