Am I suppose to do something else other then check the box of “google consent mode v2” in the plugin?
No
Do I need some installation in GTM in order to get this work?
No. But what GTM code are you using, can you post the snippet?
Because it´s about two weeks ago I switched the consent mode on in the plugin but I still get the GA4 warning for the consent signals not being detecting.
Have you tested to accept cookies yourself and see if the tracking goes through to GTM? Maybe it’s a caching issue?
And one other thing – why does it not work to switch to Grandma mode anymore? Cleared cache in WP and browser but no matter what choice I make my banner stays the same? Workin on Elementor Pro and Hello Elementor.
I just tried the Grandma mode in my testing environment, no trouble. Will install Elementor Pro and Hello elementor to test it out later.
Now I tried Grandma mode with Elementor Pro and Hello elementor. Works just fine.
Thread Starter
diddiz
(@diddiz)
I have GTM installed by functions.php and all other signals from GTM work just fine, so my guess is the installation ok?
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager -->
<?php }
// Add Google Tag Manager code immediately below opening <body> tag
add_action( 'genesis_before', 'google_tag_manager_body' );
function google_tag_manager_body() { ?>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
Thread Starter
diddiz
(@diddiz)
When the Grandma mode is on for me the “deny” button is red and a large cookie is visible at the top, right corner. When Grandma mode is off the cookie is gone and “deny” button is black. I make no other changes.
Sadly I don´t know how to show you a picture.
But it does not look like last time I used it anyway.
When accepting all cookies – after clearing cache in browser – GTM initiates and get some tags to fire, but the consent is still not configured and datalayer states:
{event: “gtm.init_consent”, gtm: {uniqueEventId: -1}}
You can use an image service such as https://imgbb.com/upload to upload an image and then post the link here.
Thread Starter
diddiz
(@diddiz)
As for the problem I don´t think is nessery, I see no Grandma, only a cookie.
What about my main concern – consent mode that does not seem to work? Do you think my installation of GTM is the problem?
There is a problem with Google Consent mode at the moment. I will try to fix it in the next release.
Check out the latest release (2.24), it should solve your problem.
Thread Starter
diddiz
(@diddiz)
Great, I hope it will work soon, because it´s not directly after updating my site.
Waiting for GA to update, as usual I guess it could take up to 48 hours.
Thread Starter
diddiz
(@diddiz)
Thank you, now GA is marked green *yeay* and I´m happy to see that.
Regarding the styling issue I have the “Grandma mode” active but sadly there is no Grandma. I will not persist but I really do not understand why it would not work properly. She´s so cute 🙂
Tnx for resolving the main issue!
GA: Sweet!
Grandma: If you can share a link where it’s active, I can take a look.
Thread Starter
diddiz
(@diddiz)
That’s what it’s supposed to look like. If you click “Settings”, grandma appears.
Thread Starter
diddiz
(@diddiz)
Now I´m a bit confused…..Where is Grandma? You see no grandma or milk on my page in the video. I see only cookies…..
Like I said, it´s no big deal, but I´m confused why it doesn´t work for me and how you can see things I don´t?
I have activated it, it´s been in “Grandma mode” since last week….
-
This reply was modified 2 years, 2 months ago by
diddiz.
-
This reply was modified 2 years, 2 months ago by
diddiz.
In the modal, just click the “Settings” button. Or “Inställningar” in Swedish.