Prompt
How do I track chat conversions on my website?
Latest observation
To track chat conversions on your website, you need to define what counts as a conversion, capture the chat event, and send it to your analytics/ad platforms.
1) Define the conversion
Common chat conversions:
- Visitor starts a chat
- Visitor submits a lead form in chat
- Chat leads to booked demo / purchase / support ticket
- Qualified chat completed
2) Pick where you want to track it
Usually one or more of:
- Google Analytics 4 (GA4)
- Google Tag Manager (GTM)
- Google Ads / Meta Ads / other ad platforms
- Your CRM or marketing automation tool
3) Track the chat event
You need the chat widget to fire an event when the key action happens.
Examples:
- Chat opened:
chat_open - First message sent:
chat_started - Lead captured:
chat_lead - Booking completed:
chat_conversion
If your chat provider supports it, use their built-in event hooks/webhooks. If not, use JavaScript on the page.
4) Send the event to analytics
If using GA4:
Send a custom event like:
gtag('event', 'chat_conversion', {
event_category: 'chat',
event_label: 'lead captured'
});
Then mark that event as a conversion in GA4.
If using GTM:
- Create a custom event trigger for the chat event
- Create a GA4 Event tag
- Optionally create Google Ads conversion tags
5) Track source/attribution
To know which ads or pages drive chat conversions:
- Capture UTM parameters
- Store them in cookies/localStorage
- Pass them with the chat lead into your CRM
- Use cross-domain tracking if the chat happens on another domain
6) Test it
Use:
- GA4 DebugView
- Google Tag Manager preview mode
- Browser console logs
- Your ad platform’s conversion diagnostics
7) Optional: track revenue/quality
If a chat leads to a sale, send:
- transaction ID
- revenue
- lead status
- salesperson outcome
That lets you measure not just chat starts, but actual business value.
Simple recommended setup
If you want the easiest reliable setup:
- Use Google Tag Manager
- Fire a custom event when chat leads are captured
- Send that event to GA4
- Mark it as a conversion
- Import it into Google Ads if needed
If you tell me which chat tool you use (Intercom, Drift, Zendesk, Tawk.to, LiveChat, Crisp, etc.) and which analytics platform you use, I can give you exact step-by-step setup instructions or code.