---
title: "Measuring the checkout process in GA4: checkout and purchase"
description: "How to measure the cart, payment and purchase in GA4 with view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase and refund, and the mistakes to avoid."
url: "https://cookingmetrics.com/blog/medir-proceso-de-pago-ga4-checkout/"
markdown_url: "https://cookingmetrics.com/blog/medir-proceso-de-pago-ga4-checkout.md"
lang: "en"
date_published: "2026-12-03"
author: "Martín Garay"
author_url: "https://cookingmetrics.com/about-martin-garay/"
publisher: "CookingMetrics"
publisher_url: "https://cookingmetrics.com/"
keywords: ["Google Analytics", "Google Tag Manager", "MarTech"]
citation_apa7: "Garay, M. (2026, December 3). *Measuring the checkout process in GA4: checkout and purchase*. CookingMetrics. https://cookingmetrics.com/blog/medir-proceso-de-pago-ga4-checkout/"
references_apa7:
  - "Google Analytics Developers. (n.d.). *Recommended events (reference)*. https://developers.google.com/analytics/devguides/collection/ga4/reference/events"
  - "Google Analytics Developers. (n.d.). *Measure ecommerce*. https://developers.google.com/analytics/devguides/collection/ga4/ecommerce"
---

# Measuring the checkout process in GA4: checkout and purchase

> How to measure the cart, payment and purchase in GA4 with view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase and refund, and the mistakes to avoid.

