Project

General

Profile

Task #2390

Askbot is not being measured by PIWIK

Added by Olivier Hallot about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Askbot
Target version:
Team - Pool
Start date:
Due date:
% Done:

100%

Estimated time:
Tags:
URL:

Description

Askbot is not being measured by PIWIK.

All figures and graphs are zero and flat.

History

#1 Updated by Florian Effenberger about 2 months ago

  • Target version set to Pool

#2 Updated by Guilhem Moulin about 2 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Unfortunately the javascript code was never added to our template. I just added the following snippet:

<script type="text/javascript">
  var _paq = _paq || [];

  _paq.push(["trackPageView"]);
  _paq.push(["enableLinkTracking"]);

  (function() {     
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.documentfoundation.org/";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "55"]);
    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>

and metrics start flowing in :-)

Also available in: Atom PDF