Blocking / Allowing individual scripts using Google Tag Manager
-
Hi Fernando,
thanks for this great open source plugin!
I want to use GTM to disable / allow various tracking scripts and especially the userID feature of GA tracking.
I am following this tutorial: https://www.humix.be/en/blog/configure-google-analytics-for-gdpr/
While using your plugin, there are 2 differences:
1. You named the cookie with square brackets – gdpr[consent_types]
2. The value of the cookie contains weird characters – %5B%22privacy-policy%22%2C%22personalizovan-obsah%22%5D
I don’t know if any of these points are the issue, but I am not able to get the userId sent into GA even when the user allows it by checking the box in your plugin’s popup. The userId is always “undefined”.
The tutorial uses a simple single number as the value of the cookie. I don’t know if this makes a difference, so I wanted to ask. Do you have any ideas how to make this work?
Thank you ??
- The topic ‘Blocking / Allowing individual scripts using Google Tag Manager’ is closed to new replies.