How to get affiliate id displayed on a Wordpress URL

Discussion in 'PHP' started by ck101, Dec 10, 2008.

  1. #1
    Somebody mentioned that, it's not possible to get affiliate id displayed on a WP URL. If this is true then I can not operate an affiliate program with a WP site.

    Perhaps the above is not so clear.. For example, when one of my affiliate member sends a visitor via an affiliate link on their site to my Wordpress site, will his/her affiliate ID be in the URL so that I can track and credit affiliate account accordingly when his/her visitor makes a purchase.

    Can anybody throw some light into this please...
     
    ck101, Dec 10, 2008 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,934
    Likes Received:
    4,563
    Best Answers:
    124
    Trophy Points:
    665
    #2
    I haven't done this but I can't see why not. You'd just need to write a plugin to detect the affiliate id and store it as a cookie. Then when they purchase you look at the cookie and the affiliate can be credited.
     
    sarahk, Dec 10, 2008 IP