IRC/Supybot: restore Google Analytics.

This commit is contained in:
Mikaela Suomalainen 2014-03-27 15:33:32 +02:00
parent b80fde18be
commit 2dca1a190c
2 changed files with 26 additions and 0 deletions

View File

@ -88,5 +88,18 @@ Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">c
<!-- vim : set ft=html -->
</body>
</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

@ -159,3 +159,16 @@ qus.</a>
<!-- vim : set ft=html -->
</body>
</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>