Secret Revealed: Heaps of Affiliate Links DIRECT to Your Sites when using Clickbank
If you've ever used ClickBank, you would have noticed two things:- you cannot really sell more than 1 product at a time, as there is only one destination sales page for affiliate links (when other people link to your product as an affiliate)
- you will earn no linkage to your sites, as all links will be to clickbank.net's "hoplink" system.
To solve issue 1, you just need to get your affiliates to add an extra piece to the standard hoplink so that this:
http://[AffiliateID].[VendorID].hop.clickbank.net
becomes
http://[AffiliateID].[VendorID].hop.clickbank.net?item=[X]
Where [X] is one of your 50 allowed product IDs. This will get passed to your "destination sales page" like this:
http://example.com/switchboard.php?hop=[AffiliateID]&item=[X]
So the switchboard.php file (or whatever you tell
clickbank is your destination sales page) can redirect to the actual
sales page for a product using this information using PHP or similar.
switchboard.php example:
<?phpSo how do we have affiliates linking directly to our sales pages? We use another redirect on the sales page to clickbank like so, and call the file cb.php:
$sites = array('1' => 'http://salespage1.com',
'2' => 'http://salespage2.com',
'3' => 'http://salespage3.com',
'4' => 'http://salespage4.com');
$url = $sites[ $_REQUEST['item'] ];
if ($url) {
header('Location:' . $url);
} else {
?>
<HTML><HEAD></HEAD><BODY>
some error message, or list of links or nothing at all. This HTML will come up when an invalid item is specified.
</BODY>
<?php
}
?>
<?phpSo now that is done, the last step is to add the following to the VERY TOP of our sales page code (make sure our sales page is a ".php" file):
if ($_REQUEST['hop']) {
header('Location:http://' . $_REQUEST['hop'] . '.[VendorID].hop.clickbank.net?item=' . $item);
die();
}
?>
<?phpRemember to change the [X] to your clickbank product id for this sales page.
$item = [X];
include('cb.php');
?>
So what have we contructed in all of this? We have a redirector page that goes to our indivual sales pages. We have a redirector from our individual sales pages to clickbank.
So now we get our affiliates to sign up for clickbank, and create
affiliate links like the following example (assuming our first example
site for item 1 above):
http://salespage1.com/?hop=[AffiliateID]
Looks much more professional to our affiliates, too.
So what happens to a link to http://salespage1.com/ ? The normal sales page is displayed (ie none of this code is run). What happens when an affiliate link like the above link comes in? A chain of redirects like this (using the our fictictious product ID 1):
http://salespage1.com/?hop=[AffiliateID]
\/
http://[AffiliateID].[VendorID].hop.clickbank.net?item=1
\/
http://salespage1.com
Hope this all made sense.
frak
No comments:
No trackbacks:
Trackback link: