#Cross-domain Google Analytics + Eventbrite
Goal
Allow continuous tracking across two primary domains (primarydomain.com and eventbrite.com) in order to track the success of marketing initiatives.
Steps to Setup GA for Events
- Ensure that no live events are using "classic tracking"
- Go to manage page and select "manage" for the desired event
- Copy the event URL
- In GA Dashboard, create (or locate) a property for the event using the event URL, event name (or other suitable name)
- Copy the tracking ID for the property
- Back on Eventbrite, go to "Tracking Pixels" under "Analyze" for the event
- Apply the tracking ID to this event (or all)
- Save and verify it's firing
Steps to Enable Cross-domain support for Events
...here's where it gets tricky...
- Establish a method for obtaining and assigning a unique client-id for all visitors on your site. There are many ways to do this, but the easiest is to use the code sample provided by Google
ga(function(tracker) {
var clientId = tracker.get('clientId');
});
- Ensure all outbound links to Eventbrite follow this format:
https://www.eventbrite.com/e/EVENT_ID]?_eboga=[CLIENT_ID]
(where [EVENT_ID] and [CLIENT_ID] are the actual values)
- Enable ecommerce tracking (optional) - use naming conventions glossary provided by Eventbrite (r.1)
References