Automatic keyword inserting affiliate plugin for WordPress

Today we are releasing a new plugin for WordPress that allows you to monetize your long tail traffic better than ever before. The plugin works by taking the keyword that a visitor used to find your site in any major search engine and turns it into an affiliate link.

This plugin works great on product sites and is especially useful if you send visitors to sites like Amazon & Ebay as the visitor will be given a cookie and you get credit for future purchases.

You can customise the link to go anywhere including your site search page if you don’t want to sell products. Screenshots of how it works are below. Please note that I don’t use it on Blogstorm so don’t try to make it work.

Download the plugin here

To install:

  • Upload affiliateplugin.php to your plugins folder
  • Edit buy.php to include your Ebay publisher id or change the link to somewhere else as you wish
  • Upload buy.php to your main directory
  • Activate the plugin
  • Go into your WordPress > Options > Affiliate link options menu and change the link suffix & prefix
  • Add the code below to your Single Post page wherever you want the ad to appear

<?php $referer = $_SERVER['HTTP_REFERER'];
ebay_ads($referer); ?>

Update: You might also like to integrate these scripts-

Redirect outbound affiliate links

Geotargeting with php 

Visitor searches on Google & clicks on your site

Screenshot1

Keywords are turned into an affiliate link

Screenshot2

Visitor clicks on the affiliate link

Screenshot3

By Patrick Altoft. at 10:52PM on Thursday, 07 Feb 2008

Patrick is the Director of Strategy at Branded3 and has spent the last 11 years working on the SEO strategies of some of the UK's largest brands. Patrick’s SEO knowledge and experience is highly regarded by many, and he’s regularly invited to speak at the world’s biggest search conferences and events. Follow Patrick Altoft on Twitter.

comments

24 Responses to “Automatic keyword inserting affiliate plugin for WordPress”

  1. Christian says:

    This is fantastic, Patrick! Cheers

    Christian

  2. Sucker says:

    I might build some new blogs to take advantage of this!

  3. Matthew says:

    This looks great. I used a similar method to create links automatically to go to Amazon based on location of the user (.co.uk or .com), but it didn’t use the search string as the text. Instead I used keywords from the title of the post to determine which ad to show. That worked ok’ish (nothing too spectacular).

    This however should be way more targeted and I expect to see some nice results. If I see some good performance over the next few days I am going to look in to ways to geo target and send users to their correct ebay/amazon site.

    Also I am going to test with a BUY button next week too to see what effect a buy it now type button has over the text.

    • Good idea about geotargeting, I added a link above to another of my scripts that does this.

    • James says:

      Nice plugin Patrick!

      In response to Matthew, if you’re looking to geotarget your affiliate links for specific products, there’s a great site called LinkSprinkler where you just set different URLs for different countries, and then copy and paste their link URL onto your page. Whenever someone clicks the link, it sends them to the page you specified for their country, or to the default URL if they’re from a country with no URL specified.

      I use it myself to send people to Amazon USA, CA and UK and it works really well, and gives your affiliate income a nice boost!

  4. [...] Automatic keyword inserting affiliate plugin for WordPress The plugin works by taking the keyword that a visitor used to find your site in any major search engine and turns it into an affiliate link. (tags: affiliate marketing blogging wordpress plugin) [...]

  5. Alex Ion says:

    I think I will implement it on my gadgets blog, too.
    It should perform nicely.

    Alex

  6. Tibi Puiu says:

    Brilliant work Patrick! It’ll definitely come in handy.

  7. [...] Automatic keyword inserting affiliate plugin for WordPress – by Patrick Altoft, saying, “A new plugin for WordPress that allows you to monetize your [...]

  8. [...] just released a wonderful new WordPress plugin, that’s sure to do wonders among affiliate marketers. Basically what the plugin does is it [...]

  9. Flavio Copes says:

    Thanks for this, it will be very useful!

  10. weird online says:

    Patrick, I wish blogspot could have this one. Most of my blogs are powered by blogger.

  11. Osita says:

    Thanks Patrick, this is what I desperately need at the moment.
    Good thinking.

  12. [...] Automatic Keyword Insertion – This plugin is pure gold for affiliate marketers (especially for niche sites!). The plugin works by taking the keyword that a visitor used to find your site in any major search engine and turns it into an affiliate link. [...]

  13. Sagem says:

    Does this work with the new WP and more importantly with the new Ebay Network?

  14. Very Cool Plugin.

    I going to tweak it abit to make it work like that landing sites plugin – which never worked for me

    I am just going to try and keep people on a webpage a bit longer by saying you searched for xxx on google

    anyways nice job thanks

  15. Anders says:

    I must say this is a very nice plugin. I was having nightmares with integrating SE keywords into my pages… then I stumbled on your great plugin and decided to whack up a blog to side-support my main site.

    Great work and Thanks!

  16. patrickd says:

    this is a great plugin. thank you!

  17. [...] in November 27th, 2008 Posted by Kent in Blogging, General Recently I found an interesting plugin and I would like to share this with you. First of all, this plugin allows you to monetize your [...]

  18. derek says:

    how to use this plugin with amazon?

  19. It used great, i have add it to my blog site, the keywords have afflilie links and visitor click it, buy sometings, I will get money. hehe

Leave a Reply