Piwik Tracking Code Causing Browser Security Notices On Clients Website

I have Piwik installed on a (non-secure) server and it tracks all my Clients websites.

My problem is that one Client has an SSL for their website (https) so when the site loads in Internet Explorer and Google Chrome, a notice appears stating that ‘some scripts on this web page are not secure’ - this is caused by the Piwik JavaScipt referring to our non-secure server where Piwik is installed.

My question is, can Piwik be configured in any way so that the tracking code can be installed on a website with an SSL without the secutity notices appearing?

Thanks in advance for any advice/suggestions.

Hmm, normally Piwik connects to https//SERVER when the protocol is https:

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://SERVER/piwik/" : "http://SERVER/piwik/");

If you have no https piwik installation, the only thing that can be done is getting a certificate. You can’t affect the browser warning in any way.


Many thanks - I susepcted as much.