How to track lead source in Tawk.to
Add marketing attribution to every Tawk.to conversation so your free chat widget finally tells you which channel sent each visitor your way.
On this page
Tawk.to has built a huge following by giving away a perfectly capable live chat widget for free, no tiers, no upsell wall. The trade-off is that its built-in analytics stay basic, you can see chats but not where the chatter came from. SourceLoop adds that missing context.
Three steps, around five minutes, attribution flowing on every conversation afterwards.
What SourceLoop captures from Tawk.to
Each Tawk.to conversation that captures an email arrives in SourceLoop with:
- The visitor’s acquisition source (organic, paid, referral, social, direct)
- UTM parameter values from the landing URL
- Pages browsed in chronological order before the chat
- Total time on site before they opened the widget
- Number of distinct sessions before they finally engaged
- Email + name captured during the conversation
- First-touch landing page of the visitor’s journey
- Source of the converting session that produced the chat
- Device, country, browser
Before you start
You’ll need:
- A SourceLoop workspace (free trial)
- Edit access to your site’s
<head>markup - A Tawk.to account with the widget code already embedded on your site
Step 1: Install the SourceLoop snippet
Open SourceLoop, go to Setup -> Tracking code in the sidebar, and copy the snippet.
Add it to the <head> of your site. Easy ways:
- WordPress: header-injection plugin or
header.php - Webflow: Project Settings -> Custom Code -> Head Code
- Framer: Site Settings -> General -> Custom Code -> Start of head
- Shopify: Online Store -> Themes -> Edit code ->
theme.liquid - Static / custom: the global layout template
The SourceLoop snippet sits alongside the Tawk.to snippet, neither one cares about loading order, both just need to be on every page where the widget shows.
Step 2: Confirm Tawk.to is loading on tracked pages
Tawk.to doesn’t need any per-widget configuration to integrate with SourceLoop. Once the SourceLoop snippet runs on the same page as the Tawk.to widget, conversations get attributed.
Quick sanity check:
- The Tawk.to widget shows on every page where you want chat leads (Settings -> Property -> Widget)
- Your widget setup captures email somewhere (pre-chat form, post-chat survey, or directly mid-conversation)
- No security plugins or aggressive ad blockers are stopping either Tawk.to or SourceLoop from loading
Step 3: Send a verification chat
Open your site in an incognito tab with ?utm_source=test&utm_medium=verify&utm_campaign=tawk-check glued to the URL. Click the Tawk.to widget, start a conversation, and share an email you can access.
Within seconds of the email being captured, the conversation should appear at the top of the Contacts Hub in SourceLoop with the three test UTM values stamped on the record.
Where to see Tawk.to conversations in SourceLoop
Contacts Hub
Every Tawk.to chat that captures an email becomes a contact row at app.sourceloop.ai/contacts. Click into a contact to see the visitor’s complete pre-chat browsing path.
Attribution dashboard
For the campaign-level rollup, app.sourceloop.ai/dashboards/traffic groups Tawk.to conversations by source, medium, and campaign. Quick read on which channels open the most dialogue.
Funnel reports
In app.sourceloop.ai/funnels, build a funnel ending in “Tawk.to conversation”. Slice by source, landing page, or device to find the highest-converting paths from first visit to chat.
If paid acquisition feeds the chat queue, mirror Tawk.to conversations back to Google Ads, Meta, and LinkedIn as offline conversions so the bidding algorithms train on real qualified conversations rather than vanity clicks. Connect your Google Ads account covers the wiring.
Frequently asked questions
-
Tawk.to is completely free. Does that affect SourceLoop's capability?
No. SourceLoop's tracking is browser-side and totally unrelated to Tawk.to's pricing model. The free widget plays exactly the same way as a paid chat tool.
-
I use Tawk.to with their paid "Hire an Agent" service. Are those conversations attributed too?
Yes. The hired agent uses the same chat widget on your site, so any conversation that captures an email gets attribution attached, regardless of whether the agent is in-house or sourced through Tawk.to.
-
Can I track Tawk.to's AI Assist (Apollo) responses?
Yes. AI replies happen inside the Tawk.to widget, which loads on your tracked page. The attribution attaches to the contact once an email is shared, whether the visitor is talking to AI or a human.
-
Does this affect Tawk.to's Departments and routing rules?
No. Tawk.to's department routing, agent assignment, business hours, and triggers all continue to work normally. SourceLoop runs independently on its own side.
-
I run Tawk.to on multiple sites under one account. Can each site get separate attribution?
Yes. Create a website/workspace in SourceLoop for each site you operate, install that workspace's snippet on the corresponding site, and the attribution data stays separated per site.