> For the complete documentation index, see [llms.txt](https://kasplo.gitbook.io/kasplo-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kasplo.gitbook.io/kasplo-doc/channels/transactional-api-smtp/override-link-tracking.md).

# Override Link Tracking

## Overview

By default, **Kasplo** automatically tracks all links inside your email templates for click analytics.

If you want to **disable click tracking for a specific link**, you can override the tracking using a custom HTML attribute.

***

### How It Works

Add the attribute:

```
data-track="off"
```

to any anchor (`<a>`) tag where you want click tracking to be disabled.

When this attribute is present:

* Kasplo **will not rewrite the URL**
* The link will **redirect directly to the original URL**
* No click tracking will be recorded for that link

***

### Syntax

```
<a data-track="off" href="https://example.com">
  Your link
</a>
```

***

### Example

#### With Tracking (Default Behavior)

```
<a href="https://example.com">
  Visit Website
</a>
```

Kasplo will rewrite this URL for tracking.

***

#### Without Tracking (Tracking Disabled)

```
<a data-track="off" href="https://example.com">
  Visit Website
</a>
```

Kasplo will:

* Not modify the link
* Not track clicks
* Send users directly to the destination URL

***

### When to Use This

You may want to disable tracking for:

* Payment gateway redirects
* OTP verification links
* Sensitive authentication URLs
* Third-party links that do not allow URL rewriting

***

### Important Notes

* The attribute must be exactly: `data-track="off"`
* It works only on `<a>` tags
* If the attribute is missing, click tracking will be enabled by default

### Need Help?

If you have any questions or face issues while implementing link tracking override, feel free to reach out to our support team.

📩 Email us at **<helpdesk@kasplo.com>** and our technical team will assist you with the setup.
