Geo Targeting Visitors Map on Live Website

Discussion in 'PHP' started by tofiqs, Apr 29, 2013.

  1. #1
    Hi all,

    I would like to know whether it is possible to show a map on live website that actually shows from where the visitors are coming based on their IP address. I am not asking for analytics but whether its possible using Google analytics API..??
    One of my client need a map on their website showing visitors coming from specific city of US. Is this possible to show by taking help of PHP.
     
    tofiqs, Apr 29, 2013 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,893
    Likes Received:
    4,553
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Have you seen the usermap on this site: https://forums.digitalpoint.com/usermap/

    It won't be using analytics (but there is an api to grab that data). All you have to do is log the users as they come in, give them a timestamp (so you can delete after x minutes) and then present that on a background image (the map)
     
    sarahk, May 1, 2013 IP
  3. billwynne

    billwynne Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    I am looking to do the same thing, have a map show in the background using the ip address of the visitor.
    The website that I have seen this on is killerimdeals dot com/free/ and I am unable to get some of the code to make the map work they way theirs does.

    Thank you
     
    billwynne, Sep 28, 2014 IP