Tracking a user, live, on ur site

  • Thread starter Thread starter -Anat-
  • Start date Start date
  • Replies Replies 3
  • Views Views 5,086

-Anat-

Newbie
Messages
28
Location
NA
ISP
Airtel
I had a rather unique problem and I kludged together some code for it.

i wanted that somehow i get an email whenever a user with a "certain" specific useragent visits my site. so that I can sit and track the user - live as he browses through my site.....
This particular user either had a unique IP address or a unique sub-string in his user agent... In my case I used the useragent property.

solution:
I put this code in my index.php file where "@TEXT@" is the unique useragent text

Code:
now i configured my outlook to check mail every one minute from
my.address@email.address.com and play a sound when new mail arrives.. so effectively instead of sitting and monitoring the latest visitors feed all day, outlook would, within 60 seconds, inform when when this user visits my site.
 
Last edited by a moderator:
so u love googlebot so much?
 

Top