[Javascript] 第三方服務: 取得使用者位置

What is the Best IP Geolocation API?
https://medium.com/@ipdata_co/what-is-the-best-commercial-ip-geolocation-api-d8195cda7027

What Is the Best API for Geolocating an IP Address?
https://ahmadawais.com/best-api-geolocating-an-ip-address/

通常網站平台開發者可通過伺服器功能,大致推估使用者的IP與登入國家,不過有些架設於虛擬電腦當中的伺服器,其反求使用者IP資訊都會被停用或只能限定回傳虛擬電腦內網IP,這時仍需要取得使用者登入資訊,除了用Google GA以外,也可以使用下列服務︰
Maxmind GeoIP2 Precision Service
IPData.co
IPInfo.io
IP-API.com
ipapi.co
ipstack.com
db-ip.com
ipify.org

需注意有些服務是需要申請Key才能使用,而有些雖免費,但有免費的使用額度,可看平台與使用者量與規模來決定使用那種服務。


#Javascript, user, IP, Address, Geolocation, API, 使用者, 國家, 地址, 服務

留言