website: remove GA snippet - Segment handles this
This commit is contained in:
parent
bff998390e
commit
9b6026153b
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue