Free Clickbank Link Generator Script

September 24, 2007 by Dan (el_passo)
Posted In: General Chat 

Hello everyone.

Welcome to another newsletter/article type thing! It’s been a while since I wrote and for that I apologize, it’s been a very hectic couple of weeks what with one thing and another but I’m back on track and that means I can write another newsletter.

To be honest I was struggling to come up with a subject, that was until a friend of mine, Randy Smith, sent me an message asking me if I could fix his broken affiliate page. Randy was using a script that generated affiliate links for his clickbank affiliates, they entered their username, clicked on submit and then it showed them custom links with thier affiliate name included….

Well, that’s what it was supposed to do. To put it blunty, the script was rubbish - it’s just didn’t work!

So instead of playing around with someone elses code I decicded to make my own for Randy. It’s dead easy to do and only takes a few minutes. I had Randy up and running in no time, then he told me I should distribute it, so here I am!

Before I show you how to use it and give you a download link, take a look at what it does:

http://www.elpassoblog.com/affiliates.html

It’s dead simple, the script takes the affiliate ID from the from, then repeats the ID in the links to personalize them. The demo above is just a quick example using one of my own products - please don’t use the links generated in the demo to promote the Boomerang List Builder as the product isn’t sold via clickbank so you won’t get a commission! (The affiliate program will be coming soon, stay tuned!)

I’ve made the page very plain so that they can easily be integrated with your existing website. The script is free to download, all I ask is that you leave the footer link back to this page intact! You can change the text, or the table colours of the footer link but please do leave the text as it is.

Click Here To Download The Script >>

How To Use It!

After you have downloaded you will see 2 files, affiliates.html and affiliates.php

Both files can be fully customized in your favourite editor. (Dreamweaver, Frontpage etc.)

The HTML file contains a web form that collects the UserID and the PHP page displays the dynamic links.

All you need to do is run your favourite find/replace software, or if you want to do it manually you can. And replace:

boomlist

With:

Your own clickbank ID. - Or in other words, the ID of the product you are selling.

When done, upload both files to your server and direct your customer to the HTML file - done!

That’s it, your script will now work. If you want to add any more affiliate resources to the PHP page, simply use mine as a starting point and add the following PHP code wherever you want the users clickbank ID to be displayed:

<?php echo $_GET["clickbankID"]; ?>

So a standard link on the PHP page would look like this:

I think that just about covers everything, let me know if you have any questions or suggestions. It’s probably best to post your question as a comment, then when I answer it’s visible to other users as well.

Cheers!
Dan

Comments

7 Responses to “Free Clickbank Link Generator Script”

  1. Paula Brett on September 24th, 2007 5:29 pm

    That’s really cool, Dan. Thanks

    Paula Brett
    http://www.exposureof.co.uk

  2. Mike Pulli on September 24th, 2007 6:05 pm

    Dan,

    Just what I’ve been searching.

    Thanks

  3. Dan (el_passo) on September 24th, 2007 6:28 pm

    No problem, if anyone integartes it into their website feel free to post a link in this section. It would give everyone some ideas and might even get you a some new affiliates!

    I’ll start off with Randy’s that I did earlier:

    http://www.successandyourhead.com/Affiliates.html

  4. Randy Smith on September 24th, 2007 6:56 pm

    Well you already have the link for mine Dan……lol

    If anyone cares to see the salespage it’ll be linked from this comment, then they can use your great little script to input their Clickbank ID’s into my affiliate tools and promote the report for me ;)…hehe

    Seriously though - a life saver…. all set to launch and waiting to send my email to my list …. and then script problems!!

    So cheers Dan, I appreciate it — and I’m sure other will too.

    Randy
    Sort Your HeadPaint if you want success!

  5. Vince Andrews on September 25th, 2007 4:00 pm

    Just like i keep saying dan, you are a one in a million guy and you never cease to amaze me. Lot’s of people would have charged for this little gem of a script, but you give it to us. That says everything about the kind of guy you really are.

    The script will be very useful for many of us and will save us some time searching the net for one that will do the job so well…

    Thanks again

    Vince

  6. Anne Fenwick on September 27th, 2007 6:59 pm

    Thanks a million i’ll try it, your the tops. Anne

  7. Linda Cummings on October 18th, 2007 1:38 pm

    Hi Dan,

    You are a lifesaver. I needed something like this, was all set to pay a programmer, and then here you are giving it away. Talk about luck!

    Thank you.

    PS. Randy, I sure am glad that you’re Dan’s friend. heehee

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!