eibiflo / cf_cookiemanager

Simple Typo3 Cookie Manager
GNU General Public License v2.0
11 stars 5 forks source link

Google Consent Mode #47

Open Batman777 opened 3 weeks ago

Batman777 commented 3 weeks ago

Hi, is there a "Google consent mode" for Google Analytics? This is needed for GDPR nowadays:

Kind regards Eric

P.S. The ext. is terrible good. Works out of the box. Hands down đź‘Ť

eibiflo commented 3 weeks ago

Hei @Batman777 ,

thanks for the great feedback, feel free to leave a Github Star and help to push this Repo forward.

At my Knowlege it seems that this is fundamentally about analytics settings, if I understand correctly. If you want to use the Consent Mode, you need to implement it accordingly in the script.

How analytics is used depends on the website operator and the embed code of the service. Source: (https://support.google.com/analytics/answer/9976101?hl=de)

With the Basic Mode, this should already work without any issues.

The Advanced Mode needs to be configured on your own, as it depends on the specific website. For this i have corrently no Template, but we can build on. (https://docs.typo3.org/p/codingfreaks/cf-cookiemanager/main/en-us/Developer/JavascriptAPI/Index.html)

Have you had any experience with the Advanced Mode? I personally haven’t used it yet since I don’t run any ads Services from Google and co. Feel free to join the Typo3 Slack channel to discuss this with the community.

eibiflo commented 2 weeks ago

Hei @Batman777,

here is a Documenation how to implement Google-Consent-Mode

I hope this helps! Let me know if you need more, or feel free to close the issue if everything’s clear.

Batman777 commented 3 days ago

Hi @eibiflo, sorry for my late reply. In this case (activating consent mode) I am a bit spoiled with extensions. Borlabs has a checkbox for "consent mode" and sgalinski as well. Thank you for the link đź‘Ť. In my case I am not using the tag manager. I only have GA4. Nonetheless I will save this for later.

Have you had any experience with the Advanced Mode? Not at all.

Cheers :-)

eibiflo commented 2 days ago

Hello @Batman777

I’m not a Google expert either, but from what I’ve found, it seems that Consent Mode might only be available through Tag Manager, or? Since Tag Manager manages the GA tags on the site, it makes sense for me.

For Understanding: Many websites use advanced configurations for their third-party providers, so having that option keeps things flexible. This is why i don't implemented a Checkbox, because you can not easily Configure the Advanced Consent Mode with it.

What i can do is a Service-Template for GCM, so its auto configured after installation by CodingFreaks Cookie API.

Can I ask how you’re planning to use Consent Mode just with GA4? Feel free to share what you find out after researching. It’ll be useful to have a setup ready for the future, as I think this question will come up more often.

Markus has also made a helpful video (in German) that covers some extra points to keep in mind. https://www.youtube.com/watch?v=zyz4weLD5f4