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
Step 6 - Enter your 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
ga('require', 'linker');
// Instructs the Linker plugin to automatically add linker parameters
// to all links and forms pointing to the domain "destination.com".
gtag('set', 'linker', {'domains':['YOURCLINIC.janeapp.com']} );
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.
Goal Tracking
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:
^/appointments/.*
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.
Privacy Policy
Section 7 of Google Analytics’Terms of Service states:
“You must post a Privacy Policy and that Privacy Policy must provide notice of Your use of cookies, identifiers for mobile devices (e.g., Android Advertising Identifier or Advertising Identifier for iOS) or similar technology used to collect data. You must disclose the use of Google Analytics, and how it collects and processes data. This can be done by displaying a prominent link to the site “How Google uses data when you use our partners’ sites or apps”, (located at www.google.com/policies/privacy/partners/, or any other URL Google may provide from time to time). You will use commercially reasonable efforts to ensure that a User is provided with clear and comprehensive information about, and consents to, the storing and accessing of cookies or other information on the User’s device where such activity occurs in connection with the Service and where providing such information and obtaining such consent is required by law.”
To learn more about the terms of service for using Google Analytics, please visit their Marketing Platform website.
Happy tracking!