Piwik doesn't count conversions


(sucka) #1

Hy,
Piwik doesn´t count conversions for me.
My code looks like that:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
</head>

<body>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.my-purplehills.com/piwik/" : "http://www.my-purplehills.com/piwik/");
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();
piwikTracker.trackGoal(4);
} catch( err ) {}
</script><noscript><p><img src="http://www.my-purplehills.com/piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->
</body>
</html>

I included the tracking tag in it (piwikTracker.trackGoal(4)style_emoticons/<#EMO_DIR#>/wink.gif

Any idea what is goin wrong here?

Thanks


(Matthieu Aubry) #2

Maybe this is the same as this issue? http://dev.piwik.org/trac/ticket/1108