Note: Google's Universal Analytics will be depreciated on July 1st, 2023 .
The Jane team is currently evaluating options to upgrade our Analytics integration to support Google Analytics 4, in the meantime, these below instructions will continue to work until that date.
If you would like to nerd out on the stats of how many people are using your online booking site, you can use Google Analytics.
If you don’t have a Google Analytics account already, your first step will be to sign up for a free account. You can Sign Up Here.
Google has great guide documentation to help you through the sign-up process, step by step: Get Started with Analytics.
Google requires you to set up a new Property specifically for your Jane online booking site. This property will have its own Tracking ID, separate from the one for your main website.
Here’s a series of screenshots that walks you through the process.
Step 1 - Log into Google Analytics, and open Admin Settings
Step 2 - Create a New Property in Google Analytics
Step 3 - Enter Your Clinic Info and your Jane Online Booking URL
Next, toggle on Create a Universal Analytics Property enter in your website URL and choose Create a Universal Analytics Property only.
Step 4 - Get Your Tracking ID
Step 5 - Enter Your Tracking ID in Jane
Plugin on Your Main Website
The last step is to set up Google’s Linker Plugin which will track traffic from your main website to your Jane site. Here’s Google’s extensive guide on the topic: Google’s Linker Plugin Guide .
The important bit is this, which you can add to your existing Google Analytics tracking code on your main website (not your Jane site):
// Loads the Linker plugin
// Instructs the Linker plugin to automatically add linker parameters
// to all links and forms pointing to the domain "destination.com".
ga('linker:autoLink', ['yourclinic.janeapp.com'], false, true);
All you need to do is replace yourclinic.janeapp.com with your own Jane URL and add the Google Analytics code above to your website. It is recommended that you place your code in the head of your site and between script tags.
If you want to track booked appointments as a conversion goal in Google Analytics, you can use the following goal expression in your yourclinic.janeapp.com Google Analytics Property:
In the Admin area your Google Analytics Account head to Goals under View.
Click Create New Goal and then mark the Custom radio button. Then click Continue.
Next, you will set the name and type of goal you wish to track. Set this goal as a Destination and call it “Booked Appointments.” Click Continue.
Finally, you will set the Goal Details so that your goal Destination uses a Regular Expression to determine when a goal conversion has occurred. Use the drop-down menu to select Regular Expression and copy the following expression into the open field adjacent: ^/appointments/.*
Click Save and you are done! Now Google Analytics will begin tracking each time someone completes a booking on your Jane URL.
Goal Tracking For Multiple Locations
If you have multiple clinic locations in Jane, you may be thinking… Wow, how neat is that Google Analytics integration? What if I want to set up goals per location in my Jane account? To see appointments booked per location, for example?
I have great news, it is possible to set up individual goals per location. We just need to make a slight tweak when creating goals. Rather than typing in ^/appointments/.* we would input ^/locations\/location-name-from-url/.* in the Regular Expression box.
Now you’re tracking brilliantly for each of your locations.
Section 7 of Google Analytics’Terms of Service states:
To learn more about the terms of service for using Google Analytics, please visit their Marketing Platform website.