Unfortunately it’s not work properly, I am using a GDPR cookie plugin but your plugin adds gtag and doesn’t talk to the cookie acceptance behaviour
Is there a way around this? I tried to remove the GTAG ID from the plugin but then it stops tracking purchase information etc
We are currently working on an update that will make the extension more flexible when working with third-party cookie acceptance plugins including the ability to disable the default consent state set by Google Analytics for WooCommerce.
We will update this thread with further information when we release the new version.
I am adding the default consent state in my wordpress theme, then on acceptance of the cookies through Moove it updates the consent mode and adds in GA.
I’m not sure yet, what’s the problem on your site. Could you share the URL?
Just a guess: If you’re setting your default state by yourself in the theme, then maybe the problem is GA4W overwrites it. You can use woocommerce_ga_gtag_consent_modes filter to set the GA4W’s mode to what you need.
Do you know how Moove updates the consent mode? and what do you mean by “it adds in GA”?
From my brief testing, it seems that GDPR Cookie Compliance’s gtag('consent','update'...) comes too late after we already track the view_item_list and other page-load events. The update it long after DOM content is ready and the whole document is loaded. Runtime events are working fine.
I even tried tweaking the GA4W code, to track its events async 1ms after window load event, but still, it was too early for GDPR Cookie Compliance’s update :/
We’re preparing another release with slight improvement towards integrations, but I’m afraid we need a bit more investigation to solve this one.
Please let me know if it helps, or if you could give more details.
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Consent Mode Issue’ is closed to new replies.