How do I set up Google Analytics?

Google have made some changes to their solution and the latest update is no longer compatible with Fresha. We’re working with Google to bring this functionality back as quickly as possible.

Tracking the success of your online marketing activity can provide invaluable insight into how your business is performing against its competitors and our built-in analytics features can help you capture online booking traffic data in your Google Analytics account. 

To set up Google Analytics for your Fresha online booking links, follow these simple steps:

  1. Sign in to Google Analytics. If you don’t have an account, you can create one for free here.
  2. Click on Admin settings.png button on the bottom left sidebar of your dashboard.
  3. Select an account from the drop-down or create an account.
  4. Click on the drop-down menu to select a property or Create property
  5. Add your Property name. We recommend using your full business name when creating a property.
  6. Select your timezone, choose your currency, and click Next.
  7. Choose your industry, business size, and what you’d like to measure, and click Create.
  8. Under Data streams, click on Web and add your default URL (use your direct booking link that can be found on your Online Bookings under Direct links).
  9. Click Create stream and under Measurement ID, click copy
  10. Go back to your Fresha account and under Integrations, click on Google analytics and Set up now.
  11. Paste the code under Tracking ID, Enable tracking blue_tick.png, and click Save.

NOTE: Each Fresha account can be integrated with only one Google Analytics ID.

Google will now track your Fresha online booking traffic in real-time, and send events any time someone books an appointment. There are two types of events sent to Google Analytics when an online booking is made:

  • Pageview - these are sent for all steps during the booking process.
  • Appointment - when the appointment booking has been confirmed or completed.

PRO TIP: When creating a new Google Analytics account, you’ll need to add your scheduling page URL. Simply go to Admin settings.png, click on Property settings and add https://www.fresha.com.

Create goals and track conversions 

You can create goals in Google Analytics based on events to track conversions, for example to track all the times an appointment has been created via an online booking link.

To create a goal and start tracking your conversions, follow these steps:

  1. Sign in to Google Analytics.
  2. Click on Admin and choose which account you’d like to view from the drop-down.
  3. Under View, click on Goals and select New goals.
  4. Select Custom, give your goal a name, for example, Appointment conversions, and click on Event.
  5. The Goal details would look like the following:
  • Category - Fresha
  • Action - Appointment
  • Label - Name of the location the appointment has been book in
  • Value - The total value of the appointment booked

Click Save and you can start tracking conversions from your online booking links.

Cross-domain conversion tracking (technical)

You can also use Google Analytics to track conversions from Adwords by connecting the two. If your AdWords campaign is linked to your own website (which uses your online booking link) you can track conversions from your Fresha online booking, as long as your cross-domain tracking is configured correctly.

This is how your standard Google Analytics script should look like at this point:


Then, make sure you have added the additional two lines for the entire script to look like this:


NOTE: If the Tracking ID's do not match, the conversions will not track. Make sure the Tracking ID (e.g. UA-XXXXXX-X) from your Google Analytics script, and implemented in your website, is the same one added to your Fresha account under Analytics.


Receiving events after booking an appointment

Are you receiving events after booking an appointment?

Events will only be sent to Google Analytics for new appointments scheduled from your Fresha online booking link after the integration was set up.

To see all events from Fresha:

  1. Head to Behaviour. 
  2. Click on Events. 
  3. Select Overview. 

If you are seeing events being sent to Google Analytics, that means the integration is successful. Double-check the date range selected inside of Google Analytics. By default, it will exclude today.

If you see events from Fresha but they aren't showing up as goals, this will most likely be due to a goal having a typo, so it's worth doubling checking there are no mistakes.

NOTE: Goal conditions are case sensitive and must match the Category, Action, and the optional Label (if it is entered) exactly. 

You can click verify this goal to test the goal settings. If the goal conditions exactly match what's in Fresha, you should follow along with the next section to be sure you can see events from Fresha in Google Analytics.

Referrals for goals showing your own domain

You'll need to add your domain to the referral exclusion list in Google Analytics so that it doesn't show your domain referring traffic to your Fresha online booking. Once you ignore referrals from your own domain, the original traffic source will be preserved.

Was this article helpful?

Can’t find your answer?

Get in touch and we’ll get back to you as soon as we can.

Contact us