# Link Click Tracking

> Short links that count clicks in WhatsApp messages and emails, the link_clicked event, and how a click connects a website visit to the contact.

URL: https://docs.lemuai.com/messaging/link-tracking

Links in your journey, broadcast and email campaign messages go out as short links on `le2.in`. When a contact opens one, Lemu counts the click and sends them straight to the original page.

## What gets tracked

| Sent by | Tracked |
|---|---|
| Journeys (WhatsApp and Email steps) | Yes, unless the journey turns it off |
| WhatsApp broadcasts | Yes, unless the broadcast turns it off |
| Email campaigns | Yes, unless the campaign turns it off |
| Links a voice agent sends during a call | Yes |
| Inbox replies, test sends and transactional emails | No, links go out as you wrote them |

In a WhatsApp message, links in the text, in captions and in link buttons are tracked. In an email, every link is tracked except the unsubscribe and preferences links. `mailto:` and `tel:` links are never changed.

To turn tracking off:

- **Journey:** open **Settings** and turn off **Track link clicks**.
- **Broadcast:** clear **Track link clicks** when you create it.
- **Email campaign:** turn off **Track link clicks** in the campaign settings.

## Template link buttons

A WhatsApp template's link button has an address Meta approves with the template, so Lemu can only track it if the template was made for it:

1. In the template editor, add a **Link** button and turn on **Count clicks on this button**. The address becomes `https://le2.in/{{1}}`.
2. Enter a real page on your site under **Sample page** and click **Create sample link**. Meta's reviewers open the sample, so it must work.
3. Submit the template for approval.

When you use the template in a journey, broadcast or agent, fill **Page to open (clicks counted)** with the full page address, for example `https://yourshop.com/sale` or a variable such as `{{context.payment_link}}`. Each message gets its own short link to that page.

Templates whose link button has a different address keep working as before, without click tracking.

## What a click does

- The message shows as **clicked** in reports and in the contact's activity.
- The contact gets a `link_clicked` event on the first click of each link. It carries the page (`url`), the `channel` (`whatsapp` or `email`) and the journey step that sent it. Use it as a journey trigger, in **Wait for reaction**, as an exit event or in a [segment](https://docs.lemuai.com/segments/overview). In **Wait for reaction**, clicks count only on messages that journey sent.
- Emails also keep the `email_clicked` event.
- A WhatsApp link click counts as a response on the dashboard.

Link previews (WhatsApp, Facebook, Slack and others), mail security scanners and other bots still reach the page but are never counted.

## Reports

- **Journey reports** show clicks per WhatsApp and Email step and a **Links** table. See [Journey Reports](https://docs.lemuai.com/automation/reports#links).
- **Broadcast** and **email campaign** reports list each link with how many messages carried it, how many a person opened, the click rate and all clicks.
- Orders that came after a click are counted in the journey's **Orders** tile.

## Website visits

When a tracked link opens one of your own sites (the sites your [website pixel](https://docs.lemuai.com/website-pixel/overview) accepts, or your Shopify store), Lemu adds `lmclid` to the address. If that visitor is not yet known, the pixel links them to the contact the message went to, so their visits and orders count as that contact's even if they never sign in. A browser that already belongs to someone is never moved, so a forwarded link can't take it.

Links to other sites, such as payment pages, open exactly as written.

To add UTM tags to the same links, see [UTM tags on message links](https://docs.lemuai.com/settings/sending-limits#utm-tags-on-message-links).

## How long links work

A short link keeps working for 180 days after the message is sent.
