website: remove GA snippet - Segment handles this

This commit is contained in:
Mike Wickett 2018-10-23 11:34:51 -04:00 committed by RJ Spiker
parent bff998390e
commit 9b6026153b

View file

@ -46,17 +46,6 @@
<main><%= yield %></main> <main><%= yield %></main>
<hashi-footer _data="<%= encode(dato.global_footer) %>"></hashi-footer> <hashi-footer _data="<%= encode(dato.global_footer) %>"></hashi-footer>
<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-101788060-1', 'auto');
ga('send', 'pageview');
ga('send', 'pageview', location.pathname);
</script>
<%= yield_content :scripts %> <%= yield_content :scripts %>
<script src='/js/main.js'></script> <script src='/js/main.js'></script>