Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whats the best way to create links to dish out to partner websites so they get a commission from the clickthrough they generate?

I would prefer a PHP solution if there is one available?

share|improve this question
up vote 0 down vote accepted

An easy way to get started with an affiliate program is to use an affiliate network they have everything all setup for you as well as a bunch of affiliates you can promote your program to.

If you're looking to set up your own, it usually works by placing an affiliate ID in the link you give them (IE example.com?id=affiliate1) then when someone visits your site from that link you drop a cookie that says this user is from affiliate1.

If you are using an open source CMS some of them have affiliate tracking as a built in option or plugin, and there seem to be many options available if you run a Google search for "open source affiliate software" (haven't used any of these myself though).

share|improve this answer
Thanks for your help! – Andy Nov 15 '10 at 13:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.