# 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 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[User profile] → Settings**.&#x20;
2. In the *Program* column, find *Tracking*, and select **Gateway**.
3. Scroll down to the *Third Party Gateway URL* field.
4. ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-d0b6669ae76a7bef06a8d6940d7ad5c16bb8d018%2F7cb018d4face8d7cceb880eb5086c812e764fbcfe6f2a0377f88bc7576973070.svg?alt=media) **\[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.

   <div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-504c9db1aec2ac6afdb673e3179fa03be210ddfa%2F2142faa50026cf989108dcbb9f08a5da72d81f1e5f5f3422e3d73092832a21f5.png?alt=media" alt=""><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 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[User profile] → Settings**.&#x20;
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="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-f74e84a9506568417d4acf253ad677def93b32af%2F1600418c49f402cc9aa48782d3025831759a913fffc787463f1d800a4ffc777e.png?alt=media" alt=""><figcaption></figcaption></figure></div>
