extension-cookieman
extension-cookieman copied to clipboard
htmlCookieRemovalPattern for GA4 tag
Hey, sory this is not a bug but anyway, does anyone know the right htmlCookieRemovalPattern for GA4 tag/cookie?
@agendartobias how does the cookie name look like?
Which cookie is missing in https://github.com/dmind-gmbh/extension-cookieman/blob/master/Configuration/TypoScript/TrackingObjects/GoogleAnalytics.typoscript ?
It looks like: _ga_XYZSB7W6C4
So i dont know if the removal pattern like this is correct:
htmlCookieRemovalPattern = ^_ga_GTM\-\d+$
Yes, that looks like a bug.
htmlCookieRemovalPattern
s 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 ?