Is there going to be updates made to the guide mentioned above somewhere in the near future?
The guide could be expanded. What is missing so far is the part where it guides the process in the third party CMP side, for instance in OneTrust. Would anybody happen to have a guide on how to implement OneTrust with Piwik PRO Analytics step by step with also the part on what are the best practices used in OneTrust?
Any recommendations on how to do all of it with the current setup? (Shared consent on different domains, GDPR vs. CCPA etc.)
Could anybody expand the guide please. Mainly the 10th step: “Call the setInitialComplianceSettings() method and setComplianceSettings() method after a visitor agrees to analytics on your third-party consent form. This will make the visitor non-anonymous.”
Where should the methods be called? In the HTLM document itself, where in it? In the header before and/or after the OneTrust tag?
Why there are empty functions in the example? Are these placeholders and for what?:
ppms.cm.api(
“setComplianceSettings”,
{ consents: { analytics: { status: 1 } } },
function () {}, <— this here
function () {} <— and this
);
I have copied the code from the example and then I pasted it as it is into the header section of my page right after OneTrusts header tag. This in itself did not seem to cut it yet. So far it seems that Piwik has to be classified and categorised as a performance/analytics tool within OneTrust. After that Piwik will obey OneTrusts consent updates accordingly. Though unfortunately this does not seem to suffice exactly, because by using the methods described in this guide (Check if your tracking works correctly | Piwik PRO help center) mainly the Console inspection one, there seems to be no pre-consent tracking in place with this set up and the. Testing with _paq and _paq.push(['trackPageView']); pre consent console returns errors. Only after the consent, it returns something, though the response to _paq is not quite the same as in the example.
Another way to inspect and validate the inner workings could be to use the Tracker Debugger. You describe the feature/tool in here: About tracker debugger | Piwik PRO help center. Unfortunately it seems to be missing from my account. I have the free Core plan, is the feature simply not included in my current plan?
Unfortunately I am struggling to find an answer from the JavaScript API documentation. The arguments are described yes, but to me the documentation does not seem to provide an explanation for the empty functions and I was wondering if there were other ways to solve this?