View Single Post
  #3  
Old 10-23-2014, 05:28 AM
 
nation nation is offline
 

Newbie
  
Join Date: Sep 2004
Location: USA
Posts: 9
 

Default Re: Insert Tracking Code In All Pages

I copied the provided code like this that pulls from another site, added it to the custom js area under look and feel, then rebuilt cache and it did not work. Maybe this will help

<!-- Custom JS -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//tracker.com/";
_paq.push(['setTrackerUrl', u+'clienttype.php']);
_paq.push(['setSiteId', 27]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//tracker.com/clienttype.php?idsite=27" style="border:0;" alt="" /></p></noscript>
<!-- End Custom JS -->


Or a detailed explanation instead of a link, thank you
Reply With Quote