Analytics and Tracking

remove_from_cart

Also called remove from cart event, remove from basket

The GA4 ecommerce event that records a product being taken out of the basket, or its quantity being reduced.

Quick facts: remove_from_cart

Category
Analytics and Tracking
Also called
remove from cart event, remove from basket
Level
Beginner
Affects
Basket analysis, product page diagnosis, remarketing audiences
Where to see it
GA4 events report, GA4 free-form exploration, GA4 DebugView, Google Tag Manager
In this article4
  1. How remove_from_cart works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

remove_from_cart is the Google Analytics 4 event that records a shopper taking a product out of their basket, or reducing its quantity. It is the counterpart to add_to_cart, and together the two show what people put in, what they take out, and what they change their minds about.

How remove_from_cart works

The event belongs to GA4’s set of recommended ecommerce events. Your site sends it whenever an item leaves the basket: the shopper presses a remove link, sets the quantity to zero, or lowers it from three to one. In the last case, the event should carry a quantity of 2, the number actually removed.

It sends the same fields as add_to_cart:

  • items The product removed, with its ID, name, variant, price and quantity removed.
  • value Price multiplied by the quantity removed.
  • currency “GBP”.

Many shop integrations leave this event out, or send it only from the full basket page and not from a slide-out mini-basket. Removals that happen when a basket expires, or when an item goes out of stock, are not shopper actions and should not be sent at all.

Why it matters

A removal is a small, specific decision, and the reasons behind it are usually fixable. Three patterns come up again and again:

  • Size or variant swaps. Someone adds a medium, then removes it and adds a large. High removal rates on one product, followed by additions of a sibling variant, often point to a confusing size guide.
  • Price shock at the basket. Shoppers remove the most expensive item once they see the total, or once delivery charges are added. If removals rise after a delivery price change, that is your answer.
  • Trimming to a threshold. Some shoppers add generously, then remove items to stay under a budget once they see the total.

Without remove_from_cart, GA4 only sees the additions, so every product that never reaches checkout looks like basket abandonment, when some of it is shoppers deliberately changing their minds.

There is a remarketing angle too. A product that a shopper deliberately removed is a weaker candidate for a “you left this behind” advert than one they simply abandoned. Showing it again can feel pushy.

Common mistakes

  • Not sending it at all Which is common on shops that rely on a basic platform integration.
  • Sending the whole line quantity instead of the number removed when a shopper lowers a quantity.
  • Firing on system removals Such as expired baskets or stock clean-ups, so the data blames shoppers for the shop’s own rules.
  • Missing the mini-basket Where many mobile shoppers make their changes.
  • Item IDs that differ from those in add_to_cart, which makes it impossible to match additions with removals in the item array.

How to act on it

First, find out whether the event exists. In GA4, go to the events report and look for remove_from_cart. If it is missing, check your platform’s GA4 integration settings before writing anything custom; if it still is not there, push it into the data layer from the basket code and send it through Google Tag Manager.

Test every removal route: the remove link, the quantity selector, the mini-basket and any “save for later” option. In DebugView, check that the quantity and value reflect what left the basket.

Once a few weeks of data have built up, compare additions and removals for each product, either in a GA4 exploration broken down by item name or by exporting the event data to a spreadsheet. Products with an unusually high removal rate deserve a look at their size guidance, photos and basket presentation. This kind of product-level diagnosis sits within the performance marketing work I do for online shops.

Do and do not

Do

  • Send the quantity actually removed
  • Track removals from the mini-basket as well as the basket page
  • Compare removal rates between similar products

Do not

  • Send removals caused by expired baskets or stock clean-ups
  • Assume your platform sends it without checking
  • Remarket a product someone deliberately removed

Questions people ask about this

Does GA4 track basket removals automatically?

No. GA4's automatic and enhanced measurement events do not include ecommerce actions, so remove_from_cart has to be sent by your shop's integration or a custom tag. Many integrations include it, but not all, and some only cover the main basket page. Check the events report to see whether it is arriving.

Is a high removal rate always bad?

Not necessarily. Some shoppers use the basket as a shortlist, adding several options and removing the ones they do not want, which is common in fashion. The useful signal is a removal rate that is high for one product compared with similar ones, or a rate that jumps after a change to prices or delivery.

Should I exclude people who removed items from remarketing?

It is worth considering for the specific products they removed. Someone who took an item out of their basket made a decision about it, so chasing them with that exact product can backfire. Remarketing with the products they kept, or with related items, is usually the better approach.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.