dbj44
dbj44

Reputation: 1998

Google Analytics Enhanced Ecommerce removed basket items not shown in dashboard

I have a function to remove an item from my analytics data. I'm calling the below function, when my shopper deletes an item from their cart. I've followed the example in the docs.

function removeFromCart(product) {
  ga('ec:addProduct', {
    'id': product.id,
    'name': product.name,
  });
  ga('ec:setAction', 'remove');
  ga('send', 'event', 'UX', 'click', 'remove from cart');
}

I was expecting the Product Adds To Basket metric to decrement by 1 when this function is called, but it appears to remain the same.

enter image description here

Is this a wrong assumption? Is there a Product Removes From Basket column that I need to reveal in the dashboard?

Upvotes: 1

Views: 332

Answers (1)

Michele Pisani
Michele Pisani

Reputation: 14199

You can find this information in this report in Google Analytics:

enter image description here

Upvotes: 1

Related Questions