How to Fake Referrer URL: Traffic, Affiliates, CPA, Analytics
There are several free methods to cloaking or “faking” the referrer URL. If you carry enough coding skills, look around for scripts that can do this. But be warned that some of the methods will “leak”, revealing the real source URL because of browser/device issues. Read on for secure methods.
I wanted to find the best and most reliable way to do this, so I decided to sign up for the well known Jack’s FakeReferer service which is 100% working on all browsers, and platforms with any custom URL.
There are several known methods, such as the Double Meta Refresh (DMR) which is known to be unreliable, especially with older version of Internet Explorer. While some Java Script methods might not work, Java Script Form Submission is what is considered more safe.
FakeReferer has not revealed their method, but Jack is very confident that “it just works”. You can use your own custom URL for the referral or Google Search (with secure search and keywords), DuckDuckGo, Twitter, Blogger, URL.com and more.
You can choose from a different packages, starting from just one URL to as many as you need. I registered for 10 URLS for a $10. Manual activation took about 10 minutes, but can possibly take up to 12 hours.
If you want to use your own website URL for the referrer, (you need access to the website to be able to do this) go to “Custom Fake Referrers” and “Add new”.
Give any name & the URL for the custom referer and make sure the “Ignore” box is not selected.
You will be given a PHP code snipped which you can easily add to your WordPress, Joomla or any other PHP based CMS website. This will give you the possibility to use any URL within that website domain as the referrer, even if it’s doesn’t exist.
Here for this website, I have went to the appearance editor in the WordPress dashboard. And simply pasted the given code to the beginning of the header.php file. If you need help with non-WP sites, just ask me.
Next we need to make a group for which you can choose between standard (mimic Google Search, Twitter, etc.) or the custom referer that I had just previously added.
Now that the group has been added, just need to add URLs.
Select the desired destination URL and Referer.
You will receive your own personal forward URL. If you want to mask that, it’s quite easy to use a WP plugin such as Redirection to forward a URL within your own domain to the one supplied by FakeReferrer.
Here is a screen shot from Piwik analytics (Google Analytics or any other stats will work) and it shows the fake referrer correctly.
Let me know if you have any questions, thanks!
Questions & Answers
- Can this method be used with Affiliate programs?
A common use is to show a different page, other than the actual page where the affiliate clicks are coming from to prevent affiliate programs from finding out your actual methods of generating leads. This method will work very well for all affiliate programs, such as Amazon Associates, CJ Affiliate (Commission Junction), ClickBank and more. If this is allowed by terms & agreement depends on the affiliate program. I would suggest to check this before hand and comply with any requests of the companies involved.
- When clicking on the generated link, I can see the real custom URL for a few seconds before being redirected.
For the custom URL feature to work, it needs to go through your actual website to generate the correct referral. If this website is located on a slow server with poor Time To First Byte (TTFB), this can cause the address to become visible for a short moment. Using fast WordPress Hosting with HostGator for example, will eliminate this issue.
You can use fakereferer.com for changing the referer to a high authority site like google or twitter. This makes it look legit to your CPA or affiliate managers
Or Blankreferer.com offers options for stripping the referer completely.