Current location: Hot Scripts Forums » General Community » The Lounge » Case Study: Unique Visitors


Case Study: Unique Visitors

Reply
  #1 (permalink)  
Old 12-11-06, 06:32 AM
Kobra Kobra is offline
Banned
 
Join Date: Dec 2005
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Case Study: Unique Visitors

Is there any way to know if things like this are only one visitor or many?

194.167.80.20, 194.167.82.113, 194.167.91.40

Technicaly unique users are associated with unique ips, but reality is a bit different, a single user can generate more than thousand different ips in a single visit

Is there something unique for each user that can be used instead of ip, for guest count?

I thought about setting up a cookie for each user with an unique id, but users can delete cookies whenever they want and that wouldnt be trustable as well.
Also there was the php user_agent thing, but most users have similar systems, and as soon user upgrades anything, it just fails again.

Last edited by Kobra; 12-11-06 at 06:37 AM.
Reply With Quote
  #2 (permalink)  
Old 12-11-06, 11:45 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,550
Thanks: 2
Thanked 16 Times in 15 Posts
Quote:
a single user can generate more than thousand different ips in a single visit
That's a pretty skewed way to look at it. Typically, 1 IP = 1 user unless that IP happens to be proxy server. In that case, 1 IP = many users. The only reason why 1 user = many IPs is if that person was using multple gateways to simulate many users (sort of useful for pay-per-click sites or browser games that capture traffic) but this is typically a deceitful way of browsing and would only really matter if they had a purpose for it. I don't know of anyone who uses multiple gateways for general browsing. Why bother? There are also other tools out there that will catch header information and skew that as well (usually for blocking referer information).

The easiest way to measure guest count (a basic hit couter?) is to have a php include that will add a +1 onload. This way, regardless of browser or IP, their visit is registered. How this gets implemented comes down to how your site is set up and what your really trying to get out of that information.
Reply With Quote
  #3 (permalink)  
Old 12-12-06, 08:04 AM
Fahad_1 Fahad_1 is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
the best way to know a unique visitor is by using a cookie.

a cookie is then sent to ur visitor's pc. and when the other person using the same IP visits your site, u wil be easily able to detect that he hasnt got that cookie - so he is considered as unique.

this is how most of the hit counters work...even me!
__________________
Fahad
http://www.frinity.com - a blog from a web addict
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Using RSS2Html Script VKX PHP 1 10-16-06 05:27 PM
Copy body text into form text box simon@edgehillcu JavaScript 11 03-30-06 04:53 AM
Help cmottershead ASP.NET 3 11-15-04 12:10 AM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 03:09 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.