I have a couple questions, regarding the Drupal plugin for Cookie Control, and proper implementation. I'm hoping I'm just overthinking, or missing something...
First, we already have a Google Analytics plugin for this site, adding the GA code to the page.
When I drop in a GA code snippet in Cookie Control, it appears duplicated in the code, because of the previous module? Does Cookie Control completely replace the need to use the Google Analytics Module? Or do both need to be in place?
Also, I want to be sure I'm dropping in the correct code. The module says to not use <script> tags, but I think doing so may cause a problem with me posting on our site for SSL? In Google Analytics, one of the script tags contains the https url to load? See below:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-123123123-0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-123123123-0');
</script>