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
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
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
Take a look at Ken Gary's aMail plugin for aweber: https://kencinnus.com/amember/amail.php ..automates a lot of what it sounds like you are trying to accomplish.
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
$_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