Skip to main content
All CollectionsEngagementOnline SchedulingOnline Scheduling Links & Widgets
Engagement: How to Set Up Google Tag Manager for Online Scheduling
Engagement: How to Set Up Google Tag Manager for Online Scheduling

Start tracking patient leads with your Engagement appointments, custom scheduling links, and scheduling invitations

Erika Gardner avatar
Written by Erika Gardner
Updated over 2 weeks ago

Google Tag Manager is a tag management system that helps manage and deploy various tracking codes (including GA4 tags) without modifying the website’s code directly.

In this article, we'll show you how to create a Google Tag Manager, add your GTM tag in Engagement, and start tracking clicks!


Step 1: Create a Google Tag Manager Account

  1. Go to https://tagmanager.google.com/ and register for an account

  2. From the upper right corner, click the Create Account

  3. Add the following:

    • Account Name

    • Country

    • Container name (provide a booking link for a specific practice)

    • Choose the correct Target platform

  4. Click Create

  5. Review the Google Tag Manager Terms of Service Agreement, then click Yes

  6. Your Google Tag Manager ID can be found in the upper right corner of your Tag Manager dashboard


Step 2: Enable Google Tag Manager Integration in Engagement

  1. From within Engagement, click Online Scheduling > Settings

  2. Ensure you are viewing the General settings section

  3. Select the checkbox to enable the Google Tag Manager integration

  4. Enter your GTM tag in the field and then click Save

Now that Google Tag Manager has been integrated with Engagement, all appointment bookings, custom scheduling links, and invitations to schedule will be monitored according to the rules set up on the Google Tag Manager site.

If you have GTM integration enabled, we recommend that you don't use Google Analytics (GA4) integration on the Custom Scheduling Links level.


Step 3: Set Variables and Triggers in Google Tag Manager

To monitor all clicks, follow the steps below to configure Variables and set Triggers in Google Tag Manager:

  1. In the Tag Manager dashboard, go to the Variables section

  2. Click Configure

  3. Select all actions from Clicks section

  4. All added variables are visible in the Built-In Variables list

  5. Click Triggers

  6. Click New

  7. Name your Trigger, then click the pencil icon to edit

  8. Click All Elements

  9. Make sure that All Clicks should be selected, then click Save button

  10. Your created Trigger should now show on the Triggers list

Test Triggers

Before publishing the changes on the Google Tag Manager side, it's a good idea to test whether the introduced variables and rules work properly. You can test your triggers by following the steps below:

  1. In the upper right corner of the Variables section of Tag Manager, click Preview

  2. Add an online scheduling, custom scheduling link, or scheduling invitation URL then click Connect

  3. Click Continue

  4. Confirm that the Google Tag Assistant is showing the correct Google Tag Manager ID

  5. Visit the site URL that you just connected by opening it in a new browser tab

  6. Click on the page/link, then go back to Tag Assistant dashboard and see if your click events appear

  7. If clicks are being monitored correctly, go back to the Google Tag Manager page and click Submit

  8. Click Publish

  9. Click Continue

  10. The summary page will show all changes

Upon finishing these steps, appointment booking, custom scheduling links, and invite to schedule pages will monitor all clicks.

Did this answer your question?