Google Analytics
The widget coding, which will need to be added to the back-end of your website, can be found through the Ticket Widget tab of your event admin.
To help provide you with a deeper insight into your marketing efforts, cross-domain tracking will allow you to drill down the data to view the source of conversions (for example, Facebook, Instagram or 3rd party websites).
If you're having trouble getting the integration to work, please check out our Google Analytics FAQ guide here.
SET UP GOOGLE ANALYTICS
CROSS-DOMAIN TRACKING
GOOGLE ANALYTICS EVENTS
- Log into Google Analytics and select Admin
- Select the correct property and click Property Settings
- Note down Tracking ID
SYNC GOOGLE ANALYTICS WITH TONIC
- Log into admin and select Manage
- Go to Sales Tracking tab and select Google Analytics
- Paste your GA Tracking ID into the Configure box and save
This will provide basic conversion tracking from the widget. For more thorough tracking, follow the Cross Domain Tracking Set Up below:
Step 2
CROSS-DOMAIN TRACKING
Cross Domain Tracking allows Google Analytics to share a user session from your website to the Tonic Checkout. This brings through more information about the current user, including their referral source.
CROSS-DOMAIN TRACKING SET UP
To use Cross Domain Tracking with the widget, you must add the Linker plugin to your Existing Google Analytics code. By doing this, the ticket widget is then able to pass details of the current user session to the Checkout.
Linker Plugin code:
<script>
ga('require', 'linker');
ga('linker:autoLink', ['designmynight.com'], false, true);
</script>
ga('require', 'linker');
ga('linker:autoLink', ['designmynight.com'], false, true);
</script>
Once added, the analytics code on your website should look like the below (Replacing UA-XXXXXXXX-X with your own unique Analytics ID).
GOOGLE ANALYTICS EVENTS
On a complete checkout, Tonic will send the following Google Analytic Event:
VIEW CONVERSIONS
Event > Top Events > Checkout Event
VIEW CONVERSION SOURCE
Event > Top Events > Checkout Event > Secondary Dimension > Acquisition > Source/Medium
GOAL TRACKING
If you’re interested in tracking goals in Google Analytics, check out our guide here: https://tonic.uservoice.com/knowledgebase/articles/1909636-google-analytics-goal-tracking