Creating affiliate links

When importing products, use direct URLs without affiliate IDs.

No obligatory registration in the affiliate programs is required to start working on your website. However, to monetize traffic, you need to get approval from the relevant advertisers.

When you import products, new domains will be automatically added to the External Importer > Settings > Deeplinks page. You can also add domains to this list manually.

To generate affiliate links from direct links, you need to set the Deeplink or affiliate parameter for appropriate domains.

Usually, affiliate programs use either of affiliate link generation methods. Let's take a look at some examples.

Usually affiliate networks use Deeplinks. They direct a visitor to their server for statistics and then redirect them to the advertiser's website.

That's why an affiliate link consists of two parts:

  • The affiliate network script address.

  • The product's URL on the advertiser's website.

The product URL is usually shown in a percent-decoded form, e.g., instead of https://, you'll see https%3A%2F%2F

You can easily change the product URL to any other, and your affiliate link will still work.

  1. Generate a correct example of an affiliate link for any product (not an index page) from the advertiser's website.

  2. Find the product URL part in your affiliate link and replace it with a special template {{url_encoded}}. Don't change the other parameters.

  3. Place the obtained Deeplink in the corresponding domain field.{{url_encoded}}

External Importer will replace the {{url_encoded}} template with the encoded URL for the current product. Refresh the product page and make sure the redirect works correctly.

Use the {{url}} template if you need an uncoded product URL.

If the network supports sub IDs, you can use some other templates to track page click: {{post_id}}, {{author_id}}, {{author_login}}.

2. Affiliate ID in URLs

Direct affiliate programs use affiliate ID to generate affiliate links because they don't need additional redirect for statistics.

Here are affiliate links for Amazon, for example:

  • yourtag-20 is your unique tracking ID

  • tag= is a parameter name for affiliate ID. This name differs for every affiliate network.

How to find your affiliate ID

  1. Generate examples of affiliate links for several products from the advertiser's website.

  2. All links will contain the same affiliate ID. Find it and place it in the corresponding domain settings.

Don't use '?' or '&' before the ID. External Importer will automatically add the right parameter to any URL.

The following examples are incorrect:

  • yourtag-20 is incorrect, there's no parameter name.

  • &tag=yourtag-20 might work in some cases, but it's better to omit '&'.

  • ?tag=yourtag-20 might work in some cases, but it's better to omit '?'.

External Importer generates affiliate links dynamically. So you can change deep link settings at any time (for example, to redirect traffic from one affiliate network to another).

After setting new Deeplinks, check your affiliate network panel to make sure all clicks are counted correctly.

Last updated