> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/using-nats/nats-admin-features/linkcodes/clearing-tracking-sessions.md).

# Clearing Tracking Sessions

*Article Topics:* [*Tracking*](/getting-started/common-topics/tracking.md)

When testing linkcodes to verify that the correct affiliate, campaign id, program, and more are set, you will occasionally want to clear the tracking information associated with the linkcode.&#x20;

This article will explain how you can achieve this.

## Clear NATS tracking

Navigating to the following links:

```
https://<linkdomain>/clear_ip.php
```

```
https://<linkdomain>/clear_additional_ip.php
```

Where **\<domain>** is replaced by the domain of your NATS install, it will clear all stored tracking data in NATS, allowing you to retest with your tracking link.&#x20;

## Leverage Incognito mode

If you are testing multiple links, you might want to consider testing link codes in a new browser using Incognito Mode. This will avoid issues with cookies/sessions with any previous tests you have done.

## Related Articles

{% content-ref url="/pages/J3U83c6F7CLhfeBGKMSw" %}
[Tracking](/using-nats/nats-admin-features/linkcodes/tracking.md)
{% endcontent-ref %}

{% content-ref url="/pages/uQooIYFSesigosWG0NLv" %}
[Linkcodes](/using-nats/nats-admin-features/linkcodes.md)
{% endcontent-ref %}
