Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Google Consent Mode v2 - not initialising with Google Tag Manager

More
1 month 1 week ago #77281 by sarahhayesuk
I'm using Cookies CK 3.8.5 on Joomla 5.4.9. Google Consent is enabled with both Ad default state and Analytics default state set to Denied. Google Analytics code is set to No because GA4 is being loaded through Google Tag Manager.However, Cookies CK does not appear to output the Google Consent Mode v2 initialisation. Searching the generated page source shows no analytics_storage, ad_storage, ad_user_data or ad_personalization.GTM Preview consequently reports “Consent not configured. Default consent state has not been set yet”, and google_tag_data.ics reports usedDefault: false and usedUpdate: false.According to the Cookies CK documentation, enabling Google Consent should load the Google Consent initialisation script at the very beginning of the page.GTM itself is loaded later in the <head>, so it appears after the Cookies CK code.Is there another setting required when Google Analytics is loaded through GTM, or is the Consent Mode initialisation failing to load?

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #77282 by ced1870
Hi
Thank you for your feedback. Can you please give me an example of GTM code that you are using (please remove your private key if present in the code)

I will check by my side how to reproduce the issue
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #77283 by sarahhayesuk
Hi,

I tried adding the code to my reply, but I received the following message

"Access denied, unauthorized access.
If you think it's an error, please inform the webmaster to help him to adjust his security rules. Thank you."

Can I email you the code?

Sarah

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #77284 by ced1870
yes, it's a security check
you can contact me by email here
www.joomlack.fr/en/contact

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 month 5 days ago #77289 by ced1870
thanks for the email
I have released the 3.8.6 version to fix it, please install it and confirm that it's ok now

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #77293 by sarahhayesuk
Thank you. That has fixed the problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 365 guests and no members online