Hi,
Thanks for the reply. I’m still unsure whether your plugin is compatible with Google’s consent mode though.
I’m referring to this feature here: https://developers.google.com/tag-platform/devguides/consent
The information on your page only talks about the tracking scripts being fired once consent is given which is how we currently have it configured, but we want to fire the scripts prior to the user clicking accept but with the below parameters:
gtag(‘consent’, ‘default’, {
‘ad_storage’: ‘denied’,
‘analytics_storage’: ‘denied’
});
Then once the user gives consent the below should be fired:
function consentGranted() {
gtag(‘consent’, ‘update’, {
‘ad_storage’: ‘granted’,
‘analytics_storage’: ‘granted’
});
We could code it all manually, but for it to work we need your accept buttons to include onclick=”consentGranted”.
Can you clarify if your plugin is fully compatible with Consent Mode, maybe I’ve misunderstood something. If it’s not, we’re being asked by the client to explore alternative cookie control providers.
Kind regards, Colin