index: add Google Analytics scripts

This commit is contained in:
Mikaela Suomalainen 2013-04-16 14:04:09 +03:00
parent 9b5993e47a
commit ef69beed23
2 changed files with 26 additions and 0 deletions

View File

@ -64,5 +64,18 @@ Social media: <a href="https://twitter.com/Mkaysi"><img src="https://twitter.com
</script> </script>
<script src="http://cdn.adf.ly/js/link-converter.js"></script> <script src="http://cdn.adf.ly/js/link-converter.js"></script>
</html> </html>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-40171169-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

View File

@ -84,3 +84,16 @@ Referral links: <a href="http://db.tt/y7fPYse"><img src="https://www.dropbox.com
</script> </script>
<script src="http://cdn.adf.ly/js/link-converter.js"></script> <script src="http://cdn.adf.ly/js/link-converter.js"></script>
</html> </html>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-40171169-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>