Hi all
Now piwik will not count if you visited your website less than 30 minutes ago. But some special webpage which I want to count every visitor , pageview … etc
now i have create js code & put it into my page as below but not work
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://abc.com/" : "http://abc.com/" );
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.setCustomVariable(
1,
"book",
"The White Sister"
);
piwikTracker._setVisitorCookieTimeout( 0 );
piwikTracker._setSessionCookieTimeout( 0 );
piwikTracker._setReferralCookieTimeout( 0 );
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://abc.com/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
Any solution?
Tks for your help!