You are here: Re: Are They Lying: $_SERVER["HTTP_REFERER"] Question « PHP Programming Language « IT news, forums, messages
Re: Are They Lying: $_SERVER["HTTP_REFERER"] Question

Posted by Malcolm Dew-Jones on 06/14/05 03:52

Good Man (heyho@letsgo.com) wrote:
: Hi There

: A client of mine has some banner ads placed on the net. Instead of relying
: on the sites the ads are posted on tell us how many clicks they are
: getting, we wanted to track the number ourselves.

: I settled on using $_SERVER['HTTP_REFERRER'] to determine what referred the
: user to our page. Sure enough, when testing, it all works (ie: i click the
: ad on 'sample.com', which takes us to my page, and sure enough in our
: tracking database i see 'sample.com' has had the visit count increased by
: one.) I am looking for the string "sample.com" to make sure that the count
: goes up whether or not the person visited sample.com via
: http://www.sample.com or http://sample.com/

: My question is: is $_SERVER['HTTP_REFERRER'] reliable? Essentially, a
: place my clients have advertised with have said '80 people clicked your ad
: this month' while our own stats show that only 15 people clicked it.

: Is my method of tracking good/reliable enough to call them liars, or is my
: method not too dependable?

In addition to what others have said, if the pages are cached anywhere
along the route (gateways and/or proxies) then you won't see all the
traffic.


--

This space not for rent.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация