Outlink Tracking Issue


(tparham) #1

Hi, I’m new to Piwik but hoping to use it a lot.

I’m having an issue with outlink tracking. This is for a very simple page with no javascript, frameworks, etc. All links are basic link and outlink tracking only works on the ones that have target="_blank".

Also, this is page is linked to from external site and it does not show as a referrer when coming from that site.

Here’s my tracking code on the page:

    <!-- Page Tracking --> 
<script type="text/javascript"> 
var pkBaseURL = (("https:" == document.location.protocol) ? "mdgi.com/analytics/" : "mdgi.com/analytics/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript"> 
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="mdgi.com/analytics/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript> 
<!-- /Page Tracking -->

(vipsoft) #2

I looked at mdgi.com, and it’s Flash-based. That’ll require an ActionScript port of the PiwikTracker.

If you have another site for us to look at, post the URL and we’ll take a look.


(tparham) #3

Thanks very much for the reply. I am actually not tracking mdgi.com, the url for the site I’m having the issue with is Avaya IP Office - Small Business Phones from Dell