Https


(Ollie) #1

Hi,

I added the javascript part out from the Piwik settings on my website.
My website is SSL encrypted. When i open the website it says Javascript error in the following line:
piwik_url = pkBaseURL + “piwik.php”;
piwik_log(piwik_action_name, piwik_idsite, piwik_url);

I also dont get any information on the Piwik.
Any suggestions?

thanks


(dseawel) #2

I am experiencing the same issue as well


(Matthieu Aubry) #3

Can you please let us know your website URL where we can see the JS error?

Also, please make sure your piwik javascript code looks like:

<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{$piwikUrl}" : "http://{$piwikUrl}");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
[........]