# Outbound link

Also called: outbound clicks, outbound link tracking, external link, exit link

An outbound link is a link on your site that points to a different website. Outbound link tracking records each click on one as an event, so you can see which external links people follow, such as affiliate links, partner sites or an app store page.

## How it is calculated

A pageview cannot see these clicks, because the next page loads on someone else's site. A script listens for clicks on links, checks whether the link's host differs from the current page's host and, if so, sends an event with the destination URL before the browser leaves.

Google Analytics 4 does this with enhanced measurement. According to Google's help page on [enhanced measurement events](https://support.google.com/analytics/answer/9216061), an outbound click is a `click` event sent when a link leads away from the current domain, with parameters including `link_url`, `link_domain` and `outbound`. Links to domains you set up for cross-domain measurement do not count.

```
outbound click rate = outbound link clicks ÷ pageviews of the page
```

## Example

A review article gets 8,000 pageviews in a month. Its three affiliate links receive 520, 310 and 90 clicks. The outbound click rate is 920 ÷ 8,000, 11.5%, and the first link alone brings 57% of the clicks, so it is the one worth testing first.

## Common mistakes

- Counting a subdomain as internal by habit. A link from www.example.com to docs.example.com is outbound under a strict host check, which may or may not be what you want.
- Reading clicks as conversions. A click on an affiliate link is intent. The sale happens on the partner's site and has to come from their report.
- Sending full URLs with private query strings, such as signed download links, into analytics.

## How CrispStats shows it

CrispStats tracks outbound links when you add `data-outbound` to the script tag. Each click on an http or https link to another host sends an `Outbound link` event with the destination in a `url` property, its query string cut like the page's, so private parameters are not sent. Middle clicks count, mailto and tel links do not. The Events screen lists the event, and selecting `url` shows which links were clicked.

## Related terms

- [Custom event](/glossary/custom-event)
- [Exit page](/glossary/exit-page)
- [Referral traffic](/glossary/referral-traffic)
- [Goal](/glossary/goal)
