Reputation: 21
I need to update revenue of existing transaction by measurement protocol. I send request. But analitycs adds a new revenue to the existing revenue.
Expample: Original transaction have revenue: 100. Actual revenue: 150. I send request for this transaction with revenue 150.
Result: revenue is 250, but I need 150.
Pleace, help! =)
Upvotes: 2
Views: 355
Reputation: 445
You cannot update the data that you already sent to Google Analytics.
If you send another transaction (event with the same transaction ID), Google will consider it as a new transaction and so the revenues will add up.
Though, it looks like there is a possibility to reverse a transaction. So you may be able to update the amount in two steps.
The original transaction will still appear, but you will also see the reversed operation and your new transaction.
In your example : 100 - 100 + 150 = 150 (original + reversed + new = new)
Upvotes: 4