Hi guys,
I’m new to this form but I’ve been using piwik for some months already and it’s great.
I’ve got an issue in tracking visitors on https, this is my configuration:
Piwik installed on piwik.xxxx.com
Website1 running on www.yyyyy.com
Purchase process running on a different domain with HTTPS zzzzz.com
I’ve no problem in tracking visitors on the website but, since the ecommerce is on a different domain (when you click on Buy a new window opens).
I don’t have a valid ssl certificate for domain analytics.xxxx.com but I’ve one for secure.xxxx.com which resides on the same server so I’ve created a symbolic link to piwik.php on this domain and it lookks like it works. If I open secure.xxxx.com/piwik.php in HTTPS I get “Piwik is a free open source web analytics alternative to Google analytics.” while at secure.xxxx.com/piwik.php?idsite=7, always in HTTPS, I get a blank page.
I’ve installed the following tracking code on zzzzz.com (HTTPS) but piwik doesn’t track anything:
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://secure.xxxx.com/" : "http://piwik.xxxx.com/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 7);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="https://secure.xxxx.com/piwik.php?idsite=7" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tag -->
Do you have any idea of how to make it work?
Thanks,
Haran