Google Analytics in Hugo, theme=osprey-delight

Hey folks, i’ve added my tracking id to my config file and everything looks like its matching up. Yet I haven’t seen any realtime data come in when I launch

googleAnalytics = “G-12345689” (example)


When i deploy to firebase, i do see a script tag for ga in my main index.html file, here it is below -

<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
	ga('create', 'G-12345689', 'auto');
	ga('send', 'pageview');
<script async src=''></script>

What am i missing?

I am afraid that we cannot offer support for GA in this forum.

Please try StackOverflow and similar.

1 Like