Possible Duplicate:
How to get redirecting url link with php from bit.ly
I am sending traffic through a bit.ly link to my webpage.
I want to keep track of what bit.ly link it was that the user came to my site with (they are pasting the URL directly into the browser).
Is there anyway that i can get the URL (bit.ly link) that was pasted into the browser?
Ive tried:
echo $_SERVER['HTTP_REFERER'];
But that comes up blank..
Bit.ly links are 301 redirects so it should be possible somehow to grab it?
Any ideas?