Activé Google Analytics
authorEric Mc Sween <eric.mcsween@gmail.com>
Tue, 16 Nov 2010 19:53:09 +0000 (14:53 -0500)
committerEric Mc Sween <eric.mcsween@gmail.com>
Tue, 16 Nov 2010 19:53:09 +0000 (14:53 -0500)
Demande #59

auf_savoirs_en_partage/templates/container_base.html

index c1a56c2..386ee59 100644 (file)
         </script>
         <![endif]-->
         {% block extra-style %}{% endblock %}
+
+        <!-- Google Analytics -->
+        <script type="text/javascript">
+            var _gaq = _gaq || [];
+            _gaq.push(['_setAccount', 'UA-12691855-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>
     </head>
 
     <body>