Skip to content

Commit

Permalink
placed GA code entirely into layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fab committed May 14, 2013
1 parent b1cb95e commit 16ce875
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 8 additions & 1 deletion app/views/layout.erb
Expand Up @@ -14,7 +14,14 @@
<script type="text/javascript" src="//api.filepicker.io/v1/filepicker.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="/js/application.js"></script>
<script type="text/javascript" src="/js/ga.js"></script>
<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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40906602-1', 'dbcmemes.com');
ga('send', 'pageview');
</script>

<title></title>
</head>
Expand Down
7 changes: 0 additions & 7 deletions public/js/ga.js

This file was deleted.

0 comments on commit 16ce875

Please sign in to comment.