So I have the Maxmind Geo Script PHP extension installed on my server and it works fine when viewed on a computer.
The one weird quirk I've seen that may or may not be limited to me is if someone were to visit my page on their cellphone and they're connected via Wi-Fi, the geoscript works fine, where it shows the city and state properly.
However from my tests, if a cellphone views the page NOT connected via Wi-Fi, meaning it's just through their mobile data plan through their cell service provider, then nothing shows up for the geo info. Granted, I haven't tested every cell carrier yet but from what I've seen, this seems to be the case.
Is this a known issue? And is there a known work-around to this?
Or maybe this really shouldn't be the case and somehow my setup isn't configured the right way?
Any info about this would be appreciated.
Thanks.
The Maxmind database isn't purposed for mobile geodetection, as far as I know there currently are no accurate databases for mobile geo-detection. If connected by WiFi it doesn't matter that they're on a mobile device since their IP is that of the serving device.
I'm not sure how people deal with geodetection for mobile devices other than country based on carrier info.
Anything that's IP based won't work - or will be very inaccurate.
There is a GPS solution but it requires the user to have it activated on their phone. It's incredibly accurate and can add some nice things to a landing page
most of the people activate the gps in mobile for making check-ins to fb or foursquare etc. so yes you need to go gps way to detect the location.
If you view your IP via your phone when your connected through a carrier, you will notice most of the time, your located in another state. GPS is one of the only ways but it clears out a lot of the bulk traffic out there if your lander relies on geo'ed data.
Okay, guess I can't rely on the geoscript for mobile then.
Thanks for the responses everyone.
Imagine if a web pages php could locate a cell users location.
That would be worth more than can be made in PPC.
okthen - If you're looking at Android phones only, http://developer.android.com/guide/t...ion/index.html . If you want to do iPhones, http://stackoverflow.com/questions/3...ps-coordinates has a Javascript snippet.
There's also some interesting stuff on tracking location by cell tower at http://stackoverflow.com/questions/8...ion-using-gprs .
None of this stuff is terribly friendly right now, though - all the above links are fairly hardcore techie. (The stackoverflow URL may be a giveaway.) I've not done mobile location detection myself, but if people are interested, this is the kind of thing I could put in the queue for a future tutorial. Let me know if so.