Free Clickbank Link Generator Script
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:
https://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
Receive Free Email Updates When A New Entry Is Posted. Join Them! |
That’s really cool, Dan. Thanks
Paula Brett
http://www.exposureof.co.uk
Dan,
Just what I’ve been searching.
Thanks
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
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!
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
Thanks a million i’ll try it, your the tops. Anne
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
WOW. I feel like a kid at Christmas. I have been looking for something like this for months.
Thanks
Charles
Hello Dan,
I tried to do the clickbank id etc on the affiliate pages and the php and it won’t work for me i guess lol i must be doing something wrong due to the clickbank id doesn’t display the id for no one except something like this http:// this is what it shows.
am i doing something wrong?
Thanks
Jim
Hi Jim,
Can you post the URL you are trying to run the script on and I’ll have a look.
Hi. I know this post is REALLY old, but I’m having trouble making affiliate links for a Clickbank product that is not my main product. I want to make an affiliate link generator for products that are not the main one on my account. How can I do this? Thanks so much.
Hi Susan,
To do that you’d need a script, this is created by Sam Stephens frm DLGuard and is a good ‘un:
http://www.guardhq.com/hopguard/