diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-20 11:25:55 +0100 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-20 11:25:55 +0100 |
commit | e1ad26b8ee0fc229f0228e7a9950630952b24e92 (patch) | |
tree | dd556981538f0f16c7c6ad85d16a3495f2d42ccb /views/footer.ejs | |
parent | worked on the new loginscreen (diff) | |
download | Divid-e1ad26b8ee0fc229f0228e7a9950630952b24e92.tar.gz |
added google webanalytics
Diffstat (limited to '')
-rw-r--r-- | views/footer.ejs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/views/footer.ejs b/views/footer.ejs index d633ff7..f475887 100644 --- a/views/footer.ejs +++ b/views/footer.ejs @@ -8,10 +8,12 @@ <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.0.min.js"><\/script>')</script> <script src="/js/bootstrap.min.js"></script> <script> - var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']]; - (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; - g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; - s.parentNode.insertBefore(g,s)}(document,'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-39435674-1', 'divid.no'); + ga('send', 'pageview'); </script> </body> </html> |