Third party GA snippet not written to header
-
Hello,
I have your plugin installed and fully configured however after running checks I have found that my GA snippet (as below) along with my UA-code is not loaded into the visitors browser.
I have a child theme so I have tried to eliminated the possibility that it can’t find the head.php by copying across my parent theme header.php reflecting the same structure.
How does the script get injected or loaded?
Any help would be much appreciated as the opt in does not seem to work for our site
I will do the needful and carry out a clash check on the whole site later but failing that I would appreciate any pointer if a clash check shows nothing up.
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-x"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-xxxxxxxx-x');
</script>
The page I need help with: [log in to see the link]
- The topic ‘Third party GA snippet not written to header’ is closed to new replies.