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.

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
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.
Promotion events?
- view_promotion, select_promotion (internal banners).
Intermediate questions
Required purchase parameters?
- transaction_id, value, currency, items array (item_id or item_name), optional tax, shipping, coupon.
Item parameters examples?
- item_id, item_name, item_brand, item_category (to item_category5), item_variant, price, quantity, discount, coupon, index, item_list_name.
Why is transaction_id important?
- GA4 deduplicates purchases with the same transaction_id – prevents duplicates on thank-you page reloads.
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.
Monetization reports?
- E-commerce purchases (item-level), purchase journey, checkout journey, promotions.
Refund tracking?
- Send refund event with transaction_id (full) plus items (partial) – via dataLayer or Measurement Protocol.
Currency issues?
- Always send currency; GA4 converts to property currency; missing currency → revenue not recorded properly.
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}]}});
How does GA4 Event tag read ecommerce data in GTM?
- Tick "Send Ecommerce data" with Data source: Data Layer – reads the ecommerce object automatically.
add_to_cart push example?
- dataLayer.push({ecommerce:null}); dataLayer.push({event:'add_to_cart', ecommerce:{currency:'AED', value:120, items:[...]}});
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.
Shopify customer events & GTM?
- Shopify checkout extensibility uses Customer events (custom pixels) sandbox – GTM can run inside via custom pixel with analytics.subscribe events.
WooCommerce data layer?
- Plugins like GTM4WP generate GA4 ecommerce dataLayer events automatically.
Advanced questions
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.
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.
Item-scoped custom dimensions?
- Register item-level parameters (e.g. item_size) as item-scoped custom dimensions.
Tracking cash-on-delivery orders?
- Purchase still fires at order placement; send later status changes (cancelled/refund) via Measurement Protocol or import.
Funnel exploration for e-commerce?
- view_item → add_to_cart → begin_checkout → add_payment_info → purchase, segmented by device/channel.
Tracking subscription/recurring revenue?
- Initial purchase on site; renewals via server events (Measurement Protocol) with consistent client/user IDs.
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.
Preventing duplicate purchases on reload?
- Fire once per transaction using a cookie/localStorage flag of transaction_id or server-side marking.
Items array best practices?
- Consistent item_id with feed/catalog, categories, brand, variant; same IDs across Google Merchant Center and Meta catalog.
Value: include tax/shipping?
- Decide a standard (usually product revenue excl. shipping) and keep consistent across platforms.
Tracking coupons?
- coupon parameter at order and item level – analyse promotions.
view_item_list and select_item usage?
- Measure category/list performance (index, item_list_name).
Testing ecommerce dataLayer?
- Preview mode → Data Layer tab → check object at each event; GA4 DebugView items.
Server-side purchase backup?
- Send purchase from backend via Measurement Protocol/sGTM for reliability – dedupe by transaction_id.
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.