EPrints Technical Mailing List Archive

Message: #08064


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Google Analytics with eprints


Hi all,

Does anyone use google analytics on eprints 3.4.1? I copied and paste this code below into the <HEAD> of every web page that I want to track but not working. Any help would be greatly appreciated.

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=""></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-XXXXXXXXX-1');
</script>

Regards,
Zul