Marketing & Onboarding

Track Call, WhatsApp & Form
Conversions via GTM

Load Google Tag Manager through your CaseIndex widget and track every patient inquiry — without waiting on a web agency.

Why Track Call, WhatsApp & Form Actions?

CaseIndex automatically tracks completed widget bookings (Appointment Booked) when your Google Ads ID and Conversion Label are configured. However, many clinic visitors still tap Call (tel:), WhatsApp (wa.me), or submit a Callback Form instead of booking online.

If your CaseIndex widget is installed site-wide, you can paste a Google Tag Manager (GTM) container ID directly into CaseIndex. The widget dynamically injects GTM across every page — letting you track Call, WhatsApp, and Thank-You page conversions without asking a WordPress/web agency to edit theme files.

Mobile Call Clicks

Track every tap on tel: links reliably — even where Google forwarding numbers aren't supported.

WhatsApp Inquiries

Measure clicks on wa.me and WhatsApp chat buttons as real Google Ads conversions.

Zero Website Edits

Save GTM-XXXXXXX once in CaseIndex — no WordPress plugin or developer needed.

Avoid Double-Counting

If your website already loads GA4 (G-...) and CaseIndex already fires your booking conversion (AW-.../Label), do not add a second GA4 Configuration / Google Tag or a duplicate CaseIndex booking tag inside GTM. Only add the Conversion Linker and your new Call / WhatsApp / Form tags.


Step 1: Create the GTM Container & Share Ownership

If an onboarding specialist or agency is setting this up for a clinic, make sure the doctor / clinic owner has full Administrator access in GTM.

1.1

Create Account & Web Container

Go to tagmanager.google.com and click Create Account. Enter the clinic name, select Country (e.g., India), enter the website domain as the Container Name, choose Web, and click Create.

1.2

Share Administrator Access with the Clinic Owner

Copy your Container ID (formatted as GTM-XXXXXXX). Then go to Admin → User Management (under the Account column) → click + → Add users → enter the doctor's Google Ads email, grant Account: Administrator and Container: Publish, and send the invite.


Step 2: Save Your GTM ID in CaseIndex

2.1

Add GTM ID in Clinic Settings

Open CaseIndex Settings → Booking Widget / Tracking, paste your GTM-XXXXXXX ID into the Google Tag Manager (GTM) ID field, and save. Keep your existing Google Ads ID (AW-...) and Booking Conversion Label intact.

How CaseIndex Loads GTM (Recommended Setup)

When gtmId is saved, widget.js fetches your clinic config and injects the standard googletagmanager.com/gtm.js?id=GTM-XXXXXXX loader into <head> on every page where the widget script is present.

Recommended: Keep your Google Ads ID (AW-...) and Booking Conversion Label configured in CaseIndex alongside GTM-XXXXXXX — CaseIndex will handle widget booking conversions (with Enhanced Conversions user_data) automatically, so you only need GTM for Call, WhatsApp, and Form tags. (If you prefer to manage bookings in GTM instead, leave the Google Ads fields blank in CaseIndex and trigger your booking tag on the caseindex_booking_success dataLayer event. Also, if your web agency later installs GTM directly in WordPress, clear the GTM ID in CaseIndex so it isn't loaded twice.)


Step 3: Create the Conversion Actions in Google Ads

In Google Ads, go to Goals → Conversions → Summary → + New conversion action → Website, scan your clinic website, and add manual website conversion actions:

Conversion Action Name Goal Category Optimization Count
Website Call Click Phone call leads Primary One
Website WhatsApp Click Contacts Primary One
Callback Form Submitted (if applicable) Submit lead forms Primary One

For each action, open Tag setup → Use Google Tag Manager and copy the Conversion ID (e.g. 11074690949) and each unique Conversion Label.


Step 4: Configure Triggers & Tags in GTM

4.1

Enable Built-In Variables

In GTM, go to Variables → Built-in Variables → Configure and check Click URL, Click Text, and Page Path.

4.2

Add the Conversion Linker Tag (Required)

Go to Tags → New → Tag Configuration and select Conversion Linker from the top-level tag list (or search for Conversion Linker — it is not inside the Google Ads submenu). Set the trigger to All Pages (or Initialization - All Pages), and save.

4.3

Create Triggers & Google Ads Conversion Tags

Create one trigger and one Google Ads Conversion Tracking tag for each action using your Conversion ID and matching Label:

Action Trigger Type Trigger Condition
Call Click Click - Just Links Click URL starts with tel:
WhatsApp Click Click - Just Links Click URL contains wa.me
Tip: Check Wait for Tags (2000 ms) with Page URL matches RegEx .* if WhatsApp opens in the same tab.
Callback Form Page View Page Path contains /thank-you

Optional: You can also attach Google Analytics: GA4 Event tags (e.g. call_click and whatsapp_click) to the same Call and WhatsApp triggers so those events appear in GA4 reports.


Step 5: Test, Publish & Clean Up Campaign Goals

5.1

Verify in GTM Preview & Publish

Click Preview in GTM, enter your clinic website URL, wait 1–2 seconds for the widget to inject GTM, and click a Call and WhatsApp button. Confirm the Conversion Linker and matching Google Ads Conversion tags fire in Tag Assistant, then click Submit → Publish.

5.2

Use Campaign-Specific Goals in Google Ads

Open your Search campaign → Settings → Goals → Use campaign-specific goal settings. Select only your real conversion goals (Book appointment, Phone call leads, Contacts, Submit lead forms) and exclude noisy goals like Get directions, Engagements, Store visits, and Page views.


Frequently Asked Questions

Google Ads says "Tag not found" on my website — is it broken?

No. Google Ads' automated crawler often inspects only initial server HTML and misses tags loaded dynamically by JavaScript. Always verify using GTM Preview (Tag Assistant). Once a real user clicks a tracked button, Google Ads updates the status from Awaiting conversions to Active.

Why use tel: click tracking instead of Google's website call forwarding?

Google's dynamic website forwarding numbers are often unavailable for Indian phone numbers or fail if the number format on the website doesn't match exactly. Tracking tel: link clicks via GTM works reliably for 100% of mobile call taps.

What if a clinic updates its phone number later?

Make sure the clinic's website tel: / wa.me links, Google Business Profile, and Google Ads Call Assets all point to the same active clinic number. Because the GTM trigger matches starts with tel:, updating the number on the website continues to track automatically.