Add piwik tracking code master
authorSteffen Gebert <steffen.gebert@typo3.org>
Wed, 4 Nov 2015 23:25:15 +0000 (00:25 +0100)
committerSteffen Gebert <steffen.gebert@typo3.org>
Wed, 4 Nov 2015 23:25:15 +0000 (00:25 +0100)
Change-Id: Ibb50982906404a58d15bec80c6be698abb15ffdc

static/indexTemplate.html

index f30a81d..c1d787a 100644 (file)
             </div>
             
             <footer>
-                <div>&copy; 2012 TYPO3 Association. All rights reserved.</div>
+                <div>&copy; 2012-2015 TYPO3 Association. All rights reserved.</div>
             </footer>
         </div>
-        
+<!-- Piwik -->
+<script type="text/javascript">
+  var _paq = _paq || [];
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//piwik.typo3.org/";
+    _paq.push(['setTrackerUrl', u+'piwik.php']);
+    _paq.push(['setSiteId', 31]);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<noscript><p><img src="//piwik.typo3.org/piwik.php?idsite=31" style="border:0;" alt="" /></p></noscript>
+<!-- End Piwik Code -->
     </body>
 </html>