Forum Moderators: coopster
I found another question on redirect scripts found at [webmasterworld.com...] but I did not find the answer to this.
as far as adding tracking to those. I like to use an id on the url, the go script then hits the db, grabs the true url to send them off to, increments a click count and they go bye bye. ;)
>> and will this mess up any affiliate links
I don't really understand why it might, store the full url in the db with your affid and all attributed bits, then just grab it and send them to the site
Page hits:
CHAR remote_addr
TIMESTAMP hit_time
CHAR user_agent
CHAR page
CHAR referer
On the affiliate side of things, I've had some problems with this. I use an affiliate program that demands the referer to be correct (stupid, I know), and often I get no referer. I'm not sure if the redirect is stealing the referer or what, but I've noticed that alot of vists to my redirecting script has no referer (which is BS since users rarely have a reason to type in the url to the redirecting script). At one point I had to use a javascript redirect instead which simulates clicking a button (and so refresh the users referer) because my php script weren't passing on referers at all.