wasimsohail Posted January 18, 2007 Share Posted January 18, 2007 I have links to my website on different websites. I need to develop a system that could tell me that which link is giving me more traffic. Is it possible to get the reference URL , the URL from where the visitor is coming from. Link to comment https://forums.phpfreaks.com/topic/34679-how-to-know-reference-url/ Share on other sites More sharing options...
Jessica Posted January 18, 2007 Share Posted January 18, 2007 Check out Google Analytics ;) It's a completely kickass system.Or, http://us3.php.net/manual/en/reserved.variables.php"'HTTP_REFERER' The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted. "You could give them each special links like mysite.com?ref=1, mysite.com?ref=2, etc. Link to comment https://forums.phpfreaks.com/topic/34679-how-to-know-reference-url/#findComment-163441 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.