diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-11-18 11:07:43 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-11-18 11:07:43 +0000 |
commit | c82b02d98ee6249b7a706f46912ef25d79e16fd1 (patch) | |
tree | abb9dc8be4b7b28bd15878e4f9f3abee920658d0 | |
parent | 5696fb6f4f4a5cc1436d74c3d282bed243fa0602 (diff) | |
download | mediawiki-c82b02d98ee6249b7a706f46912ef25d79e16fd1.tar mediawiki-c82b02d98ee6249b7a706f46912ef25d79e16fd1.tar.gz mediawiki-c82b02d98ee6249b7a706f46912ef25d79e16fd1.tar.bz2 mediawiki-c82b02d98ee6249b7a706f46912ef25d79e16fd1.tar.xz mediawiki-c82b02d98ee6249b7a706f46912ef25d79e16fd1.zip |
add google analytics tracking code
-rw-r--r-- | skins/cavendish.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/skins/cavendish.php b/skins/cavendish.php index a7c7ea8..d53fe9c 100644 --- a/skins/cavendish.php +++ b/skins/cavendish.php @@ -327,6 +327,18 @@ a:visited { color: #5a3696; } --> <?php endif; ?> +<script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18603191-1']); + _gaq.push(['_setDomainName', 'mageia.org']); + _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> </body></html> <?php wfRestoreWarnings(); |