We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

piwik statics | Forum

Topic location: Forum home » Support » General Questions
Jeroen van Dijk
Jeroen van Dijk Oct 29 '13

Hello, i have piwik statics installed but i need to add a javascript tracking code. On wich page can i add this code on oxwall? Does anyone know?

 

<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(["trackPageView"]);
  _paq.push(["enableLinkTracking"]);

  (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://............./";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "1"]);
    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Piwik Code -->

The Forum post is edited by Jeroen van Dijk Oct 29 '13
fbkca
fbkca Oct 29 '13
Try in your:


www.example.com/admin/settings/page


Probably can go into the head section...

dave Leader
dave Oct 30 '13
+1 fbkca  :)