Sometimes when users see your link has some affiliate code after it, such as https://yourlink.tld/#affiliateid&chan=”twitter”/ they may remove the affiliate code and follow a simpler form of the URL, such as https://yoursite.tld. This means you’ll lose out on commission.
You can protect your links and inhibit this by using the Link Protector in the Affiliate System.
This Knowledgebase article will show you how to use the Link Protector in the Affiliate System.
Step 1: Log in to your Affiliate account by opening the Affiliates Login Page.
Step 2: From the Affiliate Dashboard, click Promotion from the tools on the left side, then click Advanced tools.
Step 3: Click AffLinkProtector to open the tool.
Step 4: Once the Affiliate Link Protector is open, your screen will look like the one below:
With the PHP solution, the server reads the code, finds the link the affiliate defined (it can be a simple https://www.google.com but also https://www.yoursite.com/shop/cart.php?prod=12&lang=en&a_aid=12345678&chan=miansite) and automatically redirects to this address via the header() function.
HTML works in a similar way, however, it doesn’t use the header() function, but the meta tag that immediately redirects to the site defined by the affiliate.
Let’s say an affiliate enters the following link into the “URL to protect / cloak” field:
When the affiliate clicks “Generate”, a “file.php” file will be generated and offered to be downloaded.
After downloading the file the affiliate can rename it e.g. as discount.php
Now, the affiliate uploads that renamed file (discount.php) to his own server to the following location: https://mysite.com/ so that he can provide anyone the following link:
Now, if any customer clicks the link of “https://mysite.com/discount.php”, then he/she will be redirected to https://www.merchantsite.com/?a_aid=12345&a_bid=54321
You will need to select the option you want to use. The most common is HTML or PHP.
Once you do, click Generate.
Once created, you will be prompted to download a web page. Save this page to your computer. Once it is saved, upload it to your own website. Now, instead of using your normal affiliate code, you can reference your uploaded affiliate web page, and no one can strip off your affiliate ID.
And that is how you use the Affiliate Link Protector in the Affiliate System!