Skip to content

Commit

Permalink
API Use starter theme GoogleAnalytics template
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Oct 31, 2017
1 parent 98cea80 commit 1abde3f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions templates/Page.ss
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
<% require javascript('//code.jquery.com/jquery-1.7.2.min.js') %>
<% require javascript('themes/starter/dist/js/main.js') %>
<% require javascript('themes/watea/dist/js/main.js') %>
<% if $SiteConfig.GACode %>
<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', '$SiteConfig.GACode', 'auto');
ga('send', 'pageview');
</script>
<% end_if %>
<% include GoogleAnalytics %>
</body>
</html>

0 comments on commit 1abde3f

Please sign in to comment.