brianspurling
Forum Replies Created
-
Sorry, bad timing. I’ve just switched the site back to soft-opt in! So it’s not going to help you.
But in answer to your question, yes, I pasted the scrip straight from GA.
I.e.
<!– Global site tag (gtag.js) – Google Analytics –>
<script async src=”…”>
…
</script>Yes, sorry, not very helpful of me!
Here’s what seemed to work for me:
– I removed (“turned off”) the existing mechanism that was being used for embedding the GA script into my pages (it was a plugin built into my WP theme)
– I pasted the GA script into the “Script blocking” > “Head” section of Cookie Notice’s settings pageAnd that, I think, was it!
My understanding is that if you want Cookie Notice to control when GA cookies are created, you must let Cookie Notice take care of the injection of the script.
But this is all just guess work. It seems to work, but perhaps there’s something else going that I missed.
Perhaps this thread is relevant: https://wordpress.org/support/topic/script-blocked-field/ ??