Feature
Automatically collect geolocation and time zone data
JavaScript and mobile SDKs now automatically capture IP addresses for geolocation. Backend library users need to enable geolocation in settings and pass IP addresses via the context.ip field in identify requests.
Our JavaScript client and mobile SDKs automatically capture IP addresses for you, making geolocation easy.
If you use our backend libraries (like our Node.JS or Go SDKs) or our Pipelines API, you’ll need to:
Go to your integration’s Settings tab and turn on the Enable Geolocation setting. Capture the IP address yourself and pass it in the context.ip field in your identify requests. This setting is on by default for workspaces in our US data center and off by default for workspaces in our EU data center.
sdkgeolocationfeaturejavascriptmobile
Source: original entry ↗