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.
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.
// 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_itemwithitem_id,item_name,price
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.
// 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
});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.
// 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_progressevents
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.
dataLayer.push({
event: 'ameliaActivity',
ameliaEvent: 'registration confirmed',
ameliaData: {
bookingId: 'booking_456',
eventName: 'Digital Marketing Workshop',
attendees: 2,
totalPrice: '150.00'
}
});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.
Supporting Listeners (Add-to-Cart Context)
These listeners feed awareness and intent signals upstream of purchase:
| Listener | GA4 Event | What It Adds |
|---|---|---|
| Drift Chat | generate_lead | Pre-sale chat conversations |
| Intercom | generate_lead | Customer support before checkout |
| Wisepops | sign_up | Cart abandonment popup conversions |
| OptinMonster | sign_up | Exit-intent capture |
| Vimeo | video_complete | Product demo video completions |
GA4 eCommerce Event Schema
For full GA4 eCommerce tracking, configure these events with the items array:
// 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, purchaseMapping Listener Data to GA4 Items
| Listener Variable | GA4 Items Field |
|---|---|
productId / serviceId | item_id |
productName / serviceName | item_name |
productPrice / bookingPrice | price |
quantity / attendees | quantity |
categoryName | item_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
- Go to Explore - Funnel Exploration
- Add steps using the events above as milestones
- Set "Open funnel" to see where users enter mid-funnel
- Use "Breakdown" by
item_categoryorserviceName
Google Ads eCommerce Conversion Tags
For each purchase-equivalent event, create a Google Ads Conversion Action:
| Listener | Conversion Event | Value Source |
|---|---|---|
| Barns2 Restaurant | wcRestaurant_action = order placed | {{DLV - Order Total}} |
| Amelia Appointment | ameliaAppointmentAction = booking confirmed | {{DLV - Amelia Price}} |
| Amelia Event | ameliaEvent = registration confirmed | ameliaData.totalPrice |
| CharityEngine | ce_event_name = donation completed | {{DLV - CE Amount}} |
Best Practices
- Deduplicate with transaction IDs, all booking/order listeners expose a booking/order ID; pass it as
transaction_idto prevent GA4 double-counting - Currency parameter, always pass
currency: "USD"(or your store's currency) with anyvalueparameter - 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
- 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.