Consent Mode
-
Hi,
our ads manager has told us we need to configure consent mode with our google account,
any guides online show though tag manager etc,
but we use your plugin,
do you know how to set up consent mode with your plugin?
-
Thanks for your question!
our ads manager has told us we need to configure consent mode with our google account
My understanding that the consent mode is that you are like telling your site visitors that you’re tracking data to be used with ads, and you need the visitors consent to be tracked.
It’s not something that our plugin can do but you can try using a plugin like this: https://wordpress.org/plugins/uniconsent-cmp/
It’s said to be working for Google Ads Manager issue as well.
If you have any other questions, do not hesitate to let us know!
Hi,
thanks for coming back,
sorry when I said ads manager, I actually meant the person who manages our ads, not the program,
below is what they said, its code that needs to be added to our analytics as far as I know,
https://developers.google.com/gtagjs/devguide/consentis this possible through this plugin you are suggesting,
Thanks,
GavinHi @gavindelaney25,
is this possible through this plugin you are suggesting,
The Plugin is a third party plugin not developed and supported by us.
It looks like that plugin’s support page can be found here:
You could also work with a developer to customize your site.
so I spoke with the Plugin Devs of this sugeested plugin and they state the following,
‘You have to config the default behavior before loading your Google tags as described at Google’s docs, the CMP manages update automatically.’
any idea how to do that with your plugin?
Unfortunately
cmpmode is not an option in WooCommerce Google Analytics Integration by default.You can however modify code output using the
woocommerce_ga_classic_snippet_outputor thewoocommerce_gtag_snippetfilter as described in the documentation hereAlternatively, adding the additional data to the gtag can be done via JavaScript.
Hi,
thanks for this,
but we don’t use gtag only your plugin,
so how do we proceed with it?
Hey @gavindelaney25,
but we don’t use gtag only your plugin,
so how do we proceed with it?Our WooCommerce Google Analytics Integration extension will insert the gtag into your website. The documentation my colleague linked to explains how you can use a filter to alter the output.
Using that snippet, you would be able to add the consent settings from the documentation you linked to earlier to the gtag.
You could either add the snippet to your functions.php file if you’re using a child theme or you could use a plugin such as Code Snippets.
I hope that helps!
Kind regards,
-
This reply was modified 4 years, 6 months ago by
Martyn J. a11n.
-
This reply was modified 4 years, 6 months ago by
Martyn J. a11n.
Hi,
Thanks for that,do you know what to put in to the snippet then?
the below is correct?
gtag(‘consent’, ‘update’, {
‘ad_storage’: ‘granted’
});Sorry I just don’t know what to actually add to the code to make it work,
I’d like to backtrack a minute here so we’re sure we understand your initial query.
You’re looking to only allow tracking after consent has been given?
I found this older Issue that is open for the integration, does this match with what you’re looking for?
https://github.com/woocommerce/woocommerce-google-analytics-integration/issues/153
We’re not able to offer support for code customizations such as what you’ve mentioned in your recent replies.
When you reply to confirm exactly what you’re looking for, we can ask our developers for their advice about this one.
Thanks,
-
This reply was modified 4 years, 6 months ago by
The topic ‘Consent Mode’ is closed to new replies.