Do not track anymore for a site changed from http: to https: (ssl)


I’ve tried to find in the forum a clear fix for my issue but I cant found it (sorry if it exists).

Some weeks ago I changed one of my domains from http to https (ssl) and added a dedicated ip. From this moment my Piwik installation do not track my site anymore. I’m using this code in all of my sites and pages to track:

 <script type="text/javascript">
 	var _paq = _paq || [];
 		var u="//";
 		_paq.push(["setTrackerUrl", u+"piwik.php"]);
 		_paq.push(['setSiteId', 2]);
 		var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0];
 		g.async=true; g.defer=true;
 <noscript><p><img src="" style="border:0;" alt="" /></p>

I’m using a domain for my piwik installation and my sites have one domain for each one as I do not have piwik installed into any subdoain neither I’m tracking none site installed into a subdomain.

All other of my sites are being tracked Ok, as ever but not my one ssl converted.

Please, can you help me with some advice to solve this?

Thanks in advance.

Please, anybody who could help me with this?

Does your piwik instance (server) is accessible over https?

@lio77, thanks for your attemption.

No, my piwik installation is over http not on https.

requests from https websites go through https, so your piwik installation must be able to receive these kind of requests. Install ssl cert for piwik domain. It can’t be selfsigned though.

1 Like

Ok, I’ll ask for it to my hosting service.

I guess that this kind of advice should be clearly showed while Piwik Install to avoid waste of time and historic data by users. If it is mencioned yet then I don’t saw in my install (sorry if it is the case).

Thank you very much for your help!