Skip to main content

Amelia Event Registration GTM Event Listener

Track Amelia WordPress event registration interactions in GTM. Monitor event views, attendee selection, and confirmed registrations with ameliaEvent and ameliaData variables.

ameliawordpresseventsregistrationbookinggtmga4

Event fired

ameliaActivity

Key variable

ameliaEvent

Amelia Event Registration Form

Overview

Amelia's event registration feature handles multi-attendee event bookings, conferences, workshops, webinars. This listener tracks the registration funnel from event view to confirmed booking.

Event fired: ameliaActivity Variables: ameliaEvent, ameliaData

Common Use Cases

  • Track event registrations as GA4 conversions
  • Measure event registration funnel drop-off
  • Fire Google Ads conversion tags on event sign-up
  • Build audiences from event registrants for follow-up

Tracked Events

ameliaEventDescription
event viewedUser views event details
attendees selectedTicket quantity chosen
registration startedCheckout begins
registration confirmedEvent booking complete
registration failedBooking attempt failed

Installation

html
<!-- GTM Custom HTML Tag: Amelia Event Registration Listener -->
<script>
(function() {
  function ameliaEventPush(eventType, data) {
    window.dataLayer = window.dataLayer || [];
    window.dataLayer.push({
      'event': 'ameliaActivity',
      'ameliaEvent': eventType,
      'ameliaData': data || {}
    });
  }

  document.addEventListener('ameliaEventViewed', function(e) {
    var d = e && e.detail;
    ameliaEventPush('event viewed', {
      eventId: d && d.eventId,
      eventName: d && d.eventName,
      eventDate: d && d.eventDate,
      eventPrice: d && d.price
    });
  });

  document.addEventListener('ameliaEventRegistrationSuccess', function(e) {
    var d = e && e.detail;
    ameliaEventPush('registration confirmed', {
      bookingId: d && d.bookingId,
      eventId: d && d.eventId,
      eventName: d && d.eventName,
      attendees: d && d.attendees,
      totalPrice: d && d.totalPrice,
      customerEmail: d && d.customerEmail
    });
  });

  document.addEventListener('ameliaEventRegistrationError', function(e) {
    ameliaEventPush('registration failed');
  });
})();
</script>

Data Layer Output

Registration Confirmed

json
{
  "event": "ameliaActivity",
  "ameliaEvent": "registration confirmed",
  "ameliaData": {
    "bookingId": "booking_456",
    "eventId": "event_001",
    "eventName": "Digital Marketing Workshop",
    "attendees": 2,
    "totalPrice": "150.00",
    "customerEmail": "attendee@example.com"
  }
}

Triggers to Create

TriggerEventCondition
CE – Amelia Event RegisteredameliaActivityameliaEvent = registration confirmed
CE – Amelia Event ViewedameliaActivityameliaEvent = event viewed

Variables to Capture

Variable NameDL KeyExample
DLV – Amelia Event TypeameliaEvent"registration confirmed"
DLV – Amelia Event DataameliaDataObject
DLV – Amelia Event NameameliaData.eventName"Digital Marketing Workshop"
DLV – Amelia AttendeesameliaData.attendees2

GA4 Mapping

GA4 EventTriggerParameters
sign_upregistration confirmedmethod: "amelia_event", event_id
purchaseregistration confirmedvalue, items, transaction_id
view_itemevent vieweditem_name, price

Related Listeners