Project

General

Profile

Actions

Task #2390

closed

Askbot is not being measured by PIWIK

Added by Olivier Hallot over 6 years ago. Updated over 6 years ago.

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

100%

Tags:

Description

Askbot is not being measured by PIWIK.

All figures and graphs are zero and flat.

Actions #1

Updated by Florian Effenberger over 6 years ago

  • Target version set to Pool
Actions #2

Updated by Guilhem Moulin over 6 years 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 :-)

Actions

Also available in: Atom PDF