How to see actual IP or hostnames?

Discussion in 'Google Analytics' started by ljk6802, Jan 24, 2011.

  1. #1
    Does anyone know if there is a way to add the actual visitor IP address and/or host name to the data collected in Google Analytics.
    Thanks.
     
    ljk6802, Jan 24, 2011 IP
  2. mave863

    mave863 Peon

    Messages:
    271
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can't see the ip, only the country sources. if you want to log ip, you need to use php script.
     
    mave863, Jan 28, 2011 IP
  3. aspnaren

    aspnaren Greenhorn

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    You cant to that with Google analytics but there is are ways to do it.If your site is on a Apache server you by default will hav the IP address of the visitors in your hosting control my host saves upto (300 recent vistors' ip).Or the other ways to collect IP addresses of your vistors and storing it in database
     
    aspnaren, Jan 29, 2011 IP
  4. Atco_Maart

    Atco_Maart Peon

    Messages:
    338
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    few scripts of php might be helpful....try them.. Analytics cant track the ip address of the users.
     
    Atco_Maart, Feb 3, 2011 IP
  5. ljk6802

    ljk6802 Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Will give it a try. Thx
     
    ljk6802, Feb 3, 2011 IP
  6. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    for the ip do
    $ip=$_SERVER['REMOTE_ADDR'];

    for the host do

    $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
     
    srisen2, Feb 4, 2011 IP