- **Author:** [Martín Garay](https://cookingmetrics.com/about-martin-garay/) · Founder of CookingMetrics
- **Published:** December 3, 2026
- **Topics:** Google Analytics, Google Tag Manager, MarTech
- **Web version:** https://cookingmetrics.com/blog/medir-proceso-de-pago-ga4-checkout/

## How to cite this article (APA, 7th edition)

Garay, M. (2026, December 3). *Measuring the checkout process in GA4: checkout and purchase*. CookingMetrics. https://cookingmetrics.com/blog/medir-proceso-de-pago-ga4-checkout/

In-text citation: (Garay, 2026)

## References

- Google Analytics Developers. (n.d.). *Recommended events (reference)*. https://developers.google.com/analytics/devguides/collection/ga4/reference/events
  In-text citation: (Google Analytics Developers, n.d.)
- Google Analytics Developers. (n.d.). *Measure ecommerce*. https://developers.google.com/analytics/devguides/collection/ga4/ecommerce
  In-text citation: (Google Analytics Developers, n.d.)

---

**The checkout process is measured with six events: `view_cart`, `begin_checkout`, `add_shipping_info`, `add_payment_info`, `purchase` and `refund`.** They show at which step people drop off and how much is sold, provided each purchase is sent only once and with consistent amounts.

This article is part of the [GA4 ecommerce guide](https://cookingmetrics.com/blog/guia-ga4-ecommerce-datalayer-gtm/). It is written for the people who decide what to measure; the technical detail appears under "For the technical team". [CookingMetrics](https://cookingmetrics.com/) offers audits and support and does not sell tools. The Google pages consulted on November 16, 2026 show no update date.

## In summary

- `view_cart` is the cart view; `begin_checkout`, the start of payment; `add_shipping_info` and `add_payment_info`, the choice of shipping and of payment.
- `purchase` is the purchase; according to Google, its `transaction_id` is required.
- The `value` of `purchase` must be the sum of price times quantity, excluding shipping and taxes.
- `refund` records a return and also requires `transaction_id`.
- The purchase must be sent only once; reloads of the thank-you page are the classic cause of duplicates.
- GA4 totals and those of the order system may not match exactly; a large difference points to a problem.

## What problem it solves

This is the part of the journey where losing a person costs the most. If each step is measured, you can see where people drop off: at the cart, when choosing shipping, when choosing payment. If only the purchase is measured, you see how much is sold, but not why sales stop.

## What data each event carries

According to the [official GA4 reference](https://developers.google.com/analytics/devguides/collection/ga4/reference/events):

- `view_cart`, `begin_checkout`, `add_shipping_info` and `add_payment_info` carry `items`, and `currency` and `value`, with the note that `currency` is required if `value` is sent. `begin_checkout`, `add_shipping_info` and `add_payment_info` accept `coupon`.
- `add_shipping_info` accepts `shipping_tier` (for example, ground, air or next day).
- `add_payment_info` accepts `payment_type`, the payment method chosen.
- `purchase` carries `transaction_id` (required), `items`, `currency` and `value`, and accepts `coupon`, `shipping`, `tax` and `customer_type` (new or returning, which should not be sent if in doubt). According to Google, `value` is the sum of price times quantity, excluding shipping and taxes.
- `refund` carries `transaction_id` (required), `currency` and `value`; `items` is optional, but the reference recommends it to see return metrics by product.

## Questions that can be answered

- At which step is most of the people who start payment lost, comparing the counts of one event with those of the next?
- Which shipping or payment options do people choose, and in which are they most likely to drop off?
- Which products have the most returns, if the refund carries `items`?

These ratios have no "normal" value; they are useful for comparing the same site over time.

## The mistakes that cost the most

In his original guide, Martín Garay gathers advice that matches common practice: a unique `transaction_id`, the same currency in all events, detail for each product, not counting views of the thank-you page as transactions, discarding reloads and firing `purchase` only once. These are the author's criteria, not phrases from Google, and we share them with one warning: the monthly comparison between store orders and GA4 purchases is the best proof that sending works.

**For the technical team:** example of `purchase` with consistent amounts.

```
window.dataLayer.push({ ecommerce: null });
window.dataLayer.push({
  event: "purchase",
  ecommerce: {
    transaction_id: "T-10045",
    currency: "USD",
    value: 110.0,
    shipping: 8.0,
    tax: 9.5,
    items: [
      { item_id: "SKU-001", item_name: "Taza de cerámica", price: 40.0, quantity: 2 },
      { item_id: "SKU-002", item_name: "Taza esmaltada", price: 30.0, quantity: 1 }
    ]
  }
});
```

- In the example, `value` is 40 × 2 + 30 × 1 = 110, excluding shipping and taxes.
- Store in the session or in the order the fact that `purchase` has already been sent for that `transaction_id`, and do not resend it when the page is reloaded.
- Send `refund` from the order system or from the backend with the same `transaction_id` as the purchase; partial refunds must carry only the returned products.
- If there are several payment or shipping methods, normalize the values of `payment_type` and `shipping_tier`.

## Limits and risks

- **Totals will not match exactly** with the order system: there are blockers, consent refusals and exits before confirmation.
- **A duplicate inflates revenue** without warning.
- **The effect of a refund on reports** is not developed here: we did not verify it in the documentation consulted.
- **Official pages without a date.** It is worth rereading them before implementing.
- **Consent and privacy:** what can be measured depends on the visitor's consent and on the applicable regulations.

## What to do next

Compare, for the last month, the number of orders in the system with the number of `purchase` events in GA4. If the difference is large, start by checking duplicates and consent. To go back to the map, read the [GA4 ecommerce guide](https://cookingmetrics.com/blog/guia-ga4-ecommerce-datalayer-gtm/). If you would like us to review your measurement, see our [Google Analytics audit service](https://cookingmetrics.com/data-analytics-consulting/).

## Frequently asked questions

### What is required in `purchase`?

According to Google, `transaction_id` is required; `currency` is required if `value` is sent, and `items` is required.

### What should `value` include in a purchase?

The sum of price times quantity of the products, excluding shipping and taxes, according to Google's reference.

### Why don't my GA4 purchases match my orders?

There may be duplicates, reloads, consent refusals or blockers. A small difference is to be expected; a large one points to a problem.

### Do refunds need to be measured?

It is optional. If they are measured, the `transaction_id` must match that of the purchase; including `items` makes it possible to see returns by product.

---

## About the author

**[Martín Garay](https://cookingmetrics.com/about-martin-garay/)** — Founder of CookingMetrics

I'm Martín Garay, founder and Martech Advisor at CookingMetrics and Chair of the Technology Committee at CACE, Argentina's ecommerce chamber. For more than 20 years I've worked in Analytics, development, technical SEO and ecommerce: I implement measurement, find where it breaks and turn it into information you can act on.

### My work at CACE, Argentina's ecommerce chamber

- **Chair of the Technology Committee** (SINCE AUGUST 2025): I set the committee's agenda together with Gabriel Topola, vice-chair. We look at the platforms and tools an online business needs to grow: CMS, integrations, customer service and omnichannel operations.
- **Curating the technical forum** (IT CAMP · ECOMMERCE DAY ARGENTINA): With CACE's Events team I put together the IT Camp programme: talks for engineering and development teams on platform architecture, code and good practice, given by speakers who do the implementation work.
- **Marketing and Data Analytics committees** (SINCE 2016): I started in the Marketing committee and helped create the Data Analytics committee. I gave Google Analytics webinars, including the migration to GA4, and worked on the Google Analytics implementation for Hot Sale and Cyber Monday.
- **Ecommerce metrics dashboard** (FOR MEMBERS): With the Data Analytics committee and the CACE Community team we built a dashboard in Google Analytics and Looker Studio so each member can check the key indicators of their own store.

### Talks

- [From SEO to GEO: what it takes for a brand to be cited by an answer engine](https://www.youtube.com/watch?v=mlyjuSBdMzI) — ECOMMERCE DAY ARGENTINA 2026 · IT CAMP · AUGUST 27, 2026 · BUENOS AIRES CONVENTION CENTER
- [SEO for AI: how to prepare a brand to show up in ChatGPT and Google's AI overviews](https://www.youtube.com/watch?v=4dI7jqnLg-M) — AI IN LATAM 2025 · BUENOS AIRES · OVER 3,500 ATTENDEES AND 100 SPEAKERS, PER THE ORGANIZERS

### Profiles and links

- [Full profile](https://cookingmetrics.com/about-martin-garay/)
- [LinkedIn](https://www.linkedin.com/in/seospecialistmartingaray/)
- [Instagram](https://www.instagram.com/garaymartin/)
- [YouTube](https://www.youtube.com/@MartinGaray)
- [martingaray.com.ar](https://www.martingaray.com.ar/)
- [Chair of the Technology Committee at CACE, Argentina's ecommerce chamber](https://cace.org.ar/pages/comision-de-tecnologia?utm_source=cookingmetrics.com&utm_medium=referral&utm_campaign=perfil-martin&utm_content=caja-autor)
- [Ecommerce metrics dashboard, free for CACE members](https://cace.org.ar/pages/dashboard-de-metricas?utm_source=cookingmetrics.com&utm_medium=referral&utm_campaign=perfil-martin&utm_content=caja-autor)

---

## About CookingMetrics

CookingMetrics provides Google Analytics consulting, measurement implementation and SEO. Founder Martín Garay brings more than 20 years of experience in Analytics, development and ecommerce. The work connects data with business decisions.

### Services

- **[Google Analytics audit](https://cookingmetrics.com/data-analytics-consulting/)**: Do purchases or revenue differ from your store? We review your measurement and deliver a correction plan in 10 business days. [See the audit scope](https://cookingmetrics.com/data-analytics-consulting/).
- **[Google Tag Manager](https://cookingmetrics.com/services/gtm/)**: Did events stop being tracked after a website change? We review tags, triggers and versions to find duplicates or missing data. [Ask about Google Tag Manager audits and implementation](https://cookingmetrics.com/services/gtm/).
- **[Server-side measurement](https://cookingmetrics.com/services/cookieless-tracking/)**: We assess how to send data from your server, respect consent and prevent duplication. [What's included in server-side measurement](https://cookingmetrics.com/services/cookieless-tracking/).
- **[Technical SEO](https://cookingmetrics.com/services/technical-seo/)**: Have you migrated your site, or are pages missing from Google? We review crawling, indexing, structure and performance. [How we approach technical SEO](https://cookingmetrics.com/services/technical-seo/).
- **[SEO for AI search (GEO)](https://cookingmetrics.com/services/seo-ai-geo/)**: We review whether search engines and assistants can access your pages and understand their content. [What we can improve for AI search](https://cookingmetrics.com/services/seo-ai-geo/).

**Let's talk about your measurement:** [Contact us](https://cookingmetrics.com/about-martin-garay/) · [CookingMetrics](https://cookingmetrics.com/)
