bump
Sometimes an ecommerce order is recognized as a goal, and sometimes it isn’t.
I can curl the API call, first to view the page, second to place the order. And I get a conversion.
I copy the same view-page curl, change _id, change the _uid and post as a view page. It shows up in the visitor log.
I copy the same buy page curl that worked before, change _id, change _uid, change _ecid, change the amount. It shows up as an ecommerce order in the visitor log.
But Piwik does not recognize it as matching the goal.
So the code below worked once, but when I tried it again with different (but matching within the two posts) _id, _uid, and different _ecid and amount, it recorded an ecommerce tx but not a goal conversion. Weird. Tried it over many times. Could never get a second conversion to register on that “page”.