Idea for better GDPR compatability
-
I first have to say that I might not have a full understanding of how GTM works and what all the possibilities are. But I’ve done some research and I think my idea is possible. If it doesn’t make sense, please let me know (or just ignore me ?? )
I know GTM4WP just pushes data layers etc etc. But could you please consider the following ?
Let’s say I have several tags in my tagmanager set up. Some are functional/analytical, and other are for tracking users.
To comply with GDPR I have to block tracking tags until the visitor accepts them.
There are plenty of plugins around which almost all have the same behavior. Example: Check whether cookie with name “Consent Given” is set to “True”. If yes, don’t show notice. If no, show notice and ask for permission. The permission is stored in the cookie I mentioned above.
Now, in GTM we have the ability to add exceptions to tags. So we can add a condition and if this condition is true, the tag may be fired.
With all this data we have we could technically do the following. If you can add the feature to specify a cookie name and value. Then we can add that to a datalayer. Example:
`
if cookie “Consent Given” exists AND isset to “True”{
dataLayer.push({‘event’: ‘consent_given’});
}
`
GTM uses this datalayer to confirm that consent has been given or not. This will then be used as exception for the tracking tags.
This way, we can use any cookie plugin we want as long as it stores the user preference in a cookie.
Ideally, but probably much more work for you, GTM4WP would have its own built-in cookie consent functionality where the above scenario is applied.
Anyways, I’d love to hear what you think of this idea.
- The topic ‘Idea for better GDPR compatability’ is closed to new replies.