Install on Your Website
Configure your snippet, then paste it into a GTM Custom HTML tag.
This unique ID is already embedded in your snippet. It links tracking events to your dashboard.
Configure your client's WhatsApp settings. The snippet below updates in real-time.
Include the country code without the + sign. Example: 60123456789 for Malaysia, 8615021934425 for China.
A prefix added to the reference code in WhatsApp messages. Helps identify the lead source. Example: DRTCM-, SHANGHAIANGEL-
The pre-filled message when the visitor clicks WhatsApp. If the WA link already has a ?text= message, that one takes priority.
Go to Google Tag Manager
Open your GTM container and click Tags β New. Choose Custom HTML as the tag type.
Paste the tracking snippet
Copy the code below and paste it into the Custom HTML field. The snippet is pre-configured with your settings above.
Loading snippetβ¦
Set the trigger to All Pages
Under Triggering, select All Pages. This ensures the snippet runs on every page so it can capture GCLID and keywords from the landing page.
Publish your GTM container
Click Submit β Publish. WhatsApp clicks will start appearing in your dashboard within seconds.
Once a visitor arrives via Google Ads, they're flagged permanently. Even if they return later via a direct bookmark, we still attribute the lead.
Each WhatsApp click gets a unique reference code (e.g.
MYBRAND-A23B456C) prepended to the message, so you can match leads in your CRM.
Pushes a
wa_contact_click event to GTM's dataLayer, so you can fire GA4 conversions or other tags from it.
Works with WhatsApp link anchors, Elementor buttons, HT CTC chat widgets, and more. No extra setup needed.