Hi there,
We use Piwik for several sites, mostly Wordpress ones.
By using WP-Piwik we implement the tracking code.
This works perfect for most sites, except for http://openlab.nl
The tracking code can be found in the HTML of the site but Piwik does not recognize the recognize the code for some reason. We use this code:
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//netnotion.nl/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.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//netnotion.nl/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
Can someone help us out?
Kind regards,
Hubert