How to track http and https


(Mike Murphy) #1

I am having trouble getting Piwik working on the secure part of my website. I have the same domain with http:// and https://. Same domain name and both on the same server. Piwik works fine for http://domain.com[/url], but I can’t get it to work for [url=https://domain.com]https://domain.com. Piwik is installed in the httpdocs folder on the server, do I need to install it in the httpsdocs folder as well. I have the tracking code on all pages in http and https.


(vipsoft) #2

You need to change your host configuration in apache, so that https uses the same directory. Sorry, I can’t be more specific.


(TKofl) #3

Maybe you have to define the domain with http and https under URLs in the backend of piwik?