aMember Affiliate Link Question

Discussion in 'Installation' started by sharezone, Mar 20, 2009.

  1. sharezone

    sharezone New Member

    Joined:
    Mar 11, 2009
    Messages:
    3
    Hello,

    Just wondering if someone could answer a simple question about how affiliate links are tracked.

    I want to be able to use a Clickbank style hoplink system for my affiliate links.

    Example:

    http://USERNAME.sharingzone.net?q=customfield

    Which becomes:

    http://www.sharingzone.net/q=customfield&referrer=USERNAME

    Now, if I want to change the URL so it tracks the affiliate that sent the click to that link, I need to lookup the affiliate USERNAME and replace it with the affiliate tracking variable -- I assume both the username and whatever the tracking variable is, is in the same db table.

    So I would be able to execute a simple mysql query to obtain the value of this variable.

    My question is: What is the variable, and what table do I look in?

    This is the affiliate link that amember generates for me:

    http://www.sharingzone.net/go.php?r=-1&i=l1

    I'm assuming the variable I need is "r". What is the "i" variable, and do I need it?

    Hope this makes sense.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    i variable is created when you create new url link- you can have the amember affliates go to specific pages.

    I'm wondering if you will have problems using both the clickbank and the amember affiliate program at the same time.

    David
  3. sharezone

    sharezone New Member

    Joined:
    Mar 11, 2009
    Messages:
    3
    Thanks for the info David, that's what I was thinking to, about the "i" variable.

    I will not be using Clickbank system, I just want to emulate their hoplink system, so it works the same way.

    It's easier for affiliates to remember

    http://USERNAME.sharingzone.net,

    than,

    http://www.sharingzone.net/go.php?r=-1&i=l1

    Anyone have info on the r variable, what table it's in? Or is the affiliate tracked by some other variable?
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    r is the affiliate (user) id, you sure its a -1? thats odd.

    David

Share This Page