Goals by order not pulling through

Hey Piwikers!

I have successfully included Piwik into my web app. However I have one issue that I’m now drawing a blank on.
I’m tracking my app like an ecomm site - everything is working well. However I cannot get the “View goals by ecomm orders” table to pull through Revenue, Price or Visits. Strangely it works for the “View goals by visits” Custom Variables table.

Here is the tracker I am using:


$(document).ready(function()
{

try {
    pt = Piwik.getTracker("https://sub.foo.com/report/" + "piwik.php", 1);
    pt.setCookieDomain('*.foo.com');
    pt.setCustomVariable(1 , "Custom ID" , customid , "page");
    pt.setCustomVariable(2 , "Visitor ID" , pt.getVisitorId() , "page");
    pt.setCustomVariable(3 , "Linked" , loggedIn , "page");
    pt.setCustomVariable(4 , "Store" , main_store , "page");
    pt.setCustomVariable(1 , "Custom ID" , customid , "visit");
    pt.setCustomVariable(2 , "Visitor ID" , pt.getVisitorId() , "visit");
    pt.setCustomVariable(3 , "Linked" , loggedIn , "visit");
    pt.setCustomVariable(4 , "Store" , main_store , "visit");
    pt.addEcommerceItem(customid , document.title , current_store);
    pt.trackPageView();
});

(current_store is set in a separate js file)
I am using the lastest version of Piwik.

Any help would be greatly appreciated I am really starting to drawing a blank! Thanks in advance.

works for me… please contact: http://piwik.org/consulting/ for help with your setup