Universal Analytics Integration
Last updated: March 22, 2023
Important notice for current Universal Analytics (UA) users:
Google has announced that as of July 1, 2023, Universal Analytics (UA) will be put into read-only mode, and all analytics data will only be processed using Google Analytics 4 (GA4).
Please note:
- Google has automatically migrated your existing UA property to a new GA4 property. To verify whether your data is being collected in GA4, follow the instruction on this help page.
- Setup and configuration instructions for GA4 in FareHarbor are described in this help page.
If you require further assistance, please reach out to FareHarbor Support.
FareHarbor offers full Universal Analytics and Ecommerce integration between your website and customers booking online.
Google Ecommerce allows you to automatically track sales sources and conversion metrics with Google Analytics. (Learn more.)
Connecting FareHarbor and Universal Analytics
To make sure that visitors are tracked between your website and the booking process, follow the steps below.
1. Add the Universal Analytics code to your site
Add the Universal Analytics tracking code to your page, if you haven’t already. This code should appear in the section of every page on your site. More information.
2. Use the Lightframe API
Make sure you are using the Lightframe API to link to FareHarbor; only buttons and links you set up using the API will enable cross-domain linking.
3. Add your Universal Analytics Property ID to FareHarbor
Please note that we require the Universal Analytics property ID, not the Google Analytics 4 property ID.
Contact [email protected] with your Universal Analytics property ID and request your integration be set up.
4. Add FareHarbor as an admin
This allows FareHarbor to communicate with your Analytics account.
- In your Universal Analytics dashboard, click the Admin (gear) icon.
- Depending on where you want to add the FareHarbor user, navigate to the Account, Property, or View column, then click User Management.
- Click the plus + button at the top of the page, then Add new users.
- Enter the email address provided to you by your FareHarbor Account Manager or Support Analyst.
- Check the box next to Notify new users by email.
- Under Permissions, check the box next to Edit. This will automatically enable the Collaborate and Read & Analyze permissions.
- Click Add.
5. Enable Ecommerce tracking in Google Analytics
Enable ecommerce by visiting the settings for the property you are working with. In the “Ecommerce Settings” section you should ensure that “Enable Ecommerce” is set to “On”.
FareHarbor automatically sends purchase and conversion information to Universal Analytics.
6. Add your domain to the Referral Exclusions list
Your Ecommerce conversion data or other tracking information may show your own website as the referral source instead of the actual referring domain. To fix this, add your domain to the referral exclusions list in Universal Analytics.
Visit the “Tracking Info” section for the property you are working with. In the “Referral Exclusion List” section, select “Add Referral Exclusion” to add your website (yourwebsite.com) as an excluded domain.
Please note: you must also add fareharbor.com
to the referral exclusions list in Google Analytics.
Where to find Ecommerce
The Ecommerce section is located under Conversions in the menu on the left.
What type of information can you find?
The Ecommerce reports allow you to analyze bookings completed or purchases on your site. You can see product and transaction information, average order value, conversion rates, time to purchase, and other data.
Product Performance Report
The Product Performance report lets you see how your products (items or activities in FareHarbor) performed in terms of revenue, price, and quantity.
By adding different Dimensions, we can put all this data in more context:
Add Booker Location
Select the product you want to analyze and add City as a “Secondary dimension”:
This will show you from which city your clients are booking:
Booking Source/Medium
There are two ways to see the source of the bookings (source is the origin of your traffic).
Overview: where you’ll see the revenue generated per source:
Booking source per product: Select the product you want to analyze and then add Source/medium as a “Secondary dimension”:
Frequently Asked Questions
Why isn’t the integration working?
If your Analytics integration isn’t working as you’d expect, double-check the following:
No tracking: Make sure you’re using Google’s “Universal Analytics” tracking on your site. You’ll see
analytics.js
in your tracking code. More information from Google. Also, check that you are using our Lightframe API properly.Self-referrals: Ensure your domain is added to the referral exclusions list. (See Step 5 above.)
What parts of the booking process are tracked?
Google Analytics tracks every page view and purchase made through FareHarbor, including page views and purchases within the Lightframe (FareHarbor’s iframe booking process).
Does FareHarbor support Google Analytics 4 (GA4)?
Yes! Integration with Google Analytics 4 is now supported. See our GA4 help pages for more information on features, setup and conversions.