view_item
A user views an item detail.
Status: Upcoming
Triggered when a user views an item detail page.
Used for rentable detail pages and sales module property detail pages.
Sample data layer snippet
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
"event": "view_item",
"ecommerce": {
"currency": "EUR",
"value": 350.0,
"items": [
{
"item_id": "123123",
"item_name": "4-Person Luxury Villa",
"item_brand": "Administration Name",
"item_category": "Accommodation",
"item_category2": "house",
"item_variant": "single_night",
"item_country": "Netherlands",
"item_region": "Twente",
"item_city": "Enschede",
"administration_id": "321321",
"administration_name": "Administration Name",
"coupon": "SUMMER10",
"discount": 25.0,
"price": 350.0,
"quantity": 1,
"index": 1,
"start_date": "2026-02-20",
"end_date": "2026-02-22",
"google_business_vertical": "hotel_rental",
"item_list_id": "availability_search",
"item_list_name": "Availability Search"
}
]
}
});Top-level objects
ecommerce
Ecommerce payload wrapper for GA4 events.
ecommerce.items[]
Items array for the ecommerce payload.
Still need help? Share an idea