> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hamla.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Convert website visitors

> Most people who visit leave without doing anything. This catches the ones who were close, while they are still on the page.

Someone is on your site right now, interested enough to be reading, and about to leave without doing anything. They will not remember you tomorrow.

This is the cheapest moment in marketing to win, because there is no message to send and no inbox to survive. They are already looking at you.

## What you need

* **The script tag on your site.** This is the whole prerequisite — it is what lets Hamla see what a visitor is doing
* **Popups and on-site notifications**, both Free. Neither needs the visitor's contact details

<Note>
  On-site tools react to what someone is doing **right now**, so they only work as the thing that *starts* a campaign. You cannot schedule a popup for Tuesday — there is nobody standing there on Tuesday. Email and push are what carry a campaign forward once the visit is over.
</Note>

## What "close" looks like

Hamla can react to any of these:

| Signal                                 | What it usually means                                   |
| -------------------------------------- | ------------------------------------------------------- |
| **Moving to leave the page**           | Decided against it, or got distracted                   |
| **Reading a long time without acting** | Interested, stuck on something                          |
| **Scrolling most of the way down**     | Genuinely engaged — the best moment to ask for anything |
| **Looking at a product, then not**     | Price, or a question you did not answer                 |
| **Going idle**                         | Gone to another tab, may come back                      |

## Set it up

> Show a last-chance popup when a visitor moves to leave

Or the longer version, which follows them off the site:

> Re-engage visitors who browsed and left — a notification first, then a popup, then an email two hours later

The three-step version only reaches the email step for people you already know. For a stranger, the on-site steps are the whole campaign — which is exactly why [capturing an email](/how-to/grow-your-list) is worth doing first.

## What to actually say

An exit popup has one sentence to work with. Answer the reason they were leaving.

| They left because    | Say                                                         |
| -------------------- | ----------------------------------------------------------- |
| Price                | The discount, or the payment option they did not know about |
| Shipping             | The delivery time, plainly                                  |
| Not sure it is right | The returns policy, or an offer to answer a question        |
| Just browsing        | Ask for the email and let them go                           |

Not: "Wait! Don't go!" That names your problem, not theirs.

## What actually happens

The trigger fires in the browser, so it happens instantly — no round trip, no delay. If they take the offer, the campaign stops for them. If they leave anyway and you captured an email at some point, the follow-up steps carry on.

## Launch it

> Launch the exit intent popup

## Check on it

> How is the exit popup doing?

Watch the **conversion rate of people who saw it**, and watch your overall bounce rate at the same time. An aggressive popup can lift captures while quietly making the site worse to use.

## Related

<CardGroup cols={2}>
  <Card title="Grow your customer list" href="/how-to/grow-your-list">
    The version aimed at getting contact details rather than a sale.
  </Card>

  <Card title="Recover abandoned carts" href="/how-to/recover-abandoned-carts">
    For visitors who got further than browsing.
  </Card>

  <Card title="Channels and tools" href="/reference/channels">
    What each on-site tool can do, and the plan it is on.
  </Card>

  <Card title="What to ask Hamla" href="/how-to/what-to-ask">
    More ready-made asks.
  </Card>
</CardGroup>
