User Tracking

Discussion in 'PHP' started by Sw00p, Mar 15, 2009.

  1. #1
    I would like to code a traffic trading script by myself but I don't know what's the best method to identify real unique visitors...Cookies or IPs?
    hmm..If I use Cookies I would lose all visitors who deactivated cookies and
    if I use IPs I would lose visitors who come from the same network (schools, colleges,...)

    What's the best way to track visitors? How does google analytics track visitors?
     
    Sw00p, Mar 15, 2009 IP
  2. picobello

    picobello Well-Known Member

    Messages:
    572
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    110
    #2
    I would suggest a concatenation of IP with some other available browser parameters such as 'Agent' etc ... doing that you'll better target individuals behind firewalls etc ..
     
    picobello, Mar 15, 2009 IP
  3. Sw00p

    Sw00p Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    user_agent: I think they run the same browser/os on every pc in a school. so it would be all the time same ip/same user_agent... :(
     
    Sw00p, Mar 15, 2009 IP
  4. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #4
    IP tracking + google maps
     
    bartolay13, Mar 15, 2009 IP
  5. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Google Analytics?? You need the visitors to have their javascript enabled tho.

    - ads2help
     
    ads2help, Mar 15, 2009 IP
  6. Ilyes

    Ilyes Banned

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Maybe possible to track them with Cookies and IPs ?
    That need some work friend, but I think possible :)

    Maybe:
    If <ip is same> then <check cookies>
    will be better than looking to only one of them ! !
     
    Ilyes, Mar 15, 2009 IP
  7. Sw00p

    Sw00p Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    looks like I have to do both...damn cookies...thanks for all replys..
     
    Sw00p, Mar 15, 2009 IP