Skip to content

Capture Google Analytics data with every LiveChat chat

LiveChat shows the conversation, but not by itself how the visitor found your site. Attaching attribution data to each new chat lets you connect chat leads to the campaigns, channels and landing pages that produced them, then report on them in your CRM or spreadsheet.

Why chat leads need source data

Without attribution, a chat lead is anonymous in reporting terms: you know a conversation happened, but not whether it came from a paid click, an organic search, a social post or a specific campaign. That gap makes it hard to decide where to spend more, what to cut, and which content deserves more investment. The fix is to record the visitor's origin at the moment the chat starts, so the lead carries its source with it into LiveChat and onward to your CRM.

Four steps to attach attribution to a chat

  1. Add the snippet: create an account, receive a small code snippet, and add it to your website through your platform settings or a tag manager such as Google Tag Manager. Platform-specific guides are available via the linked setup help. 2. Let it record arrivals: when a visitor lands, the snippet categorises how they arrived using the same channel groupings seen in Google Analytics, including Paid Search, Organic Search, Paid Social and Organic Social. 3. Attach data at chat start: when the visitor opens a chat, the recorded details are passed into LiveChat alongside the conversation. 4. Forward and report: view the fields in LiveChat, or send the lead through native LiveChat integrations with Salesforce, HubSpot or Pipedrive, or via Zapier to other CRMs or a spreadsheet, then build channel and campaign reports there.

The two data groups passed with each chat

Channel is the broad origin, for example Paid Search, Paid Social or Organic Search. Channel Drilldown fields add specificity: the source, campaign, ad and keyword where available. Landing Page is the first page the visitor saw, plus the broader group it belongs to, such as /features or /blog. Together they answer two questions at once: which marketing activity brought the person in, and which content they landed on first.

Worked example: a paid search chat

Consider a visitor who clicks a Google Ad for music licensing software, lands on a features page, and starts a chat. The chat record would show Channel: Paid Search, Channel Drilldown 1: Google, Channel Drilldown 2: the campaign name, and Channel Drilldown 3: the searched keyword, alongside the first landing page URL and its /features group. In one view you can see the paid source, the exact campaign and keyword, and the content that converted the click into a conversation.

Three reports to build once data is flowing

Leads by Channel: a month-by-month split of chat leads by channel, useful for spotting whether budget matches where leads actually come from. Customers by Meta network: new customers split across Facebook, Instagram, Messenger and WhatsApp, useful for shifting spend toward the network that converts. Revenue from Organic Search by search engine: revenue from chat-started customers split across Google, Bing, Yahoo and DuckDuckGo, useful for judging SEO value over time. Start with the report tied to your next decision: budget allocation, network testing, or SEO investment.

From single chats to marketing decisions

Once attribution travels with every chat, your CRM or spreadsheet becomes the reporting layer: filter by channel to count Google Ads chat leads, by campaign to compare Meta campaigns, or by channel again to isolate SEO-driven leads. The same fields that describe a single conversation also power portfolio-level views, so you can move from individual chats to trend and budget decisions without manual tagging.

Attribution fields passed with a LiveChat chat
Field groupWhat it recordsQuestion it answers
ChannelBroad origin such as Paid Search, Paid Social or Organic SearchWhich channel brought this lead?
Channel Drilldown 1-3Source, campaign, ad and keyword detailWhich specific campaign or search drove it?
Landing PageFirst page visitedWhich page did they land on?
Landing Page GroupBroader category of that page, such as /features or /blogWhich content type performs best?

Fields as described in the source workflow; exact field availability depends on the tool configuration.

Frequently asked questions

How do I get Google Analytics data into LiveChat?

Add the attribution snippet to your website, let it record how each visitor arrived, and have it attach Channel, Channel Drilldown and Landing Page details when a visitor starts a LiveChat conversation. The chat record can then be viewed in LiveChat or forwarded through LiveChat integrations or Zapier to a CRM or spreadsheet.

What Channel and Landing Page data is passed with a chat?

Channel tells you the broad source, such as Paid Search, Paid Social or Organic Search, with drilldown fields adding campaign, ad or keyword detail. Landing Page records the first page visited and its broader group, so you can see which content types and individual pages produce chat leads.

Which reports are useful once chat attribution is captured?

Useful starting views include leads by channel over time, customers by Meta network such as Facebook, Instagram, Messenger and WhatsApp, and revenue from Organic Search split by search engine. Each view answers a different budget or content question, so build the one matching the decision you need to make.