HSNCRC.
TRTell Me About Your Project

Services

  1. Blog
  2. Web Development

Measuring An Online Shop: Reading The GA4 Purchase Funnel

Saying “sales are low” in a shop is not measurement. You need to see separately whether the visitor viewed the product, added it to the cart, began checkout, and where they stopped. Google Analytics 4 measures this path with separate events and shows the loss between steps in ready-made reports. In this post I explain which event is sent when, and where to look first, based on Google’s own documentation.

Which Events Make Up The Funnel?

Google’s ecommerce measurement documentation defines a separate event for each step:

Event When Is It Sent?
view_item_list When the user is presented with a list of products
select_item When a product is selected from the list
view_item When the product’s detail page is viewed
add_to_cart When the product is added to the cart
view_cart When the cart is viewed
begin_checkout At the first step of the checkout process
add_shipping_info When shipping information is added
add_payment_info When payment information is submitted
purchase When the purchase is completed
refund When a refund is made

The documentation also includes events such as remove_from_cart and add_to_wishlist. You do not have to set up all of them on day one; but for the reports below to work, the main steps of the funnel have to be complete.

The Fields Of The purchase Event

The revenue and product data in the reports come from the purchase event. A simplified version of Google’s example:

gtag("event", "purchase", {
  transaction_id: "T_12345", // Transaction ID. Required for purchases and refunds.
  value: 900.00,             // Sum of (price x quantity) for all items.
  shipping: 60.00,
  currency: "TRY",
  items: [
    {
      item_id: "MUG-300-BLUE",
      item_name: "Handmade Ceramic Mug, 300 ml, Blue",
      item_category: "Kitchen",
      price: 450.00,
      quantity: 2
    }
  ]
});

The product and amounts in the example are fictional. Three notes from the documentation:

  • When sending revenue (value), set the currency parameter at the event level.
  • Send every ecommerce parameter you have data for, even if it is optional.
  • Use the format in the documentation so the data populates the reports correctly; products go in the items array.

The event should be sent only when the order has really been completed. The rule I described for form measurement applies here too: what counts is the action finishing successfully, not the button being clicked. The details are in the conversion tracking post.

Three Reports To Look At First

Purchase Journey

In Google’s description, this report shows how many users drop off between each step of the purchase funnel. It sits in the Reports section, under Monetization. The steps are fixed:

  1. Session start (session_start)
  2. View product (view_item)
  3. Add to cart (add_to_cart)
  4. Begin checkout (begin_checkout)
  5. Purchase (purchase)

The report uses a closed funnel by default: a user is counted only if they completed the steps in order, and anyone who skips a step leaves the funnel. You can switch to an open funnel with the toggle at the top. You cannot customize the report; to see a different sequence you need to create a custom funnel report.

Checkout Journey

This report takes only users who began checkout and shows four steps: begin_checkout, add_shipping_info, add_payment_info, and purchase. The example Google gives is clear: if the drop-off between adding shipping and adding payment information is high, you can investigate possible problems at the shipping step.

Note: if add_shipping_info is not sent, one step of this report stays empty.

Ecommerce Purchases

This is the item-level report. It shows which product was viewed, added to the cart, and sold, by item name, brand, and category. The data comes from parameters such as item_name, item_brand, and item_category in the items array; if you send these fields empty, the report stays empty too.

How Do You Verify The Setup?

Google suggests two ways: enabling debug mode and using DebugView to see events in real time, and watching events from real users in the realtime report.

Before launch, I suggest following this order with a test order:

  • Open a product page: did view_item arrive?
  • Add to the cart: does add_to_cart contain the correct product code?
  • Begin checkout and pass the shipping and payment steps: did the three events arrive in order?
  • Complete the order: did purchase arrive only once, and are the transaction_id and the amount correct?
  • Refresh the thank-you page: is the same order sent a second time?

If you use a ready-made platform, some events may be collected automatically. As an example, Google’s help page notes that on Shopify the add_to_cart, begin_checkout, and purchase events are collected automatically, and that the other recommended events have to be set up separately. Check what comes ready for your own platform.

When Reading The Numbers

  • Closed and open funnels give different numbers. Always use the same view when comparing.
  • One day’s rate is not enough for a decision. Watch the same step over several weeks.
  • A loss at a step does not prove the problem is at that step; it shows where to look. Look for causes such as the shipping fee, mandatory sign-up, or a slow checkout page by trying the page yourself.
  • I do not recommend comparing against other shops’ rates. When the product, the price, and the traffic source differ, the rates differ too.

Frequently Asked Questions

Is It Enough To Set Up Only The purchase Event?

You will see revenue; you will not see where the loss is. The journey reports rely on the events of the steps in between.

Are These Events Also Used As Ad Conversions?

An Analytics event does not become an ad conversion on its own; it has to be connected separately. I explained this in the conversion tracking post.

Do Sales Increase Once Measurement Is Set Up?

Measurement does not increase sales; it shows you where to look. I cannot promise a result.

To separate which campaign a visit came from, see campaign tracking with UTM; for the content of the product page, see the product page checklist. A measurement plan is part of the ecommerce service.

Sources

Would You Like Help With E-Commerce?

Stores that make it easy to find, review and buy products.

Let’s Talk About What You Have In Mind.

A new website, better organized digital communication, or an idea you want to develop… We can work out where to start together.

Tell Me About Your ProjectWhatsApp