Skip to content
  1. Home
  2. How KO works
  3. How a lead finds its visit
How KO works

How a lead finds its visit

A lead finds its visit by the touch number. The KO counter passes it on with the form, the message or the call. If the number does not arrive, KO does not guess the source. It shows where the link was lost and whether you can fix it.

In short

  • The link is a touch number The counter puts the visit number into a hidden form field, the first messenger message and a replaced phone number.
  • A visitor is a browser KO keeps its own ID in a cookie and in browser storage. When the same browser comes back, it is the same visitor.
  • Source: the tag, or else our guess Advertiser tags are kept as they came. KO keeps what it learns from the referrer apart and uses it only when there is no tag.
  • No visit is not always a problem A lead form on an ad platform or a call to a fixed number has no visit. “No visitor” counts only leads that could have one.

In a CRM, a lead has a name, a phone number and sometimes a tag. The CRM does not know which campaign brought the person or what they did on the site. The visit knows that.

The only way to connect the two is a number. The KO counter gives a number to every visit and passes it on with the lead.

Visitor, visit, touch

  • Visitor — a person’s browser. The counter gives it an ID and keeps the ID in a cookie and in browser storage: Safari deletes cookies set by a script after a week. The cookie is set on the main domain, so example.com and shop.example.com see the same visitor. KO also stores the GA and Meta pixel IDs of the same browser.
  • Visit — one arrival with one source. If the person comes from another campaign or another ad click, a new visit starts.
  • Touch — the number of this arrival. This is what the counter passes on.

How the number reaches the lead

A visit to the site

Google Ads · campaign “Spring sale”

Touch number #48213

the KO counter gives one to every visit

The number travels with the lead

Form on the sitehidden field ko_touch_id
Lead by webhooknumber in the lead data
WhatsApp, Telegramcode in the first message
Phone callreplaced number on the page
With the number, KO finds the visit, and with the visit, the source, tags, device and visitor
  • Form on the site. The counter fills the hidden field ko_touch_id itself. If the counter sends the form, the lead also gets the visit and visitor numbers.
  • Lead from a server. The site or the CRM sends the lead by webhook. Put the touch number into the lead data: it is in the _ko_touch_id cookie.
  • Messenger. The counter adds a code to the first message of a WhatsApp or Telegram button. Without the code, KO can only compare the text and the time, and that is a guess.
  • Phone call. The counter replaces the phone number on the page, so a call to that number finds its visit.

With the number, KO finds the visit in the same project. The visit gives the lead its tags, source, device and visitor. This is how the lead gets its campaign in the report.

Source: the advertiser’s tag and KO’s own guess

A visit has two sources, and KO does not mix them.

  • Tag — utm_source and the other UTM tags, as the advertiser set them.
  • Our guess — what KO learns by itself: from the referrer (search, ChatGPT, another website) and from how the page was opened (typed address, bookmark).

The “Source” dimension takes the tag, and if there is no tag, our guess. The “utm_source” dimension shows only the tag. “Source origin” tells who named the source: the advertiser or KO.

Three states of a lead

Linked

The form passed the touch number

The visit is found, the lead has its campaign and tags

Data health

Lost the number

A lead from the site, but the number did not arrive

There was a visit, but no link to it

No visitor — fix it

No visit by design

Lead form on the ad platform, call to a fixed number

The person was never on the site

Not counted as a problem

Deal added by a manager

Created in the CRM by hand

The data cannot tell it from a lead that lost its number

Counted in “No visitor”
Only the second case needs fixing; KO cannot tell the fourth case from the second

A lead with no visit is not always a problem. A lead form lives on the ad platform. A call to a fixed number does not go through the site. Such leads never have a visit.

So the “No visitor” card in the Leads journal counts only paths where a visit was possible: a form on the site, a chat widget, a quiz. It does not count lead forms, calls, emails or messenger messages.

The Stream health group in the Leads journal: rows, no visitor, no source, no funnel step, data health
Journals → Leads → Stream health. Next to “No visitor” is “No source”: there is a visit, but no tag

A deal that a manager created in the CRM by hand is counted. The CRM marks a lead from the site that lost its number in the same way. The data cannot tell one from the other, and the second one must be fixed.

Where the number gets lost

A lead usually loses its number at one of these steps.

  • The site sends the lead from its own server and does not pass the cookie. Add the touch number to the lead data.
  • The website builder sends the form by webhook without cookies. The webhook settings usually have a “send cookies” option.
  • A CRM form is embedded on the site. Add the hidden field ko_touch_id to it. If the form does not accept your own field, send the lead by webhook instead.
  • The form sends data by script, without a normal form submit. The counter does not see this. The counter cannot send such a lead by itself yet, so pass the number by webhook.

Summary

  • A lead finds its visit only by the touch number. The counter passes it with the form, with the messenger message and through a replaced phone number.
  • The source is the advertiser’s tag, or KO’s guess when there is no tag. They are stored apart.
  • “No visitor” counts only paths where a visit was possible. Lead forms and calls to a fixed number are not in it.
  • A site lead with no visit is fixed on the site: the touch number must reach the lead.

Updated

Demo

Imagine your project is already in KO

The demo is the project of a made-up company. Its ads, website and CRM are already connected. Reports, decisions and data checks work on its numbers just as they would on yours.

See it live

No sign-up, no payment