How to Fake a Browser Referrer for Blackhat CPA

First, why would you want to hide or fake a browser referrer? Answer: because you don’t want CPA networks and their advertisers knowing where your traffic came/comes from (obviously)! It doesn’t matter what the source of traffic is – MySpace, Facebook, torrents, foreign, incentivised, etc – if it’s against a network’s/advertiser’s ToS, an affiliate may be get banned and even lose any accumulated earnings if he/she gets caught, so that’s the reason to fake/hide a browser’s referrer.

There are a few ways to remove (hide) a browser referrer, like double meta-refresh, but if you’re new (or newish) to a CPA network and start doing significant conversions via a blank referrer they WILL become suspicious, after all, you have no track record with them and they don’t know where your traffic comes from so it’s quite natural.

The perfect solution is to give the networks a referrer of a site optimized for the particular offer(s) you are promoting. To understand this better, here’s a simple example with an adult dating offer (obviously, you can use more than one site for different traffic sources/offers).

CPA Redirection

With this example, traffic is sent to the adult blog which automatically redirects it to the relevant adult offer. So, if the CPA networks check the referrer, they will see the URL of the adult blog (optimized for that particular offer) and NOT the real source of the traffic.

So, how do you get the blog to automatically redirect to the relevant CPA offer? Simple, use a WP plugin called: CPA Redirector

I’ve developed and tested this plugin over a long period of time – hope you guys appreciate it! I’ve tested with numerous browsers and browser versions, and many networks. To get the plugin to work properly you MUST follow the below instructions exactly and test it before using it!

CPA Redirector: Instructions

Download below, copy to the WP plugin directory, and then activate.

CPA Redirector 

Now, you MUST edit the header file (header.php) of your blog’s theme (in the theme folder – /public_html/wp-content/themes) and add the following line of code to the first line of header.php:

<?php if (prc_red()) exit(); ?>

 

It must be on the first line of header.php! If you don’t do this, the plugin will not work! Your header.php should look something like this:

 

Header.php 

Now, set the blog permalinks to something like: /%postname%/ (don’t forget to add the .htaccess code). Finally, let’s learn how to use it – the user interface is below.

 

CPA Redirector User Interface 

 

Option 1: This is the redirection method. There are two options here: Java Script and Meta Refresh. You should always use the Java Script option as it’s the most reliable way to pass the referrer on.

 

Option 2: Magic Number. This is any number, but choose 4 digits or more.

 

Option 3: These are URLs of posts on your blog. You use these with magic number to redirect traffic.

 

Option 4: These are your affiliate links. One affiliate link per page. IMPORTANT: include the ‘HTTP://’ prefix with affiliate links, otherwise they wont work properly!

 

Let’s get going. Add some articles (use free articles from goarticles.com, ezinearticles.com, etc) to a blog you want to use for redirection. Put some relevant banners on the blog, so it’s optimized for the offer(s) you are promoting. Go to CPA redirector in WP Admin and add your affiliate links to the pages, including your magic number and save the settings.

 

To redirect traffic to your CPA offer(s), simply use the post URL combined with the magic number you have chosen. So, with the above example, I’d use: http://myadultblog.com/adult-video-dating/?mn=32453245

 

The post URL is ‘http://myadultblog.com/adult-video-dating/’ and ‘?mn=’ is the way to pass your magic number to the blog. All traffic sent to http://myadultblog.com/adult-video-dating/?mn=32453245 will be automatically redirected to the proper CPA offer.

 

The traffic will not see the blog. If a CPA network check the referrer URL they will see: http://myadultblog.com/adult-video-dating/ and if they visit that blog post, they will see it’s promoting their particular offer :-)

 

I have a new version of this plugin available very soon with much more functionality including controlling redirection rate. So, make sure you get on my Wordpress Blackhat list here: http://wpblackhat.com/