affiliate Ids/tracking

Discussion in 'Customization & add-ons' started by pfen09, Sep 4, 2010.

  1. pfen09

    pfen09 New Member

    Joined:
    Jun 29, 2010
    Messages:
    14
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    The affiliate info should then be in a cookie, you can extract it and place it into the aweber form.

    $amember_aff_id = $_COOKIE["amember_aff_id"];

    David
  3. pfen09

    pfen09 New Member

    Joined:
    Jun 29, 2010
    Messages:
    14
    Hi David,

    What does this line of code mean.

    Or what are you referring it to? Should I use that as my extraction code?

    Thanks,
    Nick
  4. pfen09

    pfen09 New Member

    Joined:
    Jun 29, 2010
    Messages:
    14
    Hi David,

    Here's a better question than the reply above (or for anyone viewing).

    What is the extraction code to get the affiliate Id (cookie) and place it into aweber?

    Thanks,

    Nick
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  6. pfen09

    pfen09 New Member

    Joined:
    Jun 29, 2010
    Messages:
    14
    piece of code

    Need a little help.

    Looking for a piece of code that will extract the amember affiliate id into a hidden form field for my opt in pages.

    Here's the scenairo: Aff reffers customer to optin page with their affiliate link. Piece of code extracts affiliate id into the hidden form field when customer signs up so they get credit.

    Any code to help

    Thanks,
    Nick
  7. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    $_COOKIE["amember_aff_id"]; will get the amember affiliate cookie.

    Have php put that into your aweber form.
    As Skippy said- you should use the aweber plugin from Ken though, and use a free amember signup before the aweber signup. Then you dont have to worry about capturing the affiliate ID, its gotten already. (unless you are trying to avoid double opt-in)

    David
  8. pfen09

    pfen09 New Member

    Joined:
    Jun 29, 2010
    Messages:
    14
    Does any have the basic code to execute the quote above?

    Thanks!

    -Nick

Share This Page