Skip to content

Commit ef4d988

Browse files
authored
Merge pull request #4233 from segmentio/niallzato-patch-1
Remove location data
2 parents d6e8095 + b0f0f1c commit ef4d988

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/connections/spec/common.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ Here's an example of these common fields in raw JSON:
4747
"version": "2.11.1"
4848
},
4949
"locale": "en-US",
50-
"location": {
51-
"city": "San Francisco",
52-
"country": "United States",
53-
"latitude": 40.2964197,
54-
"longitude": -76.9411617,
55-
"speed": 0
56-
},
5750
"network": {
5851
"bluetooth": false,
5952
"carrier": "T-Mobile US",
@@ -131,8 +124,7 @@ Context is a dictionary of extra information that provides useful context about
131124
| `device` | Object | Dictionary of information about the device, containing `id`, `advertisingId`, `manufacturer`, `model`, `name`, `type`, and `version`. |
132125
| `ip` | String | Current user's IP address. |
133126
| `library` | Object | Dictionary of information about the library making the requests to the API, containing `name` and `version`. |
134-
| `locale` | String | Locale string for the current user, for example `en-US`. |
135-
| `location` | Object | Dictionary of information about the user's current location, containing `city`, `country`, `latitude`, `longitude`, `region`, and `speed`. |
127+
| `locale` | String | Locale string for the current user, for example `en-US`. |
136128
| `network` | Object | Dictionary of information about the current network connection, containing `bluetooth`, `carrier`, `cellular`, and `wifi`. |
137129
| `os` | Object | Dictionary of information about the operating system, containing `name` and `version`. |
138130
| `page` | Object | Dictionary of information about the current page in the browser, containing `path`, `referrer`, `search`, `title` and `url`. This is automatically collected by [Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/#context--traits). |
@@ -170,9 +162,6 @@ Other libraries only collect `context.library`, any other context variables must
170162
| library.version ||||
171163
| ip* ||||
172164
| locale ||||
173-
| location.latitude | | | |
174-
| location.longitude | | | |
175-
| location.speed | | | |
176165
| network.bluetooth | | ||
177166
| network.carrier | |||
178167
| network.cellular | |||

0 commit comments

Comments
 (0)