By connecting a Google Tag Manager container I.D., you will be able to track and analyze client interactions and appointment behavior. This article includes the steps to follow toward connecting your Google Tag Manager to your Carepatron workspace, as well as some steps on how to effectively create tags within Google Tag Manager to ensure proper results.
Adding GTM to your Workspace
Go to Settings > Scheduling > Online Booking
Scroll down to Analytics integration and click Edit
Add your Google Tag Manager container ID where prompted, and click Save when done
Creating Tags in GTM
Go to Google Tag Manager and select New Tag
Name your tag and click Tag Configuration
Assign a name to the variable as needed, and input your Measurement ID in the "Tag ID" field. You can easily copy the Measurement ID from Google Analytics. Leave the remaining parameters at their default settings.
Click Save when done
Tracking Referral Sources
To track referral sources, cross-domain tracking must be properly set up.
Here are some suggestions to assist: In the ‘Configuration settings’ section, consider adding additional parameters to support cross-domain tracking:
"cookie_flags" set to "samesite=none;secure"
In 2020, Chrome updated how cookies are shared across sites as part of ongoing security and privacy enhancements. More context can be found here: https://developers.google.com/search/blog/2020/01/get-ready-for-new-samesitenone-secure
"allowLinker" set to "true"
This allows domains to pass the Client ID, where the tracking data is stored.
"send_page_view" set to "true"
This is a default setting added by Google to send page views. Leave set to "True".
Blacklisted Tags
The following tags are blacklisted:
id | tag | deets |
html | Custom HTML | could execute scripts that can extract and send user data |
adm | Adometry | could inadvertently send PII or PHI to advertising platforms |
ga | Google Analytics Tag (legacy) | lacks built-in privacy feats like IP anon by default & prone to misconfiguration |
gcs | Google Consumer Surveys Website Satisfaction |
|