I have to pass back an ID to an affiliate so they can track there traffic. in my database, when a user signs up they get an id they sent me this <img src="http://www.domainname.com/tracking/RecordPixel.aspx?cmp=123&optional=&optional2=&optional3=" width="1" height="1" border="0" /> Code (markup): and asked please pass back lead id under optional= so what would i add next to optional= to get the order id passed back thanks for any help
I'm not sure I understand. Shouldn't you just place the user's id after optional= ? Are you the affiliate or are they? If you pass back the lead id in the URL, that should be everything they need, although I don't know what they would do with the ID, since it is part of your database, not theirs.
Just pass the users id from your database into the optional1 field If the user ID is stored in the variable $user_id it would look something like this echo '<img src="http://www.domainname.com/tracking/RecordPixel.aspx?cmp=123&optional=' . $user_id . '&optional2=&optional3=" width="1" height="1" border="0" />' PHP: