Affiliate Tracking

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
SteveH
Forum Newbie
Posts: 2
Joined: Fri Aug 18, 2006 11:58 am

Affiliate Tracking

Post by SteveH »

I'm relatively new to PHP and I was just wondering how most people go about programming an affiliate tracking system.

I've seen how people usually have affiliates sign up and then give them an affiliate referral link which looks something to the effect of: http://www.mysite.com/index.php?aff=myname. I understand how that works but how does it keep track of the referrer while the user browses other pages?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

by their session?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Some sites set cookies, as a means of "any visitor your refer is YOUR visitor for 30 days, even if they come back 3 weeks later!". That's how that is done.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
SteveH
Forum Newbie
Posts: 2
Joined: Fri Aug 18, 2006 11:58 am

Post by SteveH »

Thanks a bunch, that helps :)
Post Reply