I installed the piwik installation. and copied de tracking code before the /body tag. Anyway piwik does not recognise any users.
If I try the code in the browser (http://www.festivalvocallis.nl/piwik/piwik.php?idsite=1&rec=1) then piwik is traking.
Well I want to use the tracking code but it is not functioning so far. What I'm doing wrong?
The used trackingcode is:
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() { var u=(("https:" == document.location.protocol) ? "http://www.website.com/piwik/");
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="http://www.website.com/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
If I try the code in the browser (http://www.festivalvocallis.nl/piwik/piwik.php?idsite=1&rec=1) then piwik is traking.
Well I want to use the tracking code but it is not functioning so far. What I'm doing wrong?
The used trackingcode is:
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() { var u=(("https:" == document.location.protocol) ? "http://www.website.com/piwik/");
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="http://www.website.com/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->