8 ms·
That works great until the user pushes "No, I don't want you go geolocate me".
by sethito 12y ago
That works great until the user pushes "No, I don't want you go geolocate me".
- sarciszewski 12y agoIf the user doesn't want to be geolocated, why are you going to geolocate them?
- dangrossman 12y agoBasic web stats reports. Checking that you're getting the geotargeting you paid for when you advertise. Preventing credit card fraud (billing address in one country, user located in another, detecting open proxies, etc). Lots of reasons geolocation has been used since long before browsers had a mobile-style API for it on the client side.
- sarciszewski 12y agoAnd if the user withdraws their consent (clicking "No", DNT headers, etc.) that should be the end of it. Don't locate, don't track, don't subvert user's consent. Just flag it as "no location information available" if you need to use it for an access control/fraud prevention mechanism and be aware that determined bad guys can spoof almost every signal you receive from them.