Hi All,
I am using piwik in my typo3 site. Piwik is able to track normal page visits and I can see the statistics. Now, when I use piwik for campaign, it is not working at all, I see no reports in Referrers - Campaigns at all. But can see page visits in Action - Pages.
I am trying to test the user path in a site, eg s/he can click a link or a button in page source to land to page destination.
Here, is my simple html
<title> This is piwik campaign testing </title>
<body>
<p> This is piwik campaign testing</p>
<p>
<a href=“http://localhost/mysite/index.php?id=75&piwik_campaign=testClick&piwik_kwd=clickLink”>Goto Login Using Link</a>
<p>
<a href=“http://localhost/mysite/index.php?id=75&piwik_campaign=testClick&piwik_kwd=clickButton”>
<input type=“submit” value=“Click to go Login Page” />
</a>
</p>
</body>
</html>
and this is my piwik tracking code
<!-- Piwik -->
<script language="javascript" src="http://localhost/mysite/typo3conf/piwik/piwik/piwik.js" type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
try {
var piwikTracker=Piwik.getTracker("http://localhost/mysite/typo3conf/piwik/piwik/piwik.php",1);
piwikTracker.enableLinkTracking();
piwikTracker.trackPageView();
} catch(err) {}
/* ]]> */
</script>
<noscript><p><img src="http://localhost/mysite/typo3conf/piwik/piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- /Piwik -->
I can’t figure out why it is not working or if I am doing sth wrong somewhere ?
Any tips or ideas would be really helpful.
Thanks very much.