Changes between Initial Version and Version 1 of mfpl-piwik


Ignore:
Timestamp:
Mar 20, 2014, 5:35:02 PM (11 years ago)
Author:
Dana
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mfpl-piwik

    v1 v1  
     1== May First Piwik Admin ==
     2
     3We have setup a May First Piwik to use across our sites. You can access the super admin account in keyringer to create a user account for yourself, as well as, add our websites.
     4
     5=== Piwik Integrations ===
     6
     7Piwik has many add-ons that can be used, they are here: http://piwik.org/integrate/
     8
     9
     10==== JS Tracking Code ====
     11
     12The following JS can also be used:
     13
     14{{{
     15<!-- Piwik -->
     16<script type="text/javascript">
     17  var _paq = _paq || [];
     18  _paq.push(["trackPageView"]);
     19  _paq.push(["enableLinkTracking"]);
     20
     21  (function() {
     22    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.mayfirst.org/";
     23    _paq.push(["setTrackerUrl", u+"piwik.php"]);
     24    _paq.push(["setSiteId", "1"]);
     25    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
     26    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
     27  })();
     28</script>
     29<!-- End Piwik Code -->
     30}}}