🛒
SEO & marketing

GA4 e-commerce events: a complete setup for online stores

29.11.2026
← All articles

Knowing that 800 people visit your store each day is not enough. You need to know how many opened a product page, added it to the cart, started checkout and actually paid. The drop-off at each step shows where the store is leaking customers. GA4 collects this through e-commerce events, but only if the site sends them with the right names and parameters.

The recommended event chain

Google defines standard event names for e-commerce. Use them and GA4 fills the Monetization reports automatically; invented names such as added_to_basket stay ordinary events.

EventWhen it fires
view_item_listA category or search list is shown
view_itemA product page opens
add_to_cartA product is added to the cart
begin_checkoutCheckout starts
add_payment_infoA payment method is chosen
purchaseThe order is paid or confirmed

Small stores can start with view_item, add_to_cart, begin_checkout and purchase, which together form the core funnel.

The items array and required parameters

Every e-commerce event includes an items array, with at least item_id or item_name per product, plus price, quantity and category in practice. Monetary events also need value and currency as an ISO 4217 code; for Uzbek som that is UZS. Without currency, revenue is not calculated correctly. Here is a product view for a clothing store in Tashkent:

gtag('event', 'view_item', {
  currency: 'UZS',
  value: 350000,
  items: [{
    item_id: 'KT-1042',
    item_name: 'Men\'s jacket',
    item_category: 'Outerwear',
    price: 350000,
    quantity: 1
  }]
});

Send prices as numbers, not text like "350 000 som". Keep item_id identical across events; if product pages send an SKU and the cart sends a database ID, GA4 sees two different products.

The purchase event

purchase drives revenue reporting and must include a unique transaction_id. GA4 treats purchases with the same ID as duplicates, which protects you when a buyer reloads the confirmation page.

gtag('event', 'purchase', {
  transaction_id: 'ORD-20481',
  currency: 'UZS',
  value: 700000,
  shipping: 30000,
  items: [{ item_id: 'KT-1042', item_name: 'Men\'s jacket', price: 335000, quantity: 2 }]
});

Stores in Uzbekistan face a specific issue with payment redirects. With Click or Payme, the buyer leaves for the payment page, confirms and sometimes never returns. The payment system confirms the order server-to-server, but the thank-you page never loads, so no browser purchase event is sent and GA4 revenue falls short of real sales. You can configure the return URL carefully and fire the event there after checking order status, or send purchases from your server with the GA4 Measurement Protocol. The latter requires storing the visitor's client_id, so study Google's official documentation first.

Working through Google Tag Manager

With Tag Manager, the site pushes events to dataLayer. Clear the previous ecommerce object before each push so old product data does not leak into the new event:

dataLayer.push({ ecommerce: null });
dataLayer.push({
  event: 'add_to_cart',
  ecommerce: {
    currency: 'UZS',
    value: 350000,
    items: [{ item_id: 'KT-1042', item_name: 'Men\'s jacket', price: 350000, quantity: 1 }]
  }
});

A GA4 event tag in Tag Manager is then set to send e-commerce data. Plugins for platforms such as WooCommerce can do this for you, but verify the output anyway.

Reading and verifying the data

The checkout journey report shows where buyers drop out; heavy losses at payment often point to delivery costs or an awkward payment page. Fast pages matter too, since visitors who leave early never trigger the code, and sayt.uz hosting on servers in Uzbekistan helps local load times.

Related articles

🧭 Yandex SEO in 2026: Does It Still Matter in Uzbekistan? 🎟️ Event Schema: showing your events in Google with date and venue 📶 Site Speed on Slow Mobile Internet: Optimizing for 3G 💼 JobPosting Schema: showing your job openings properly in Google Search
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