Last Comments

snorkel (Data Warehouse / …): Oracle seems like a huge …
frak (Article Bot is fi…): Well thanks for being the…
random (Article Bot is fi…): Curious Statement from th…
frak (Article Bot Spyin…): For the answer see this u…
Bob (Pivot 1.30 Alpha.…): And this is what a commen…

Archives

01 Nov - 30 Nov 2007
01 Jun - 30 Jun 2007
01 Dec - 31 Dec 2006
01 Nov - 30 Nov 2006
01 Jul - 31 Jul 2006
01 Jun - 30 Jun 2006
01 Apr - 30 Apr 2006
01 Mar - 31 Mar 2006
01 Feb - 28 Feb 2006
01 Jan - 31 Jan 2006
01 Dec - 31 Dec 2005
01 Oct - 31 Oct 2005
01 Sep - 30 Sep 2005
01 Aug - 31 Aug 2005
01 Feb - 28 Feb 2005
01 Jan - 31 Jan 2005

Miscellany

Powered by Pivot - 1.40.5: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« Digg and Bounty Count… | Home | Telstra - still the (… »

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: 
  1. 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)
  2. you will earn no linkage to your sites, as all links will be to clickbank.net's "hoplink" system.
The following system will solve both of these issues.

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:

<?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
}
?>
So 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:
<?php
if (
$_REQUEST['hop']) {
   
header('Location:http://' . $_REQUEST['hop']'.[VendorID].hop.clickbank.net?item=' . $item);
    die();
}
?>
So 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):
<?php
$item =
[X];
include('cb.php');

?>
Remember to change the [X] to your clickbank product id for this sales page.

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:

Please enable javascript to generate a trackback url


  
Remember personal info?

/ Textile

this is to stop spam bots causing me pain.
 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.