# Set Up Permitted Domains for Deep Linking

If you want partners to be able to deep link to specific pages on your website, you must provide impact.com with the domains to which partners can send traffic (impact.com refers to these as "permitted domains"). You should do this regardless of whether you know what specific domains you want traffic arriving at or not.

#### Using non-permitted domains

If partners don't use the permitted domains you provide in their deep links, all traffic they drive using that link will be sent to a generic impact.com page with no options to head to your website. If you aren't sure what domains to list here, reach out to your teammates who manage your website. If they aren't sure or if there are no specific domains they come back with, you should enter the defaults (which are provided below).

#### Set permitted domains

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. On the right, under *Tracking*, select **Gateway**.
3. Next to *Deep Linking*, toggle on ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-d0b6669ae76a7bef06a8d6940d7ad5c16bb8d018%2F7cb018d4face8d7cceb880eb5086c812e764fbcfe6f2a0377f88bc7576973070.svg?alt=media) **Allow Partners to deep link to specific pages on my site**.
4. Under *Permitted Domains*, if you don't have specific domains to add, enter the following default domains:

   | Domain                                                     | Example       |
   | ---------------------------------------------------------- | ------------- |
   | \[Your website domain].\[Your website top-level domain]    | impact.com    |
   | \*.\[Your website domain].\[Your website top-level domain] | \*.impact.com |
5. Alternatively, if you do have your own permitted domains to enter here, follow these formatting guidelines:
   * Do not include any paths or slashes (`/`) in your permitted domain. Exclude anything including and after the slash following the URL's domain.
   * If a URL might include a subdomain (e.g., `www.`) when used to deep link, you must include both versions of the URL. In this case, follow the format that the default permitted domains (above) use.
   * Don't include the default permitted domains (above) if you provide your own specific domains.
6. Select **Save**.

   <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-7b2d01eab5a870e01f0033946c16065696a88cf6%2F601359136cdb4299025eef6ab7dc71bfb282a8a54c6fc24dcad9b526bc7cafc0.png?alt=media" alt=""><figcaption></figcaption></figure></div>

#### Fix common partner-facing error messages

{% tabs %}
{% tab title="Example 1" %}
{% hint style="info" %}
**Error message:** The link you clicked on is malformed. Contact the editor of the originating page.
{% endhint %}

This error could be because you don't have deep linking enabled. To enable it, do the following:

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. On the right, in the the *Tracking* section, select **Gateway**.
3. In the *Deep Linking* section select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6027673a720a6522269e1861ad0554c4a85baf29%2F9dcf248c757a094c6af27798e61091b8425a0afa1637ae0e5ba3448c5f85b1a1.svg?alt=media) **\[Edit]** and ![](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]** **Allow Partners to deep link to specific pages on my site**.
4. Specify the base domains to which you allow partners to deep link.
   * Domains should be comma-separated with no spaces. Wildcard characters are supported. E.g., yoursite.,\*.yoursite.
5. Select **Save**.

Alternatively, you may not have block rules set up. To check whether you do:

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. On the right, in the *Technical* section, select [Blocking & Redirect](https://app.impact.com/secure/advertiser/tracking-settings/manage-block-redirect-rules-flow.ihtml?).
3. Ensure that you have a block rule set up. Learn more on how to [Configure Block Routing Rules](https://help.impact.com/brand/platform-features/blocking-and-redirect-rules/configure-block-routing-rules).
   {% endtab %}

{% tab title="Example 2" %}
{% hint style="info" %}
**Error message:** The link you clicked on has expired. We apologize for any inconvenience.
{% endhint %}

The partner may be blocklisted from your program. If you want to remove the partner from the blocklist, [contact support](https://app.impact.com/secure/advertiser/support/customer-support-portal-flow.ihtml).
{% endtab %}
{% endtabs %}
