Changes between Version 3 and Version 4 of mfpl-piwik
- Timestamp:
- May 29, 2014, 3:01:44 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mfpl-piwik
v3 v4 22 22 var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.mayfirst.org/"; 23 23 _paq.push(["setTrackerUrl", u+"piwik.php"]); 24 _paq.push(["setSiteId", " 1"]);24 _paq.push(["setSiteId", "#"]); 25 25 var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; 26 26 g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); … … 30 30 }}} 31 31 32 In this line replace # with the side id # {{{_paq.push(["setSiteId", "#"]);}}} 33 32 34 ==== Image Tracking Link ==== 33 35 … … 36 38 {{{ 37 39 <!-- Piwik Image Tracker --> 38 <img src="http://analytics.mayfirst.org/piwik.php?idsite= 1&rec=1" style="border:0" alt="" />40 <img src="http://analytics.mayfirst.org/piwik.php?idsite=#&rec=1" style="border:0" alt="" /> 39 41 <!-- End Piwik --> 40 42 }}} 41 43 44 In this case replace # with side id # on {{{idsite=#}}}