How to show related clickbank ads in your post
If you have affiliate account with Clickbank, you can show related clickbank ads in your single post. So your clickbank ads will just look like Adsense. You can apply the same tips from Guide to Maximize Your Adsense Earning to your clickbank ads. You can use blogpost or self hosted wordpress. I rather choose wordpress because it is more easy for me.
I have not search for wordpress plugin for this idea. I am sure there’s a plugin for this but I prefer to make little modification to my theme.
Here’s how…
First, you need Clickbank Ads code. Login to Clickbank and go to your Account settings > HopAd builder. Choose Text Ads Builder. Follow the on screen instruction. This is the ad code that generated. I’m using iframe option.
<script type="text/javascript"><!--
hopfeed_template="";
hopfeed_align='LEFT';
hopfeed_type='IFRAME';
hopfeed_affiliate_tid='tracking_id';
hopfeed_affiliate='your_clickbank_id';
hopfeed_fill_slots='true';
hopfeed_height=250;
hopfeed_width=250;
hopfeed_cellpadding=5;
hopfeed_rows=3;
hopfeed_cols=1;
hopfeed_font='Verdana, Arial, Helvetica, Sans Serif';
hopfeed_font_size='9pt';
hopfeed_font_color='#000000';
hopfeed_border_color='#FFFFFF';
hopfeed_link_font_color='#3300FF';
hopfeed_link_font_hover_color='#3300FF';
hopfeed_keywords='';
hopfeed_path='http://your_clickbank_id.hopfeed.com';
hopfeed_link_target='_blank';
// --></script>
<script src="http://your_click_bank.hopfeed.com/script/hopfeed.js"></script>
You can modify this code to blend to your theme.
Modify Wordpress theme.
You can copy and paste the code to sidebar or single page. Now, I want to show only ads that related to post category.
Change this line
hopfeed_keywords='';
to this
hopfeed_keywords='<?php the_category(' ') ;?>';
In blogger.com or blogspot
Copy ads code into post template. So every time you write a post, you can fill hopfeed_keywords with main keyword for that post.
At example above, I use wordpress and adsense as keywords.




June 8th, 2009 at 11:14 pm
Hey, great post, very well written. You should blog more about this.
June 11th, 2009 at 7:04 am
Thanks for the useful info. It’s so interesting
June 12th, 2009 at 10:43 pm
Hey, nice post, very well written. You should blog more about this.
June 27th, 2009 at 1:43 pm
Hi, I can?t understand how to add your site in my rss reader. Can you Help me, please
July 14th, 2009 at 6:18 pm
Great article very well written. I sent you an email to trade links if you wish. Keep up the great work. I will come back and read more very very soon.
July 19th, 2009 at 8:03 pm
Good review on The Clickbank Code I’ve used this product extensively in my affiliating marketing efforts and has brought some good rewards.
August 21st, 2009 at 3:25 pm
i just signed up with Clickbank and i am very new to affiliate marketing. i just hope that i would earn on this program
August 27th, 2009 at 6:07 pm
I put such code above in my blogger’s blog (on sidebar), and it seems to work. It shows relevant ads to a specified keyword as I want. But when I change the keyword and background color, both are don’t work. It kept to the previous settings. Any idea why this happens?
September 28th, 2009 at 11:12 am
i am just a begineer in Clickbank but i have already earned a good deal of dollars from it. I would recommend it as an alternative to Adsense or Adbrite ads.
October 13th, 2009 at 2:19 am
i just recently signed up with Clickbank and so far i earn some good cash from them. Clickbank is advisable for blogs and websites who receive mostly US traffic.
October 19th, 2009 at 11:38 pm
Awesome Clickbank Script!
November 24th, 2009 at 2:53 pm
i signed up on Clickbank a few months ago and i earn more on clickbank compared to Adsense. i guess lots of US traffice is the key to earning a lot in Clickbank.
June 14th, 2010 at 9:57 am
A Great blog post, I will save this post in my Furl account. Have a awesome evening.