Deeplink settings
Last updated
Last updated
Deeplink is a special mechanism that allows you to make an affiliate link from the direct product link. This allows affiliate programs to track clicks and charge you with a commission for sales. 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.
https://ad.admitad.com/g/383ee6455773fd57830a7d95a12660/?ulp=https%3A%2F%2Fwww.lightinthebox.com%2Fen%2Fp%2Fkids-girls-rainbow-dress-purple_p7923807.html
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.
Generate a correct example of an affiliate link for any product (not an index page) from the advertiser's website.
Find the product URL part in your affiliate link and replace it with a special template {{url_encoded}}
. Don't change the other parameters.
Place the obtained Deeplink in the corresponding option field.
https://ad.admitad.com/g/383ee6455773fd57830a7d95a12660/?ulp={{url_encoded}}
Content Egg 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}}, {{item_unique_id}}
.
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:
https://www.amazon.com/dp/B07XKF5RM3/?tag=yourtag-20
yourtag-20
is your unique tracking ID
tag=
is a parameter name for affiliate ID. This name differs for every affiliate network.
Generate examples of affiliate links for several products from the advertiser's website.
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 '?'
.
After setting new Deeplinks, check your affiliate network panel to make sure all clicks are counted correctly.
You can set separate deeplinks for subdomains or domains. Use special syntax:
eg:
For more complex cases you can use use special syntax to perform a regular expression search and replace:
For example:
You can also replace special tags with product data like:
For example: