Quantcast
Viewing all articles
Browse latest Browse all 4243

Error in url / tracking code (no replies)

hi there,

i installed piwik on a new server with some clients. but there is an error at tracking code, he gave me back:

<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//statistik.henit.de/";
    _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="//statistik.henit.de/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->

it always sets my subdomain https://statistik.henit.de as a normal folder (see above)

i've tried installs with https://, with http://, with a normal folder (https://henit.de/piwik/), as another subdomain.... confusing!

the same config (nginx, php5-fpm) is running actually on another server.... everything is fine.

Any idea?

regards henning

Viewing all articles
Browse latest Browse all 4243

Trending Articles