# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toomuchmedia.com/using-nats/nats-admin-features/linkcodes/clearing-tracking-sessions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
