You can use Google Tag Manager to add custom analytics and scripts to your Clinicminds online scheduler. This page provides a description of setting up and using the integration with Google Tag Manager.
Note: Do you want to use Google Analytics or Meta Pixel tracking in the online scheduler? We recommend to use our integration for that, because they are optimised for tracking useful events. See the help pages for Google Analytics and Meta Pixel. Use Google Tag Manager only if you want to load other scripts.
Set Up Google Tag Manager
To use Google Tag Manager, you need to have a Google Tag Manager account. Are you new to Google Tag Manager? Then follow the getting started guide. Are you already using Google Tag Manager? Then add a new container, so you can configure tags separately from your existing website. Don’t forget to add and publish tags in your container.
After setting up a container, find its ID in Google Tag Manager. Sign in to Google Tag Manager and click Admin (top left). Find the right container, and copy the container ID that’s displayed right of its name.
Now open Clinicminds and go to menu > Clinic Settings > Calendar > Online Bookings. Click on Analytics & Redirect. Next, check the option Load Google Tag Manager container. Enter your container ID in the Container ID field below.
Save the settings with the Save button at the bottom. The Google Tag Manager container will become active in your online scheduler immediately!
Note: You should ensure that your container and its tags comply with (privacy) regulations like GDPR.
Tracked Data Layer Events
Some events are tracked during the booking flow. The tracked events for the three possible flows are listed below.
Alternatively, we recommend using the Google Tag Manager Preview Mode to see information about everything that’s tracked in a debug console.
New Booking
For new bookings, the following events are tracked:
Event: name
ServiceSelected
; variableservice
with service nameEvent: name
AppointmentTypeSelected
; variableappointmentType
with appointment typeEvent: name
LocationSelected
; variablelocation
with location name
If the location is specified in the URL, this event may be tracked earlier.Event: name
AppointmentBooked
; variableservice
with service name; variableappointmentType
with appointment type; variablelocation
with location name
Rescheduling
For reschedulings of existing bookings, the following events are tracked:
Event: name
LocationSelected
; parameterlocation
with location name
Cancellation
For cancellations of existing bookings, no events are tracked.