I have been fiddling around for several days to get goaltracking to work in my oscommerce shop. I eventually found the problem:
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.