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

Hello,

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 || [];
 	_paq.push(["trackPageView"]);
 	_paq.push(["enableLinkTracking"]);
 	(function(){
 		var u="//statsxxxx.xxx/pw/";
 		_paq.push(["setTrackerUrl", u+"piwik.php"]);
 		_paq.push(['setSiteId', 2]);
 		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="http://statsxxxx.xxx/pw/piwik.php?idsite=2" style="border:0;" alt="" /></p>
 </noscript>

I’m using a domain statsxxxx.xxx for my piwik installation and my sites have one domain for each one as domain.xxx. 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.
Manuel

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!