Tracking Users By IP Address

Paul Rubin http
Fri Oct 8 19:25:06 EDT 2004


Michael Sparks <zathras at thwackety.com> writes:
> Suppose the following user groups:
>    * Refuse all cookies - can't use cookies to track, IP isn't 100%
>      reliable.
>    * Users accept all cookies, don't care - ideal candidates for sampling
>    * Users generally have cookies enabled, but don't like being tracked.

There are some users who block cookies, but they're rare enough that
using cookies is more reliable than using IP addresses.  Also, if
you're just looking at page views, you don't need persistent cookies,
just session cookies.

Another thing you can do is put a cookie-like tag in the actual URL
(visit Amazon and click around a few times to see how that's done).
But that's not reliable either.  It's especially bad when some
retailer puts a shopping cart ID into the url.  Then some user posts
to a BBS or newsgroup, "hey I got this great deal on a <whatever> at
<url>".  Other users click on the url and get the original user's
shopping cart.



More information about the Python-list mailing list