Skip to content

Black Friday Cyber Monday

30% off all plans

Ends in 00d00h00m00s

Claim 30% off
SourceLoop

Chat integration

Zendesk Chat attribution, down to the campaign

When a website visitor opens Zendesk Messaging or the classic Web Widget, SourceLoop records how they found you, through Google, a LinkedIn post, a newsletter, or an ad, and attaches it to the ticket as conversation tags, even if they only share their email later.

Free 7-day trial. No credit card required.

Widgets
Messaging and classic Web Widget
Pieces
Webhook, trigger, automation
Late emails
Caught within 1 to 2 hours
Duplicates
Removed by ticket ID
SourceLoop contact manager listing leads with their channel, source, and status

How does SourceLoop attribute Zendesk chats?

SourceLoop adds marketing attribution to Zendesk Chat using a first-party tracker on the pages that embed your Zendesk widget, a webhook, a trigger that fires when a Messaging ticket is created, and an hourly automation that catches tickets where the email arrived after creation. The visitor's channel, UTM values, landing page, and browsing history are attached as conversation tags and sent with the ticket to SourceLoop, which deduplicates fires by ticket ID and creates one attributed lead. It works with Zendesk Messaging and the legacy Web Widget, and leads can be reported to Meta, Google Ads, Microsoft Ads, and ChatGPT Ads.

Updated November 2026

The gap

What a Zendesk ticket doesn't tell marketing

  • Tickets carry the question, not the source

    Agents see who wrote in and what they asked. Whether they came from a pricing ad, a comparison post, or an email campaign isn't on the ticket.

  • Messaging creates tickets before the email

    A Messaging conversation often becomes a ticket before the visitor has typed their email, so a single real-time trigger misses the lead.

  • Sales chats hide inside support

    Pre-sales conversations sit next to support tickets in Zendesk, and none of them are counted toward the campaigns that started them.

What you get

How Zendesk chats change with SourceLoop

  • Attribution as conversation tags

    Channel, campaign, and landing page ride along on the ticket as tags, so agents and your Zendesk views can see them too.

  • A backstop for late emails

    An hourly automation re-sends tickets that gained an email after creation, so leads who identify themselves halfway through still count.

  • One lead per ticket

    Real-time and backstop fires carry the same ticket ID, and SourceLoop merges them into a single lead.

  • Chats measured against revenue

    Chat leads sync to your CRM and roll into revenue and ROAS by channel, credited by first touch or with a multi-touch attribution model.

The data

What SourceLoop knows about each Zendesk chat

Tickets with an email or phone number become leads in Contacts with these values.

FieldExampleWritten to
Acquisition channel Paid Search Lead, ticket tags
Campaign tags from the landing URL utm_source=google, utm_campaign=enterprise Lead
Landing page and converting session /security · google / cpc Lead
Pages, time, and visits before chatting 5 pages · 2 visits Journey
Requester details Email, name, phone from the ticket Lead

Compared

Zendesk on its own vs a single trigger vs SourceLoop

A single trigger means posting new tickets to a webhook on creation. It's simple, but it misses every Messaging lead who shares an email later.

Capability Zendesk on its own Single trigger SourceLoop
Marketing source on the ticket No Partly If you pass it Yes Tags with channel and campaign
Leads who share an email late No No Missed Yes Hourly backstop
Duplicate leads avoided Yes Partly Yes Merged by ticket ID
Pre-chat browsing history No No Yes Pages and visits
Chat leads sent to ad platforms No No Yes Server-side

Why it holds up

Support tooling stays, marketing gets the data

Your triggers, views, and CRM syncs keep running. SourceLoop adds first-party visitor history from your site and receives its own copy of each ticket through the webhook.

No-code setup

Three Zendesk settings, no code

First-party signal

Visitor history kept on your own domain

Server-side

Chat leads reported to ads from the server

Full journey

Every page before the conversation

Revenue

Pipeline started in chat, by channel

How it works

Setting up Zendesk Chat

Each Admin Center screen is shown in How to track lead source in Zendesk Chat.

  1. <script async src="https://t.sourceloop.ai/tracking-v3.js"></script>
    01

    Track the pages with your widget

    Install SourceLoop on every page where the Zendesk Messaging or Web Widget loads.

  2. Webhook

    Zendesk · Admin Center

    • Endpoint SourceLoop
    • Method POST
    02

    Create the webhook

    In Admin Center, add a webhook that points at the URL from SourceLoop's Zendesk drawer.

  3. Trigger + automation

    Zendesk · Objects and rules

    • On create Notify webhook
    • Hourly Late-email backstop
    03

    Add the trigger and automation

    Create a trigger for new Messaging tickets and an hourly automation for tickets that gain an email later.

  4. B

    [email protected]

    Zendesk ticket #48211

    • Channel Paid Search
    • Campaign enterprise
    • Visits 2
    04

    Run a verification chat

    Open the site with ?utm_source=test, start a chat, share an email, and confirm the lead in Contacts.

Conversion sync

Report Zendesk chat leads to your ad accounts

Pass chat leads that identify themselves, or only Good ones, to Google Ads, ChatGPT Ads, Meta, and Microsoft Ads as offline conversions, so the campaigns that start sales conversations get recognised.

  • Tickets with an email or phone
  • Good leads only
  • Chats that become deals

Used by 750+ marketing teams, agencies, and SaaS companies

  • Bennett
  • Vectivo
  • Siite
  • Huemor
  • Infludata
  • Wonsulting
  • Orchly
  • PacificCrest
  • ReachTopCPA
  • BrassAnimals
  • TechCXO

FAQ

Zendesk Chat attribution FAQ

Does it work with Zendesk Messaging and the classic Web Widget?

Yes. The setup is the same. Messaging lives under Admin Center, Channels, Messaging, and classic Chat under Channels, Classic, Web Widget, and both expose the same tagging API.

Why a webhook, a trigger, and an automation?

The webhook is the destination, the trigger sends tickets in real time when they're created, and the automation is a backstop for Messaging tickets created before the visitor shared an email.

Won't the backstop create duplicate leads?

No. Every fire carries the same ticket ID, prefixed with zendesk:, and SourceLoop deduplicates on it, so repeated fires become one lead.

How quickly do late-email leads appear?

Immediately if the email is shared in the conversation that creates the ticket. Otherwise within 1 to 2 hours, because Zendesk runs automations roughly hourly.

My bot only asks for a name. Will leads be captured?

No. A lead needs an email or phone number. Add a required Email step to the Messaging flow used at conversation start.

Are chats from our Zendesk-hosted Help Center attributed?

No. The tracker runs on your own site, not on yourbrand.zendesk.com pages, so chats started there have no marketing journey.

Is the tracking privacy-friendly?

Yes. SourceLoop is first-party to your domain, honours Google Consent Mode, and can run cookieless.

Track every conversion to its true source

Capture and send full attribution data from every signup, lead, booking, and sale to your CRM and ad platforms, so you know exactly what's driving revenue.

Without SourceLoop

Untagged

Kayden Floyd

kayden@abc.com

  • SourceUnknown
  • MediumUnknown
  • CampaignUnknown
  • Landing pageUnknown
Journey
No touchpoints captured

With SourceLoop

Auto-tagged

Kayden Floyd

kayden@abc.com · Acme Co.

  • Channel Paid Social
  • CampaignFree_demo
  • Landing page/pricing
Journey
Synced to HubSpot Google Ads Meta