Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmlCookieRemovalPattern for GA4 tag #305

Open
agendartobias opened this issue Jan 27, 2023 · 3 comments
Open

htmlCookieRemovalPattern for GA4 tag #305

agendartobias opened this issue Jan 27, 2023 · 3 comments
Labels
bug Something isn't working Skill: TypoScript

Comments

@agendartobias
Copy link

Hey, sory this is not a bug but anyway, does anyone know the right htmlCookieRemovalPattern for GA4 tag/cookie?

@jonaseberle
Copy link
Member

@agendartobias
Copy link
Author

It looks like: _ga_XYZSB7W6C4

So i dont know if the removal pattern like this is correct:

htmlCookieRemovalPattern = ^_ga_GTM\-\d+$

@jonaseberle
Copy link
Member

Yes, that looks like a bug.
htmlCookieRemovalPatterns of _ga_--container-id-- and _gac_--property-id-- are wrong.

https://github.com/dmind-gmbh/extension-cookieman/blob/master/Configuration/TypoScript/TrackingObjects/GoogleAnalytics.typoscript#L49

https://github.com/dmind-gmbh/extension-cookieman/blob/master/Configuration/TypoScript/TrackingObjects/GoogleAnalytics.typoscript#L57

Should be just htmlCookieRemovalPattern = ^_ga_ / ^_gac_.
Would you like to do a pull request @agendartobias ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Skill: TypoScript
Projects
None yet
Development

No branches or pull requests

2 participants