Hello, is it possible to achieve this setup with other TMS instead of PPTM? Namely GTM? Thanks
Hi. Could you describe your setup? Piwik PRO TM and GTM are quite similar tools, so most likely yes. You can load Piwik PRO container as one of the tags in GTM (with trigger set to all page views).
You can also make the user anonymous while using only the analytics tracking API, but this setup is not recommended. Sometimes it makes sense if, for some reason, you don’t want to use Piwik PRO Tag Manager.
Also regarding tracking, I am using HTML Tags instead of your GTM Template.
How could I use the tracking API? Thanks
Ok, so here is my point of view:
- set up PPTM (our installation snippet) via a custom code tag in GTM with trigger set to all page views
- then follow this guide
You’ll have to check onetrust’s api to identify the event when consent was given, but other than that, it should be quite simple.