Dynamically Generate the User's City

Status
Not open for further replies.

dahunter

On My Path To Mastery
Dec 7, 2008
80
1
0
los angeles
Hi,

I'm have a landing page that dynamically generates the user's location but from my own experience it's not very acurate. It always tells me i'm two towns away from where I'm really located which is bad since it might be hurting my conversions.

I have two questions:

1. Could you guys point me to the right direction where I can find a script that is very acurate in the users locations?

2. Is it possible to grab, based on their location, the area code of their phone number so it inserts the phone number dynamically as well?

Much Appreciated
 


I use maxmind and I use the google api. Here is my take - with Google, it pretty much picks the large city that is closest as your demographic city ie. instead of Boerne Tx, it picks San Antonio TX.
And maxmind picks Boerne. Now it depends how detailed you want it to be.
 
I am trying to figure out how to parse out a location right now - if I can hit any city within a few hundred miles, that would be good enough for me. Any resources around here on how to parse the header or query for that information?
 
Status
Not open for further replies.