Home / GA4 Interview Questions / GA4 E-commerce Tracking
Interview questions

GA4 E-commerce Tracking Interview Questions

GA4 Ecommerce Tracking: 30 questions with model answers on e-commerce events, the items array and the data layer, from Basic to Advanced.

  • Model answers
  • Basic to Advanced
  • Search and filter

E-commerce events, items arrays, purchase tracking and the GTM data layer. Questions are grouped from Basic to Advanced, each with a model answer. Use the filters or search to find what you need, then take the free GA4 test to check your score. For official guidance, see the Google Analytics Help Center.

First, read each question and try to answer it in your own words. Then, open the model answer and compare it with yours. After that, note the points you missed and review that topic again. Finally, take the free test to check your progress and unlock the next level.

GA4 Ecommerce Tracking: interview questions, practice and free test

What these GA4 Ecommerce Tracking questions cover

These GA4 e-commerce tracking questions cover the recommended e-commerce events from view_item to purchase, the items array and its parameters, transaction IDs and duplicate purchases, refunds, and building the e-commerce data layer in Google Tag Manager.

E-commerce roles almost always include a data layer question. Write out a purchase event from memory, then check it against the model answer.

All GA4 Ecommerce Tracking questions, from Basic to Advanced

Basic questions

1BasicGA4 E-commerce Tracking

Core GA4 e-commerce events?

  • view_item_list, select_item, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase, refund.
2BasicGA4 E-commerce Tracking

Promotion events?

  • view_promotion, select_promotion (internal banners).

Intermediate questions

3IntermediateGA4 E-commerce Tracking

Required purchase parameters?

  • transaction_id, value, currency, items array (item_id or item_name), optional tax, shipping, coupon.
4IntermediateGA4 E-commerce Tracking

Item parameters examples?

  • item_id, item_name, item_brand, item_category (to item_category5), item_variant, price, quantity, discount, coupon, index, item_list_name.
5IntermediateGA4 E-commerce Tracking

Why is transaction_id important?

  • GA4 deduplicates purchases with the same transaction_id – prevents duplicates on thank-you page reloads.
6IntermediateGA4 E-commerce Tracking

How do Shopify/WooCommerce stores send GA4 e-commerce?

  • Shopify: Google & YouTube app or custom pixel/GTM; WooCommerce: plugins (e.g. GTM4WP, Site Kit) that push dataLayer events.
7IntermediateGA4 E-commerce Tracking

Monetization reports?

  • E-commerce purchases (item-level), purchase journey, checkout journey, promotions.
8IntermediateGA4 E-commerce Tracking

Refund tracking?

  • Send refund event with transaction_id (full) plus items (partial) – via dataLayer or Measurement Protocol.
9IntermediateGA4 E-commerce Tracking

Currency issues?

  • Always send currency; GA4 converts to property currency; missing currency → revenue not recorded properly.
10IntermediateE-commerce Data Layer & GTM

GA4 e-commerce dataLayer structure?

  • dataLayer.push({event:'purchase', ecommerce:{transaction_id:'T123', value:450, currency:'AED', items:[{item_id:'SKU1', item_name:'Oud 100ml', price:450, quantity:1}]}});
11IntermediateE-commerce Data Layer & GTM

How does GA4 Event tag read ecommerce data in GTM?

  • Tick "Send Ecommerce data" with Data source: Data Layer – reads the ecommerce object automatically.
12IntermediateE-commerce Data Layer & GTM

add_to_cart push example?

  • dataLayer.push({ecommerce:null}); dataLayer.push({event:'add_to_cart', ecommerce:{currency:'AED', value:120, items:[...]}});
13IntermediateE-commerce Data Layer & GTM

Mapping ecommerce data to Meta/TikTok tags?

  • Data layer variables for value, currency, item IDs (content_ids) → pass to Meta Purchase/TikTok CompletePayment with event_id.
14IntermediateE-commerce Data Layer & GTM

Shopify customer events & GTM?

  • Shopify checkout extensibility uses Customer events (custom pixels) sandbox – GTM can run inside via custom pixel with analytics.subscribe events.
15IntermediateE-commerce Data Layer & GTM

WooCommerce data layer?

  • Plugins like GTM4WP generate GA4 ecommerce dataLayer events automatically.

Advanced questions

16AdvancedGA4 E-commerce Tracking

Interview: "GA4 revenue is 30% lower than Shopify. Why?"

  • Consent rejections/ad blockers, payment redirects not returning, missing purchase on some checkouts (e.g. Tabby/upsell pages), currency mismatch, duplicates removed, refunds/time zone differences.

Expert insight: Expected gaps: 5–15% from blockers/consent is common; 30% points to a structural issue (e.g. some payment methods skip the thank-you page, or Shop Pay/accelerated checkouts). Segment missing orders by payment method and device to find it.

17AdvancedGA4 E-commerce Tracking

Purchase fires twice – fix?

  • Ensure transaction_id is sent; fire only once (trigger on order confirmation event, not page reload); use cookie/flag to prevent re-fire.

Expert insight: GA4 deduplicates purchases with the same transaction_id, but ad platforms may not – Meta needs event_id/order ID consistency. Fix the root cause (fire once) rather than relying on dedupe.

18AdvancedGA4 E-commerce Tracking

Item-scoped custom dimensions?

  • Register item-level parameters (e.g. item_size) as item-scoped custom dimensions.
19AdvancedGA4 E-commerce Tracking

Tracking cash-on-delivery orders?

  • Purchase still fires at order placement; send later status changes (cancelled/refund) via Measurement Protocol or import.
20AdvancedGA4 E-commerce Tracking

Funnel exploration for e-commerce?

  • view_item → add_to_cart → begin_checkout → add_payment_info → purchase, segmented by device/channel.
21AdvancedGA4 E-commerce Tracking

Tracking subscription/recurring revenue?

  • Initial purchase on site; renewals via server events (Measurement Protocol) with consistent client/user IDs.
22AdvancedE-commerce Data Layer & GTM

Interview: "Purchase event missing for Tabby/Tamara payments."

  • Payment redirects to external domain and returns to a different URL/without confirmation event – add unwanted referral, ensure thank-you page pushes purchase, or send server-side.
23AdvancedE-commerce Data Layer & GTM

Preventing duplicate purchases on reload?

  • Fire once per transaction using a cookie/localStorage flag of transaction_id or server-side marking.
24AdvancedE-commerce Data Layer & GTM

Items array best practices?

  • Consistent item_id with feed/catalog, categories, brand, variant; same IDs across Google Merchant Center and Meta catalog.
25AdvancedE-commerce Data Layer & GTM

Value: include tax/shipping?

  • Decide a standard (usually product revenue excl. shipping) and keep consistent across platforms.
26AdvancedE-commerce Data Layer & GTM

Tracking coupons?

  • coupon parameter at order and item level – analyse promotions.
27AdvancedE-commerce Data Layer & GTM

view_item_list and select_item usage?

  • Measure category/list performance (index, item_list_name).
28AdvancedE-commerce Data Layer & GTM

Testing ecommerce dataLayer?

  • Preview mode → Data Layer tab → check object at each event; GA4 DebugView items.
29AdvancedE-commerce Data Layer & GTM

Server-side purchase backup?

  • Send purchase from backend via Measurement Protocol/sGTM for reliability – dedupe by transaction_id.
30AdvancedE-commerce Data Layer & GTM

Refunds via GTM?

  • dataLayer refund event in admin/order systems or server-side.

More GA4 question topics

Want an expert to run your GA4?

Book a free strategy call and get your tracking and reporting set up right.

Book a free call