Tracking the Online Scheduler: Google Analytics

Learn how to set up Google Analytics to track page views and events in your online scheduler.

Jonathan avatar
Written by Jonathan
Updated over a week ago

You can use Google Analytics to track visitors to your Clinicminds online scheduler. This page provides a description of setting up and using the integration with Google Analytics 4 (GA4).

Set Up Google Analytics Tracking

To use Google Analytics tracking, you need to have a Google Analytics account. Are you new to Google Analytics? Then follow the setup guide.

Are you already using Google Analytics? Then you can create a new property, so the data from your online scheduler is registered separately from your main website. Use https://schedule.clinicminds.com as URL.
Or you can choose to use your existing property from your main website, which allows you to register data from your online scheduler together with your main website using cross-domain measurement.

After setting up a property, find its tag ID. Sign in to Google Analytics and click Admin (in the bottom left). Select the right property in the Property column, and click Data Streams. Click the right data stream, and copy the measurement ID that starts with G-.

Now open Clinicminds and go to menu > Clinic Settings > Calendar > Online Bookings > Analytics & Redirect. Now, check the option Enable Google Analytics tracking. Enter your tag ID in the Tag ID field below.

Optionally, you can check the option Anonymise IP addresses to enable IP anonymization in Google Analytics. This prevents Google Analytics from tracking the full IP addresses of visitors. Especially for EU clinics, this is recommended, since it can be part of your measures for GDPR compliance.

Save the settings with the Save button at the bottom. Google Analytics tracking will become active in your online scheduler immediately!

Tracked Page Views and Events

At every screen in the online scheduler, a page view is tracked. Also, some events are tracked during the booking flow. The tracked page views and events for the three possible flows are listed below.

Alternatively, we recommend using the Google Analytics Debugger extension for Google Chrome. This extension enables debugging mode of the Google Analytics tracker and shows information about everything that’s tracked in the browser’s developer console. (Note that you need experience with the developer console to use this.)

New Booking

For new bookings, the following page views and events are tracked:

  1. Page view: https://schedule.clinicminds.com/services

  2. Event: category “Clinicminds Scheduler”; action “Scheduler Opened”

  3. Event: category “Clinicminds Scheduler”; action “Service Selected”; label service name

  4. Page view (optional): https://schedule.clinicminds.com/appointment-types
    If the selected service only allows for “Treatment” appointment types, this page view may be skipped.

  5. Event: category “Clinicminds Scheduler”; action “Appointment Type Selected”; label appointment type

  6. Page view (optional): https://schedule.clinicminds.com/locations
    If the clinic has only one location, or if a location is specified in the URL, this page view may be skipped.

  7. Event: category “Clinicminds Scheduler”; action “Location Selected”; label location name
    If the location is specified in the URL, this event may be tracked earlier.

  8. Page view: https://schedule.clinicminds.com/availability

  9. Page view: https://schedule.clinicminds.com/personal-details

  10. Page view: https://schedule.clinicminds.com/verification

  11. Page view: https://schedule.clinicminds.com/payment
    If the selected service does not require a deposit, this page view may be skipped.

  12. Page view: https://schedule.clinicminds.com/booked

  13. Event: category “Clinicminds Scheduler”; action “Appointment Booked”

Rescheduling

For reschedulings of existing bookings, the following page views and events are tracked:

  1. Page view: https://schedule.clinicminds.com/appointment

  2. Page view (optional): https://schedule.clinicminds.com/locations
    If the clinic has only one location, this page view may be skipped.

  3. Event: category “Clinicminds Scheduler”; action “Location Selected”; label location name

  4. Page view: https://schedule.clinicminds.com/availability

  5. Page view: https://schedule.clinicminds.com/rescheduled

  6. Event: category “Clinicminds Scheduler”; action “Appointment Rescheduled”

Cancellation

For cancellations of existing bookings, the following page views and events are tracked:

  1. Page view: https://schedule.clinicminds.com/appointment

  2. Page view: https://schedule.clinicminds.com/canceled

  3. Event: category “Clinicminds Scheduler”; action “Appointment Canceled”

Cross-Domain Measurement

You can use cross-domain measurement to register the data from your online scheduler together with your main website. This can be useful if you want to track bookings in the scheduler as conversions of visits started on your main website.

To use cross-domain measurement, in Clinicminds enter the tag ID of the same property as you use for your main website in Google Analytics. When you have embedded your online scheduler using our JavaScript widget, the required parameters for cross-domain measurement will automatically be sent from your website the the online scheduler by our widget.

If you use regular links to the online scheduler (without our JavaScript widget), or if you prefer to use the native Google Analytics linker parameter instead of our custom implementation, you also need to add the online scheduler to the domains of your tag:

Sign in to Google Analytics and click Admin (in the bottom left). Select the right property in the Property column, and click Data Streams. Click the right data stream. Click Configure tag settings (at the bottom). Click Configure your domains. Then, click Add condition, and enter schedule.clinicminds.com under Domain. Finally, click Save.

Setting Up Conversion Goals

You can track conversion (i.e., completed bookings) in your online scheduler. For this, you should create a goal in Google Analytics. You can either use a destination goal for the final page view (https://schedule.clinicminds.com/booked) or an event goal for the final event (category “Clinicminds Scheduler”, action “Appointment Booked”) of the booking flow.

If you’re using Google Ads, you can even import the Analytics goal to track conversion of your Google Ads.

Tracking Custom Campaigns

You can track custom campaigns using URL parameters in your online scheduler. When setting up the scheduler and widget, you can simply enter your custom campaign parameters.

Did this answer your question?