Index: trunk/wikistats/dumps/WikiReportsScripts.pm |
— | — | @@ -4,6 +4,22 @@ |
5 | 5 | { |
6 | 6 | my $format = shift ; |
7 | 7 | |
| 8 | +$out_google_analytics = <<__GOOGLE_ANALYTICS__ ; |
| 9 | +<script type="text/javascript"> |
| 10 | + |
| 11 | + var _gaq = _gaq || []; |
| 12 | + _gaq.push(['_setAccount', 'UA-25704186-1']); |
| 13 | + _gaq.push(['_trackPageview']); |
| 14 | + |
| 15 | + (function() { |
| 16 | + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 17 | + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 18 | + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 19 | + })(); |
| 20 | + |
| 21 | +</script> |
| 22 | +__GOOGLE_ANALYTICS__ |
| 23 | + |
8 | 24 | $out_script_embedded_imageformat = <<__SCRIPT_EMBEDDED2__ ; |
9 | 25 | |
10 | 26 | <script> |