php question (does this question require developer access?)
Posted 15 years 8 months ago
does anyone know how this is done : you have a link on your site for an advertiser (such as a cj.com link), and you have a sub id tracking extension on the link (like cj allows you to do). does anyone know how to generate the sub id for the click in real time based on the user account thats logged in and makes the click?
so for example, say sally04 logs in and clicks an advertiser link, i need to put her username inside the subid...by doing something like this :
fakeadvertiser.com/fakelink?ref=#USERNAME#
and when sallyo4 clicks it #USERNAME# turns into sally04 so i know she clicked the link for that advertiser. any ideas?
I have some php software that does just this, called cashcrusader software, but its main feature that i need is this way it tracks the users through the sub ids when they click. This way when the user clicks on the link ive put on the site that has the sub id as #USERNAME# in it, that part that says #USERNAME# gets replaced with the username logged in at the time who clicks it.
Many affiliate networks have sub id tracking, and theres a way the generate the sub id passed on a object or parameter in the php. if only there was some php masters out there who know what im talking about...