bodleian / oxford-explorer

The culmination of our previous R&D into the Oxford work. Now we have a Thing.
0 stars 2 forks source link

Add basic analytics #64

Closed george08 closed 7 years ago

george08 commented 7 years ago

Little GA bug or similar.

infovore commented 7 years ago

@george08 easily done - drop the GA code in here if you want and I can add it.

george08 commented 7 years ago

Thanks @infovore.

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-52335255-6', 'auto');
  ga('send', 'pageview');

</script>
infovore commented 7 years ago

OK, @george08, that's at the bottom of every page and deployed.

george08 commented 7 years ago

Thank you.