SaTracking
Events and dataNEWIntermediate

Model GA4 item views and product-list events

Choose between view_item_list, select_item, and view_item, then send the displayed item data in the correct context.

Download for AI (.txt)

Measurement topic illustration · SaTracking

Audience and prerequisites

Emit view_item_list and view_item with stable item identifiers and list positions, then check that discovery events do not duplicate detail views. You need the product catalog identifiers, the rendered list/detail state, and access to gtag.js or a GTM container. Skill level: intermediate. Reading time: seven minutes.

1. Map the event to what the visitor actually sees

Use view_item_list when a list of items is presented, and include the items actually shown. Use select_item when a visitor selects an item from a list. Use view_item when an individual item detail is presented. Do not count an item as viewed merely because it exists in a catalog response or is below the fold if the page did not present it as a view according to your measurement definition.

2. Keep list and item context explicit

Google's ecommerce reference uses an items array for the list or selected item. Add stable item identifiers and only fields supported by the event reference. item_list_id and item_list_name describe the list context; when sending them at item level, the reference notes that event-level values are ignored. Preserve the list context on selection so reports can associate the selected item with its source list.

Direct Google tag (gtag.js)

js
gtag('event', 'view_item_list', {
  item_list_id: 'related_products',
  items: [
    { item_id: 'SKU_001', item_name: 'Example product' }
  ]
});

Replace example values with the product and list actually rendered. This is a direct Google tag event, not a GTM variable configuration. Avoid sending a value on a view event as if it were revenue; check the current event reference for its reporting meaning.

Google Tag Manager

With GTM, provide the ecommerce object through the site's existing data layer and configure a GA4 Event tag and trigger using Google's ecommerce instructions. A generic push does not send to GA4 unless the configured tag forwards it. Do not also issue the direct gtag() call for the same view.

3. Test list, selection, and detail separately

In Preview or Tag Assistant, inspect one real list view, one item selection, and one detail view. Confirm the event name, item array, stable IDs, list context, and single firing. Confirm receipt in GA4 DebugView. If a list event contains items not presented to the visitor, check the source data and render timing. If selection loses list context, trace the values from the selected card to the event.

Privacy and limits

Use catalog identifiers, not customer identifiers. Do not include search text or private account data in item names or URLs. A tag or request visible in the browser does not prove GA4 processing. Document what counts as a view for lazy-loaded lists and apply the site's consent rules to the sending tag.

For later cart and checkout stages, use the GA4 ecommerce sequence guide. For confirmed-order fields, see the purchase event guide.

Official references

EDITORIAL HISTORY

What changed

  1. v1.0.0
    Initial bilingual guide drafted and checked against current official Google documentation.
MEASUREMENT SUPPORT

Need a hand with your tracking?

Nicolas Salazar works with teams on analytics, tracking plans, data quality, consent, and implementation.