Unique Image for Affiliate Site?

TatumLD

New Member
Hello. I'm setting up an affiliate site for people to sell my products and get a commision. I'd like to display their logo when one of their customers land on my site but I'm not sure how to do it.

The domain will look something like this, http://www.mywebsite.com/products.asp?PARTNER=affiliatename

Basically, I'd like for my site to be smart enough to know that when partner=affiliatename is the referrer that their logo is displayed on the top of the page

Here's an example of a site that does it.

http://www.einvite.com/?Cobrand=15XISI

Any help would be greatly appreciated. Thanks.
 

bcee

New Member
Do you see that /?Cobrand=15XISI. That is just passing the variable 'Cobrand' and the 15XISI is identifying what logo to display.

You can set up a database that will select the image to display based on the unique ID. Say I click http://blah.com/?aff=1920398. All you then would have to do is grab the post value, or unique ID, (1920398) and search the database for this unique ID and spit the image out.

Hope all that made sense.
 

PixelPusher

Super Moderator
Staff member
Yeah using a query string at the end of the URL would be a relatively simple way of doing this. One thing to watch out for in regards to website indexing, is duplicate content. If you have many of these affiliate ids for your home page, they will create duplicate content in the eyes of a web crawler. For example:


All three of these pages have the same content apart from one image. This is considered duplicate content and can have a negative effect on your seo measures. You need to concatenate you urls. I would suggest using a hash (#) mark instead.

SEO Moz has a post about this: http://www.seomoz.org/blog/whiteboard-friday-using-the-hash
 

TatumLD

New Member
Thanks for your replies. I definitely appreciate the tip about duplicate content. I guess I was struggling to get the image to display based on the specific ID.
 
Top