---
title: "Measuring the product page in GA4: view_item and add_to_cart"
description: "How to measure the product page in GA4 with view_item, add_to_cart, remove_from_cart and add_to_wishlist: what to send, which questions it answers and its limits."
url: "https://cookingmetrics.com/blog/medir-pdp-ga4-view-item-add-to-cart/"
markdown_url: "https://cookingmetrics.com/blog/medir-pdp-ga4-view-item-add-to-cart.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 product page in GA4: view_item and add_to_cart*. CookingMetrics. https://cookingmetrics.com/blog/medir-pdp-ga4-view-item-add-to-cart/"
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 product page in GA4: view_item and add_to_cart

> How to measure the product page in GA4 with view_item, add_to_cart, remove_from_cart and add_to_wishlist: what to send, which questions it answers and its limits.

- **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-pdp-ga4-view-item-add-to-cart/

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

Garay, M. (2026, December 3). *Measuring the product page in GA4: view_item and add_to_cart*. CookingMetrics. https://cookingmetrics.com/blog/medir-pdp-ga4-view-item-add-to-cart/

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 product page is measured with `view_item` when someone opens it and with `add_to_cart` when they add the product to the cart; `remove_from_cart` and `add_to_wishlist` complete the picture.** The relationship between views and additions shows how many pages make someone want to buy.

This article is part of the [GA4 ecommerce guide](https://cookingmetrics.com/blog/guia-ga4-ecommerce-datalayer-gtm/). It is written for those 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

- The product page (PDP, for *product detail page*) is where the purchase is decided.
- `view_item` measures the view; `add_to_cart`, the addition; `remove_from_cart`, the removal; `add_to_wishlist`, saving to favorites.
- For the first three, Google's table marks `currency` and `value` with a note (`currency` is required if `value` is sent), and `items` is required.
- According to Google, `view_item` values do not add to revenue.
- The useful questions are answered with your own counts and without external benchmarks.
- A view in a pop-up window (modal) and a full-page view are not the same thing; it is worth telling them apart.

## What problem it solves

Many stores know how much they sell, but not how many product pages are viewed without anyone adding the product to the cart. That gap is the first place to look: it may be due to price, stock, information or a technical fault. Measuring the product page lets you see the problem by product and not only in the total.

## What data each event carries

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

- `view_item`, `add_to_cart`, `remove_from_cart` and `add_to_wishlist` carry `items` and `currency`; `value` is the usual choice and `currency` is required if `value` is sent.
- Each product needs an `item_id` or an `item_name`; Google recommends both. `price` is the discounted unit price; the discount goes in `discount`; `quantity` is 1 if it is not sent.
- When more than one unit is added to the cart, `quantity` must reflect it and `value` must be consistent with price times quantity. This is a reasonable consequence of how Google describes the amounts, not a literal sentence from the pages consulted.

## Questions you can answer

These questions are answered with your own counts in GA4; there is no "normal" value to compare against:

- What proportion of product page views ends in an addition to the cart, by product and by category?
- Are there products with many views and almost no additions?
- Does that proportion change by device or by the origin of the visit?
- Which products are saved to favorites but not purchased?

These ratios are a clue, not a verdict: an expensive product may naturally have few additions. It is better to compare the same product over time than different products against each other.

## Product pages in pop-up windows

Many stores show the product page in a pop-up window (quick view) as well as on the full page. In his original guide, Martín Garay proposes a custom parameter, `view_type`, to tell them apart. It is a custom parameter, not a Google one; for it to appear in reports it has to be registered as a custom dimension in GA4, a step we do not cover here.

**For the technical team:** example of `add_to_cart` in the data layer.

```
window.dataLayer.push({ ecommerce: null });
window.dataLayer.push({
  event: "add_to_cart",
  ecommerce: {
    currency: "USD",
    value: 80.0,
    items: [{ item_id: "SKU-001", item_name: "Taza de cerámica", price: 40.0, quantity: 2 }]
  }
});
```

- Send `view_item` once per product page view, without repeating it on every page refresh.
- With `view_item`, keep in mind that Google states its values do not add to revenue.
- If the same button adds products from several pages, the event must be the same on all of them.
- On a product page with variants (size, color), `item_variant` identifies the chosen variant.

## Limits and risks

- **A view is not reading.** `view_item` records that the product page loaded, not that someone read it.
- **No benchmarks.** There is no "good" percentage of additions.
- **Official pages without a date.** It is worth rereading them before implementing.
- **`view_type` is custom.** Using it is a judgment call.
- **Consent:** what can be measured depends on the visitor's consent.

## What to do next

Pick ten product pages, go through them in the store and check that each one sends `view_item` with the right data. To continue the path, read [Measuring the checkout process](https://cookingmetrics.com/blog/medir-proceso-de-pago-ga4-checkout/). To also improve the content and structure of the page itself, see the guide on [how to improve an ecommerce product page](https://cookingmetrics.com/blog/como-mejorar-pdp-ecommerce/). If you would like us to review your measurement, learn about our [Google Analytics audit service](https://cookingmetrics.com/data-analytics-consulting/).

## Frequently asked questions

### What is the difference between `view_item` and `add_to_cart`?

The first records that the product page was opened; the second, that the product was added to the cart. The relationship between the two shows how many pages lead to an addition.

### Does `view_item` add to revenue?

No. Google states that the values of this event do not add to revenue.

### How do I tell a pop-up product page from a full page?

With a custom parameter, such as the `view_type` proposed in the original guide, registered as a custom dimension. It is not a Google parameter.

### What percentage of additions to the cart is good?

There is no universal value. Compare the same product over time, not different products against each other.

---

## 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/)
