FareHarbor offers full Google 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.)
There are a few steps to make sure that visitors are tracked between your website and the booking process:
- Sign up for Google Analytics if you haven’t already
- Add the tracking code to your website
- Add the tracking ID to FareHarbor
- Make sure your site uses the Lightframe API to link to FareHarbor
- Enable Ecommerce in Google Analytics
- Add your domain to the Referral Exclusions list
For more information on these steps, read below.
Add the Google Analytics code to your site
Add the Google 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.
Add your Google Analytics tracking ID to FareHarbor
Contact email@example.com with your Google Analytics tracking identifier and request your integration be set up.
During the integration process, we’ll also have you add a FareHarbor email address to your Google Analytics account. This allows FareHarbor to communicate with your Analytics account.
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.
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 Google Analytics.
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 Google 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.
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 above.)