How to identify negative transactions in Google Analytics

A negative transaction (also known as Reversal Transaction) is the one which is associated with negative sales amount and/or other negative metrics like negative tax, negative shipping.

So if following was your original transaction:

gtag('event', 'purchase', {
"transaction_id": "1234",
"affiliation": "Acme Clothing",
"value": 11.99,
"currency": "USD",
"tax": 1.29,
"shipping": 5,

"items": [
"id": "1234",
"name": "Fluffy Pink Bunnies",
"list_name": "Search Results",
"brand": "ToysRus",
"category": "Party Toys",
"variant": "Black",
"list_position": 1,
"quantity": 1,
"price": '11.99'

Then the corresponding negative transaction may look like the one below:

gtag('event', 'purchase', {
"transaction_id": "1234",
"affiliation": "Acme Clothing",
"value": -11.99, // Negative sales
"currency": "USD",
"tax": -1.29, // Negative tax
"shipping": -5, // Negative shipping

"items": [
"id": "1234",
"name": "Fluffy Pink Bunnies",
"list_name": "Search Results",
"brand": "ToysRus",
"category": "Party Toys",
"variant": "Black",
"list_position": 1,
"quantity": -1, // Negative Quantity.
"price": '11.99' // Positive Unit price.

Note: Do not use the code mentioned above. This is just an example code and not even complete code.

Negative transactions are placed to remove the sales amount associated with a particular transaction.

They are used to fix duplicate, cancelled, test orders and refunds in Google Analytics.

Google Analytics does not automatically reverse an ecommerce transaction, in the event the transaction is later declined or cancelled.

So if someone has placed an order on your website and later he cancelled the order or his order did not go through for some reason, Google Analytics will still report that order and the corresponding sale generated from that order.

In order to maintain the accuracy of your ecommerce data in Google Analytics Ecommerce reports, you should place a negative transaction in Google Analytics.

Why you should identify negative transactions?

There is a common misconception that reversing a transaction means removing the transaction.

But unfortunately this is not true.

When you reverse a transaction in Google Analytics, it does not remove it.

GA simply deduct a particular amount from the revenue total.

So what is removed is the revenue/sales associated with the reversal transaction.

No other information associated with the transaction is removed.

For example,

Lets say User ‘A’ placed an order of $200 on Monday.

Lets say the total website sales on Monday was $500.

Now if you reverse the transaction (placed by user ‘A’) on Monday, then the total sales amount for Monday would be reported to be: $500 – $200 = $300

If you reverse the transaction on say Tuesday, then

the total sales amount for Monday would remain $500

the total sales amount for Tuesday would be: Total website sales for Tuesday – $200

So if the original transaction occurred on Monday and you reversed it on Tuesday then make sure that you are analyzing a date range that includes both Monday and Tuesday.

Google in fact recommends to do the reversal on the same day as the original transaction.

But here is one big caveat here.

Though you have reversed the ecommerce transaction, the transaction count will not change.

For example, lets say User ‘A’ placed an order of $200 on Monday and on the same day he cancelled the order.

Now let us suppose you also reversed the transaction on Monday.

Though you have removed the sales amount associated with the cancelled order, you have not removed the transaction count.

In fact you have increased the transaction count by one.

So now GA will report two orders (one regular transaction, one negative transaction) for Monday. When in fact, it should have reported zero orders for Monday.

A typical big ecommerce website gets a lot of cancelled and declined orders on a daily basis. So if the developers are consistently placing negative transactions to remove the sales amount associated with cancelled and declined orders then your transaction count can greatly skew over time.

That’s why it becomes very important to identify negative transactions and discount them from your analysis.

Get the E-book (52 Pages)

Get the E-Book (37 Pages)

How to identify negative transactions in GA reports?

Now the questions comes, how do you identify these negative transactions in GA reports?

Well they appear with this unholy symbol in the ‘Ecommerce Overview’ report:

Here how this symbol appears in the context of ‘Ecommerce Overview’ report:


Follow the steps below to identify any negative transactions in your ecommerce reports:

Step-1: Navigate to your main GA view.

Step-2: Navigate to ‘Conversions’ > ‘Ecommerce’ > ‘Overview’ report

Step-3: Change the data range to the last one month.

Step-4: Select ‘Revenue’ from the drop down menu and remove the ‘Ecommerce Conversion Rate’ metric:

Step-5: Click on the ‘Hourly’ button:

Step-6: Search for negative sales in the data trend:

Step-7: Hover your mouse over the data point which is below $0 to find the date when this negative sales occurred:

So in my case the negative sales occurred on Dec 26, 2018

Note: Here the sales is reported as $0.00 because the transaction was reversed on the same day. If the transaction was reversed on some other day and no order was placed on that day, you may see negative sales amount being reported.

Step-8: Set the date range of the report to the day when the negative sales was recorded by GA. In my case that would be Dec 26, 2018.

Step-9: Now add the ‘Transactions’ metric to the ‘Ecommerce Overview’ report:

The ‘Ecommerce Overview’ report should now look like the one below:

If you hover your mouse over the unholy symbol, you should be able to see the negative sales amount associated with the transaction along with the total number of negative transactions:

So what we can conclude from this report?

On December 26, 2018, 5 orders/transactions were placed on the website.

And out of the 5 transactions there was one cancelled order, 3 negative transactions and one fulfilled order.

So in total there was only 1 legitimate transactions on Dec 26th.


The first transaction of $398 took place at 5 am.

This order was later cancelled.

So the developer placed negative transaction to remove the sales associated with cancelled order.

However instead of placing one negative transaction, he placed 3 negative transactions.

And these 3 negative transactions resulted in net sales of -$398

This happened because the developer did not place the negative transactions correctly.

He probably did the following:

Placed 1st negative transaction of -$398 around 12 pm (to remove $398 in sales from the cancelled order)

Placed 2nd negative transaction of -$398 (probably he did not wait for 20-30 min to see any changes in the ecommerce overview report).

Placed 3rd negative transaction of $398 (to remove the negative impact of extra negative transactions).

So the net sales from three negative transactions = -$398 -$398 + $398 = -$398

The net sales from one cancelled order and three negative transactions = $398 – $398 = $0

Then someone placed a new order of $398 around 4 pm

So now the net sales from one cancelled order, three negative transactions and one order = $0 + $398 = $398

That’s why GA is reporting $398 in net sales but at the same time reporting 5 transactions.

So in total there was only 1 legitimate transactions on Dec 26th.

That’s how you can skew up your ecommerce data if you are not careful with placing negative transactions.

This is the kind of insight you can get by identifying negative transactions.

Related Articles


Do you know the difference between Web Analytics and Google Analytics?

99.99% of course creators themselves don’t know the difference between Web analytics, Google Analytics (GA) and Google Tag Manager (GTM).

So they are teaching GA and GTM in the name of teaching Web analytics.

They just copy each other. Monkey see, monkey do.

But Web analytics is not about GA, GTM.

It is about analyzing and interpreting data, setting up goals, strategies and KPIs.

It’s about creating strategic roadmap for your business.

Web Analytics is the core skill. Google Analytics is just a tool used to implement ‘Web Analytics’.

You can also implement ‘Web analytics’ via other tools like ‘adobe analytics’, ‘kissmetrics’ etc.

Using Google Analytics without the good understanding of ‘Web analytics’ is like driving around in a car, in a big city without understanding the traffic rules and road signs.

You are either likely to end up somewhere other than your destination or you get involved in an accident.

You learn data analysis and interpretation from Web analytics and not from Google Analytics.

The direction in which your analysis will move, will determine the direction in which your marketing campaigns and eventually your company will move to get the highest possible return on investment.

You get that direction from ‘Web analytics’ and not from ‘Google Analytics’.

You learn to set up KPIs, strategies and measurement framework for your business from ‘Web analytics’ and not from ‘Google Analytics’.

So if you are taking a course only on 'Google Analytics’, you are learning to use one of the tools of ‘Web analytics’. You are not learning the ‘Web analytics’ itself.

Since any person can learn to use Google Analytics in couple of weeks, you do no get any competitive advantage in the marketplace just by knowing GA.

You need to know lot more than GA in order to work in Web analytics and marketing field.

So what I have done, if you are interested, is I have put together a completely free training that will teach you exactly how I have been able to leverage web/digital analytics to generate floods of news sales and customers and how you can literally copy what I have done to get similar results.

Here what You'll Learn On This FREE Web Class!

1) Why digital analytics is the key to online business success

2) The number 1 reason why most marketers are not able to scale their advertising and maximize sales.

3) Why Google and Facebook ads don’t work for most businesses & how to make them work.

4) Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.

5) The number 1 reason why conversion optimization is not working for your business.

6) How to advertise on any marketing platform for FREE with an unlimited budget.

7) How to learn and master digital analytics and conversion optimization in record time.


My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

Himanshu Sharma

Digital Marketing Consultant and Founder of

Himanshu helps business owners and marketing professionals in generating more sales and ROI by fixing their website tracking issues, helping them understand their true customers' purchase journey and helping them determine the most effective marketing channels for investment.

He has over 12 years of experience in digital analytics and digital marketing.

He was nominated for the Digital Analytics Association's Awards for Excellence. The Digital Analytics Association is a world-renowned not-for-profit association that helps organisations overcome the challenges of data acquisition and application.

He is the author of four best-selling books on analytics and conversion optimization:

error: Alert: Content is protected !!