How to track Event Espresso registrations with UTM parameters
Use the UTM Tracking add-on to record the first campaign or referral that brought a registrant to your website. Event Espresso stores that attribution with the registration so you can review it in the admin and include it in registration exports.
Before you begin
- Use Event Espresso 5.0.61 or later.
- Use PHP 7.4 or later.
- Get the Marketing Campaign Tracking add-on. You can purchase it à la carte with an active Core subscription, or it is included with the All Access Pass.
- Install and activate the UTM Tracking add-on.
- Make sure you can edit events, registration forms, and Event Espresso add-on settings.
- Review your privacy and cookie-consent requirements before you enable tracking for visitors.
When you activate the add-on, Event Espresso creates a UTM Tracking question group with seven admin-only questions: UTM Source, UTM Medium, UTM Campaign, UTM Term, UTM Content, First Landing Page, and Referrer. Attendees do not see these questions on the registration form.
Choose which events to track
- In your WordPress dashboard, go to Event Espresso → Events.
- Edit the event you want to track.
- In the event's registration form settings, assign the UTM Tracking question group to the primary registrant.
- Save or update the event.
Repeat these steps for each event you want to track. If a registration contains tickets for several events, Event Espresso saves the attribution when at least one event in the transaction uses the UTM Tracking questions.
To collect attribution for every event, go to Event Espresso → Registration Form → Question Groups, edit the Personal Information group, add the seven UTM Tracking questions, and save the group.
Configure cookie capture
- Go to Event Espresso → Add-ons → UTM Tracking.
- Enable Enqueue UTM Cookie Capture Script. This setting is enabled by default.
- Save the settings.
The script stores first-touch attribution in first-party cookies for 30 days. A later visit does not replace the original values.
Test a campaign link
- Open a private or incognito browser window. This prevents an earlier first-touch cookie from affecting the test.
-
Visit an event URL that includes UTM parameters. For example:
https://example.com/events/spring-workshop/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-workshop - Complete a registration for the event.
- In WordPress, go to Event Espresso → Registrations and open the registration.
- Confirm that the UTM Tracking answers contain the expected campaign values.
Use a new private window for each first-touch test. If you test in a normal browser window, clear the UTM Tracking cookies before trying a different campaign.
View registration attribution
Open a registration in Event Espresso → Registrations to view its UTM Tracking answers. The same fields are included when you export registrations to CSV.
If a visitor arrives without UTM parameters, the add-on uses the referrer when possible. The source and medium may be recorded as an organic search, a referral, or direct traffic.
Use attribution in admin messages
You can include a UTM answer in an Event Espresso message by using a primary-registrant answer shortcode. For example:
[PRIMARY_REGISTRANT_ANSWER_*UTM Source]
Add these shortcodes only to administrator-facing message templates. Do not include attribution details in attendee-facing messages.
Address privacy and cookie consent
The add-on can store full landing-page and referrer URLs. Those URLs may contain query-string data. Review the suggested disclosure under Settings → Privacy → Policy Guide in WordPress, and update your privacy notice to match how your site uses this data.
The tracking cookies are first-party cookies and expire after 30 days. If your consent process requires tracking to remain off until a visitor agrees, keep the capture script disabled until your consent solution allows it. A developer can also load the script conditionally with the add-on's consent filters.
Troubleshoot missing attribution
- The registration has no UTM answers: Confirm that the UTM Tracking question group is assigned to the event and that cookie capture is enabled.
- A new campaign does not replace the old one: This is expected. The add-on records the first touch for 30 days. Test in a private window or clear the tracking cookies.
- An admin-created registration has no attribution: Registrations created in the WordPress admin are intentionally skipped.
- A wait-list registration has no attribution yet: Attribution is saved after the attendee completes the attendee-information step.
- The CSV does not include the fields: Confirm that the UTM Tracking questions are assigned to the event's registration form.
- The settings are locked: Confirm that the site has an active license entitlement for the add-on.
Event Espresso saves attribution on the primary registration only. Empty values are not saved, and an existing value is not overwritten.
Related documentation
For conversion pixels and advertising-network purchase tracking, see Tracking eCommerce Conversions with Event Espresso into Advertising Networks.