# Customer sources

URL: /en/docs/marketing/sources

Customer sources are tracked links and QR codes that show which flyer, post, counter or KOL brought each customer and their orders.

Customer sources are tracked links and QR codes. Every customer who opens one is recorded with that source, so you can see which flyer, post, counter or KOL brings customers and orders. Open **Customer sources** in the **Marketing** group of the sidebar.

## An example: a Tết promotion [#an-example-a-tết-promotion]

You launch a new sunscreen for Tết. You put QR codes on the store counter, post on Facebook, and work with two KOLs. Which of them brings customers who buy?

| Where customers see it | What you create                               |
| ---------------------- | --------------------------------------------- |
| Facebook post          | A source "Tết sunscreen" with its main link   |
| Store counter          | A QR code inside that source, named "Counter" |
| KOL Linh               | A KOL link inside that source, named "Linh"   |
| KOL Minh               | A KOL link inside that source, named "Minh"   |

After a week, the list shows new customers, potential customers, orders and close rate for each one, so you can see which place or person sells best.

A **source** is the campaign or activity, such as "Tết sunscreen". Each **link or QR code** inside it is one place or person you hand it to. They share the source's greeting and tags, and each one is counted on its own.

![The Customer sources list with results per source](https://ecbot.dev/_docs/screenshots/en/customer-sources.png)

1. **Create link** makes a tracked link and its QR code.
2. New customers, potential customers, orders and close rate for each source.
3. **Share** copies the link or downloads the QR code.

## Create a tracked link [#create-a-tracked-link]

<Callout title="Which channels work">
A tracked link opens a chat on Messenger, Instagram, Telegram, WhatsApp or
your website chat. Threads and the API channel cannot open a chat from a link,
so they cannot have tracked links.
</Callout>

1. Click **Create link**.
2. Enter a **Source name** only your team sees, such as "Flyer in the Tết gift box".
3. Pick the channel customers will chat on. For the website chat, enter the page where your chat widget runs.
4. Optionally write a **First greeting**. The agent sends it when the customer opens the link, then chats as usual.
5. Optionally pick tags. Customers who come through the link get them.
6. Click **Create link**, then copy the link or download the QR code (PNG for print, SVG for your designer).

## One code per place or person [#one-code-per-place-or-person]

Inside a source, add a QR code for each place, such as a counter or a standee, and a link for each KOL. They share the greeting and tags of the main link, and each one is counted on its own.

## Read the results [#read-the-results]

| Column            | What it tells you                                                             |
| ----------------- | ----------------------------------------------------------------------------- |
| **New customers** | How many customers this link brought: people whose first tracked link it was. |
| **Potential**     | How many of them showed buying interest: they asked the price or ordered.     |
| **Orders**        | Confirmed orders those customers placed after opening the link.               |
| **Close rate**    | Orders per new customer: how well the link turns visitors into buyers.        |

Only confirmed orders count, see [Orders and product groups](https://ecbot.dev/docs/marketing/orders).

### First source only [#first-source-only]

Each customer keeps the **first** tracked link they ever opened, shown as **First source** in the customer panel. If they open a second link later, their first source and its results do not change. So a customer who first came from the counter QR and later opened a KOL link still counts for the counter.

## FAQ

### Which channels can a tracked link open?

Connected channels that can open a chat from a link, such as Messenger, Instagram, Telegram, WhatsApp and the website chat. Threads and the API channel cannot.

### Which source gets the credit when a customer opens two links?

The first one. Each customer keeps their first tracked link as First source, and orders count toward that source.

### Do customers see the source name?

No. Only you and your team see it. Customers see the greeting the agent sends.

### What happens when I stop a source?

Its link stops being tracked. Use again turns it back on, and Delete removes it with its QR and KOL codes.
