Reputation: 23
I have a problem with my ecommerce data in google analytics. I made a wrong transaction and sent it to GA. So how I can remove this transaction? Thanks
http://www.ga-script.org/en/posts/2012/05/remove-e-commerce-transactions-from-google-analytics https://support.google.com/analytics/answer/1037443?hl=en I read two above article, but I don't really understand how it work! Anyone can help me? Thanks so much!
Upvotes: 1
Views: 2752
Reputation: 32780
You cannot remove or reverse transactions from Google Analytics, headlines in Google support pages notwithstanding (actually they point out that "reversing a transaction does not remove it").
What you can do is offset a transaction value by sending a transaction with the a corresponding negative amount in the transaction, and negative quantities for the products in the transaction. Under the right circumstances this will look as if the transactions where actually reversed.
However internally this will be recorded as two transactions, with a number of consequences:
In my opinion this creates more problems than it solves.
However if you still want to do this I am not sure how one can be clearer than the linked Google support article (the other link refers to a deprecated version of GA). Send a transaction with the same id as the transaction you want to cancel out, set the transaction revenue to the negative amount, and when you sent the products use negative quantities.
In Universal Analytics you can measure refunds if you use Enhanced E-Commerce-Tracking. This will not reverse the transaction, but will allow you to calculate an adjusted revenue that does not contain refunded transactions.
Upvotes: 5