This looks perfect, but only misses one thing: that scrolling may be considered as implicit consent, and then fire GTM.
Else, in most cases, one loses the landing page in GA reports.
Is there a way to do that?
I like to show adsense only after implicit/explicit consent. Therefore I combined the adsense script with the script mentioned in the installation files. Sadly it doesn’t seem to work. Can you please help me tweek the script to get this working:
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Oxxxxxxxxxxg-responsive –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxxxxxxx”
data-ad-slot=”xxxxxxxxxx”
data-ad-format=”auto”>
<script>
$(document).ready( function() {
if(hasHayonaCookieConsent()) {
(adsbygoogle = window.adsbygoogle || []).push({});
}
} );
</script>
Hi Leon,
Even though at this moment I only have a few cookies/trackers on my site t-fabriek.nl (Adoby Typekit, WordPress Stats, Google Analytics), I need some form of cookie consent on my site. I installed Hayona Cookie Consent, have a Google Tag Manager account and inserted the code for that manually in the header.php file of my child theme (based on Twenty Thirteen).
My site continues to work, but I don’t get any Hayona-banner displayed.
Questions:
1) Is your plugin supposed to work with a child theme?
2) Is DuracellTomi’s plugin required? It seems as though my manual installation of Google Tag Manager-code is working without it.
3) I added Adobe Typekit-code myself, manually, before I created a GTM-account. So, I have no tracking scripts to add, yet. And WordPress Stats is done via Jetpack, so outside my control. Does that matter.
Thanks in advance,
Jeroen Teeuwisse.
]]>Hi there,
I’m curious if my website needs a cookie statement to comply with the EU Cookie law.
I use basic Google Analytics (no google tag manager). Just to view the amount of visitors on my website and I use Yumpu for displaying my ‘papers’, these are embedded.
Do I even need a cookie statement? I’m not 100% sure that it’s needed because I don’t gather personal data or any specific user data.
Hoping you guys can give some insights in this.
Kind regards,
Vincent
We use the Hayona Cookie plugin in a Multisite environment. The first website has no problems loading the cookiebar. The second does not show the cookiebar, when I look at my console I see ‘Uncaught SyntaxError: Unexpected token ,
Ergo, the timestamp is empty. How do I fix this?
In some countries like France, Google Analytics should be set only with user consent. I understand ti is possible here toi ask consent. But will it be possible toi enable the script after consent? Or only after page reloads?
]]>