summaryrefslogtreecommitdiffstats
path: root/skins
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-07-23 10:51:01 +0000
committerRomain d'Alverny <rda@mageia.org>2012-07-23 10:51:01 +0000
commit8333c0d308518446b163b862d659956d1e1149a6 (patch)
treecf13147b05c1e1ca8a18fca0501169fb57eeebf9 /skins
parent412e4f1db1ae136282a5a27e543d5cfc5286d3ec (diff)
downloadmediawiki-8333c0d308518446b163b862d659956d1e1149a6.tar
mediawiki-8333c0d308518446b163b862d659956d1e1149a6.tar.gz
mediawiki-8333c0d308518446b163b862d659956d1e1149a6.tar.bz2
mediawiki-8333c0d308518446b163b862d659956d1e1149a6.tar.xz
mediawiki-8333c0d308518446b163b862d659956d1e1149a6.zip
re-add analytics tracker
Diffstat (limited to 'skins')
-rw-r--r--skins/Vector.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/skins/Vector.php b/skins/Vector.php
index 9cadfba..4cd2eba 100644
--- a/skins/Vector.php
+++ b/skins/Vector.php
@@ -599,6 +599,17 @@ class VectorTemplate extends QuickTemplate {
<!-- Debug output: <?php $this->text( 'debug' ); ?> -->
<?php endif; ?>
</div>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-18603191-2']);
+ _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>
<script src="//nav.mageia.org/js/"></script>
</body>
</html>