Hi all,
congratulations for Piwik.
How do I remove canceled orders for consistent data in the e-commerce?
Sorry for my English
Thanks.
Hi all,
congratulations for Piwik.
How do I remove canceled orders for consistent data in the e-commerce?
Sorry for my English
Thanks.
To remove an Ecommerce transaction, send the ecommerce transaction in javascript with the same orderId and iwth a revenue of 0 -> it should cancel the transaction.
If the transaction is on a different day than today, you will also need to tell piwik to re-process the stats of the past date: How to - Analytics Platform - Matomo
Hello, thanks for the reply. I tried to cancel an order but did not work.
The orderid is 3264 on 2012/08/27
Here is the code I used:
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://mysite.com/" : "http://mysite.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", 23);
piwikTracker.trackEcommerceOrder("3264",0);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://mysite/piwik.php?idsite=23" style="border:0" alt="" /></p></noscript>
How can I resolve?
thanks again
Sorry for my english (Google Translate)
Thanks for the report. Can you please create a bug report with your message in dev.piwik.org ? we will follow up over there. Thanks!