# Set Third Party Gateway URLs & Click Tracking

<a href="https://pxa.impact.com/student/activity/1117597?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=tra-350&#x26;utm_campaign=help-center" class="button primary">Take the PXA course</a>

{% hint style="warning" %}
**Warning:** Before modifying advanced settings discussed in this article, [contact support](https://app.impact.com/support/portal.ihtml?createTicket=true) or reach out to your CSM.
{% endhint %}

#### View and modify third-party gateway URL parameters

1. From the top navigation bar, select ![](/files/2qeX6EqajzdOPiwzfeV5) **\[User profile] → Settings**.
2. In the *Program* column, find *Tracking*, and select **Gateway**.
3. Scroll down to the *Third Party Gateway URL* field.
4. ![](/files/OoA2qxPalfCYKZvmxuU6) **\[Toggle on]** the *Send all traffic through a third-party gateway URL* section for further details as seen below.
5. If you want to route traffic through a third-party URL, you can configure the URL, along with any query string parameters you want attached.
   * If you use a third-party tracking system, you can use this feature to record click data in that system.&#x20;

<div data-with-frame="true"><figure><img src="/files/x2f5oUsqO9A2h0ARtJIx" alt="" width="563"><figcaption></figcaption></figure></div>

<details>

<summary>Query string parameter reference</summary>

| Parameter         | Description                                                                                                                                                                                              |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `{gwlurl}`        | Your gateway landing page URL to which all visitors will be redirected populated by the `{gwlurl}` token to ensure accurate tracking.                                                                    |
| `{clickid}`       | The unique click ID assigned to the click event.                                                                                                                                                         |
| `{iradid}`        | The referring ad ID.                                                                                                                                                                                     |
| `{ircid}`         | The referring program ID.                                                                                                                                                                                |
| `{irpid}`         | The referring Partner ID.                                                                                                                                                                                |
| `{iradname}`      | The referring ad name.                                                                                                                                                                                   |
| `{iradtype}`      | The referring ad type.                                                                                                                                                                                   |
| `{iradsize}`      | The referring ad size (width x height).                                                                                                                                                                  |
| `{prodsku}`       | The SKU for the product in the referring ad.                                                                                                                                                             |
| `{irmpname}`      | The referring partner name.                                                                                                                                                                              |
| `{irmptype}`      | The referring media type.                                                                                                                                                                                |
| `{sharedid}`      | The ID provided by the referring partner.                                                                                                                                                                |
| `{irmpgroupname}` | The partner group name(s).                                                                                                                                                                               |
| `{mp_value1}`     | The Custom Partner Value 1 for the referring partner.                                                                                                                                                    |
| `{mp_value2}`     | The Custom Partner Value 2 for the referring partner.                                                                                                                                                    |
| `{mp_value3}`     | The Custom Partner Value 3 for the referring partner.                                                                                                                                                    |
| `{timestamp}`     | A UNIX timestamp.                                                                                                                                                                                        |
| `{randint}`       | A random integer between 0 and 10,000,000 (excluding 10,000,000).                                                                                                                                        |
| `{CUSTOM}`        | This allows you to capture values that were passed in the tracking link. For instance, if you sent `http://trackinglink.com?myvar=1`, then you could add `{myvar}` to use that in the tracking template. |

</details>

#### View and modify click tracking settings

1. From the top navigation bar, select ![](/files/2qeX6EqajzdOPiwzfeV5) **\[User profile] → Settings**.
2. In the *Program Settings* column, find *Tracking*, and select **Gateway**.
3. In *Click Track Settings*, modify the duration of the click tracking window.

   * The default is the IAB standard 30-minute rolling window, meaning each new click (associated with the same `ClickId`) will keep the click tracking session active.

   <div data-with-frame="true"><figure><img src="/files/3f5cYTXVfIuNjN99elYs" alt=""><figcaption></figcaption></figure></div>


---

# 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://help.impact.com/brand/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/set-third-party-gateway-urls-and-click-tracking.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.
