Deeplink settings
Deeplinks allow you to convert a direct product URL into a trackable affiliate link. This mechanism ensures that your affiliate program tracks clicks correctly and rewards you with commissions for sales. Most affiliate networks use one of two methods to generate affiliate links. Below, you'll find detailed explanations and setup instructions for each.
1. Deeplink-Based Affiliate Links
Many affiliate networks (e.g., AWIN, ShareASale, CJ) use Deeplink redirects. These links first route the visitor through the affiliate network's servers for tracking purposes before redirecting them to the actual product page.
Example of a Deeplink:
As you can see, a Deeplink typically has two components:
The affiliate network’s tracking script.
The encoded product URL from the advertiser’s website (percent-encoded format).
🔁 You can replace the product part of the URL with any other valid product link — the Deeplink will still function correctly as long as the structure is preserved.
How to Configure a Deeplink
Generate a sample affiliate link for any product page (not the homepage) using your affiliate account or tools provided by the network.
Identify the product URL inside the link.
Replace the product URL portion with the placeholder
{{url_encoded}}
.Paste the new Deeplink into the Deeplink URL field in Content Egg.
Example Template:
When generating links, Content Egg will automatically substitute {{url_encoded}}
with the current product’s encoded URL.
Use
{{url}}
instead if the network does not require encoding.
2. Direct Affiliate Links with ID Parameters
Some affiliate programs (like Amazon) don't use Deeplink redirection. Instead, they simply append a unique affiliate ID to the product URL.
Example Amazon Affiliate Link:
yourtag-20
is your affiliate tracking IDtag
is the parameter name used by Amazon (this may vary across networks)
How to Set Up Affiliate ID-Based Links
Generate a few affiliate links using your advertiser’s website or affiliate dashboard.
Identify the common tracking ID — this will appear the same across all links.
Locate the tracking parameter name (e.g.,
tag=yourtag-20
,aff_id=abc123
).Enter the full parameter (name + value) in the domain settings within Affiliate Egg.
Do not include ?
, &
, or any prefixes before the parameter. Affiliate Egg will automatically format the final URL properly when generating links.
✅ Correct:
tag=yourtag-20
aff_id=abc123
❌ Incorrect:
?tag=yourtag-20
&tag=yourtag-20
yourtag-20
Just
tag
without a value
Final Tips
After configuring your Deeplinks or affiliate IDs, test a few product pages.
Ensure that redirection works as expected and clicks are being tracked properly in your affiliate dashboard.
If tracking isn’t working, double-check the templates and encoding format.
Last updated
Was this helpful?