Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Tracking Code Help (6 replies)

$
0
0
I recently took over Piwik Management for my company. I updated Piwik on our servers and am trying to push out the new tracking code.

This is what I have: Doesn't seem to be tracking users. Any help would be greatly appreciated.

Thanks-

Ian


<!-- Begin Piwik Tracking Code -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(["trackPageView"]);
  _paq.push(["enableLinkTracking"]);
  _paq.push(['setCookieDomain', '*.childbirthinjuries.com']);
  _paq.push(['setCustomVariable', 1, 'ConvertroID',$CVO.getCode(),'visit']);

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


Viewing all articles
Browse latest Browse all 4243

Trending Articles