ShakawatHub home

Track a cart from product view to checkout in GA4

Think of an online shop as a row of doors. A shopper can enter the product page, put an item in a basket and still leave before payment.

View item → Add to cart → Begin checkout

Step by step

  1. Map the actions

    Pair viewing an item with view_item, a successful addition with add_to_cart, and starting checkout with begin_checkout. Reserve purchase for an accepted order.

  2. Follow one variant

    Choose one blue mug, add two units and begin checkout. At each step inspect item ID, quantity and currency where applicable.

  3. Compare transitions

    If product views arrive but cart additions do not, inspect the add-to-cart success step before changing the product page.

Use the same item across events

If the mug is BLUE-12 on the product page, check for BLUE-12 in the cart and checkout. A parent ID at one step and a variant ID at another can split a product-level report. Document the identifier convention with the store developer.

A mistake to watch for

Do not fire add_to_cart on an out-of-stock button. Test an unavailable variant and confirm the cart did not change.

Does a missing checkout event always mean shoppers left?

A broken tag can create the same pattern. Test the step yourself.

Read the official documentation

Related guides

Working on a Search campaign or conversion tracking? Explore ShakawatHub’s services.

LET’S REVIEW YOUR NEXT STEP

Request a free Google Ads audit

Share your website and the campaign or tracking question you want to explore. ShakawatHub will review your enquiry and discuss the next step.