SSL and Goals

Hi,

I have been fiddling around for several days to get goaltracking to work in my oscommerce shop. I eventually found the problem:

A goal like a purchase in an online store is usually in SSL. Piwik assumes that the ssl address of piwik is the same as the normal piwik url. That is not necessarily the case. You should check in the javascript code that you embedded in your pages that the ssl url is correct. Look for this line:

  var pkBaseURL = (("https:" == document.location.protocol) ? "https://ssl_url/piwik/" : "http://normal_url/piwik/");

By the way, I am really looking forward to the next version of goal tracking where you can also set the exact revenue.

Cheers,

Jens