Skip to main content

Most Useful eCommerce GTM Listeners

Essential Google Tag Manager event listeners for online stores. Track product interactions, cart events, booking completions, and order confirmations in GA4 without missing a conversion.

ecommercewoocommercega4gtmpurchaseconversioncartcheckout

Most Useful eCommerce GTM Listeners

Standard WooCommerce and GA4 integration captures basic page views but misses the conversion moments that matter most for online stores: quick view product interactions, add-to-cart from modals, multi-step booking completions, restaurant order flows, and donation processing. This guide covers the GTM event listeners that fill every gap in a typical eCommerce GTM setup, giving GA4 the complete funnel data it needs for accurate attribution and conversion optimisation.

Whether you run a WooCommerce store, a service booking site, or a nonprofit accepting donations, these listeners ensure no transaction goes untracked.

The eCommerce Tracking Gap

GA4's Enhanced Measurement captures page views but not the rich product interaction data you need: quick view opens, add-to-cart from modal, booking completions, or restaurant order flows. The listeners in this guide fill every gap in a typical online store's GTM setup.

Must-Have eCommerce Listeners

1. Barns2 WooCommerce QuickView Pro

GA4 Events: view_item, add_to_cart Impact: High, quick view is often the primary product discovery path

QuickView modals bypass the product page entirely. Without this listener, you miss every view_item event for products browsed via quick view.

javascript
// Fires when modal opens
dataLayer.push({
  event: 'wp_quickview_interactions',
  wp_qp_action: 'quickview opened',
  productId: '123',
  productName: 'Blue T-Shirt',
  productPrice: '29.99'
});

GTM Setup:

  • Trigger: Custom Event wp_quickview_interactions
  • GA4 Tag: view_item with item_id, item_name, price

Full Setup →

2. Barns2 WooCommerce Restaurant Ordering

GA4 Events: add_to_cart, begin_checkout, purchase Impact: Essential for food delivery and restaurant sites

Transforms WooCommerce into a menu-driven ordering system. Standard WooCommerce GTM tracking does not cover the restaurant ordering plugin's custom jQuery events.

javascript
// Full funnel: item added - order started - order placed
dataLayer.push({
  event: 'wcRestaurant_interactions',
  wcRestaurant_action: 'order placed',
  orderId: 'order_12345',
  orderTotal: '45.50',
  itemCount: 3
});

Full Setup →

3. Amelia Appointment Booking

GA4 Events: book_appointment, begin_checkout, view_item Impact: High for service businesses (salons, clinics, fitness)

Multi-step booking funnel with service selection, staff selection, date/time, and confirmation. Each step is a funnel stage you can track for drop-off analysis.

javascript
// Step-by-step funnel tracking
dataLayer.push({
  event: 'ameliaAppointmentEvent',
  ameliaAppointmentAction: 'booking confirmed',
  serviceId: 'service_001',
  serviceName: '60-min Massage',
  bookingPrice: '85.00'
});

Conversion Setup:

  • Primary conversion: ameliaAppointmentAction = booking confirmed
  • Funnel analysis: Track steps 1-4 as checkout_progress events

Full Setup →

4. Amelia Event Registration

GA4 Events: sign_up, purchase, view_item Impact: High for conference/workshop/webinar registrations

Multi-attendee event bookings with ticket quantity. Maps cleanly to GA4 purchase with attendee count as quantity.

javascript
dataLayer.push({
  event: 'ameliaActivity',
  ameliaEvent: 'registration confirmed',
  ameliaData: {
    bookingId: 'booking_456',
    eventName: 'Digital Marketing Workshop',
    attendees: 2,
    totalPrice: '150.00'
  }
});

Full Setup →

5. CharityEngine (for Nonprofits)

GA4 Events: purchase (donation as transaction) Impact: Critical for nonprofits, every missed donation is lost revenue attribution

Donation amounts map directly to GA4's value parameter. Recurring gifts get their own frequency dimension.

Full Setup →

Supporting Listeners (Add-to-Cart Context)

These listeners feed awareness and intent signals upstream of purchase:

ListenerGA4 EventWhat It Adds
Drift Chatgenerate_leadPre-sale chat conversations
Intercomgenerate_leadCustomer support before checkout
Wisepopssign_upCart abandonment popup conversions
OptinMonstersign_upExit-intent capture
Vimeovideo_completeProduct demo video completions

GA4 eCommerce Event Schema

For full GA4 eCommerce tracking, configure these events with the items array:

javascript
// Standard GA4 eCommerce item structure
{
  item_id: "SKU_12345",
  item_name: "60-min Massage",
  item_category: "Services",
  price: 85.00,
  quantity: 1
}

// Events that use items array:
// view_item, add_to_cart, begin_checkout, purchase

Mapping Listener Data to GA4 Items

Listener VariableGA4 Items Field
productId / serviceIditem_id
productName / serviceNameitem_name
productPrice / bookingPriceprice
quantity / attendeesquantity
categoryNameitem_category

Conversion Funnel Configuration

Awareness - Consideration - Intent - Purchase ------------- --------------- ------ -------- video_complete view_item add_to_cart purchase (Vimeo/Wistia) (QuickView) (Restaurant) (Order Placed) session_start begin_checkout book_appointment (chat opened) (step 3+) (Amelia)

Setting Up the Funnel in GA4

  1. Go to Explore - Funnel Exploration
  2. Add steps using the events above as milestones
  3. Set "Open funnel" to see where users enter mid-funnel
  4. Use "Breakdown" by item_category or serviceName

Google Ads eCommerce Conversion Tags

For each purchase-equivalent event, create a Google Ads Conversion Action:

ListenerConversion EventValue Source
Barns2 RestaurantwcRestaurant_action = order placed{{DLV - Order Total}}
Amelia AppointmentameliaAppointmentAction = booking confirmed{{DLV - Amelia Price}}
Amelia EventameliaEvent = registration confirmedameliaData.totalPrice
CharityEnginece_event_name = donation completed{{DLV - CE Amount}}

Best Practices

  1. Deduplicate with transaction IDs, all booking/order listeners expose a booking/order ID; pass it as transaction_id to prevent GA4 double-counting
  2. Currency parameter, always pass currency: "USD" (or your store's currency) with any value parameter
  3. Fire on confirmation page, not thank-you redirect, use the listener's native "success" event rather than URL-based triggers to avoid iframe/redirect mismatches
  4. Test with GTM Preview + GA4 DebugView simultaneously, confirm both receive the event before going live

Related Guides


Need Help Setting Up eCommerce Tracking?

Getting GA4 eCommerce tracking right across WooCommerce, booking plugins, and restaurant ordering systems requires careful data layer design and GTM configuration. If you need a specialist to implement or audit your eCommerce GTM setup, the GetInlytics team handles the full implementation - from listener deployment to GA4 conversion reporting.

Get in Touch - Buy Us a Coffee if these recipes saved you time.