I'm using Piwik for user tracking on my server, but i can't get chirpy to use the java code. The Piwik documentation said to enter it in the footer, so i entered it into src/templates/default/_foot.html just bevor the /body tag, as usual. But Piwik won't show visitors.
What do i have to do? This is an example code of the one i'm using:
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{$PIWIK_URL}" : "http://{$PIWIK_URL}");
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", {$IDSITE});
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script>
<!-- End Piwik Code -->