301/302 and HTTP Refer
November 10, 2006
For (my) future reference…
If you’re using HTTP Status code 301 or 302 to redirect, some services do not retain the header for HTTP to tell you the referring URL.
site1.php has this code:
There’s no way for bofe.org to know that 90% of the hits from advertisement.net actually came from advertisement.net. bofe.org’s logs look like users just typed it in.
The key, tell advertisement.net to redirect to a Unique URL.
where 1234.php redirects to the preferred destination.
Now you can effectively track the effectiveness of the advertisement that you were running with advertisement.net.