Environment
The "environment"
keyword collects information about the user’s browser.
Dimension | Description | XDM path | Example value |
---|---|---|---|
Environment type | The type of environment through which the experience surfaced. The Web SDK always sets this field to browser . | xdm.environment.type | browser |
Viewport height | The height of the browser’s content area in pixels. | xdm.environment.browserDetails.viewportHeight | 679 |
Viewport width | The width of the browser’s content area in pixels. | xdm.environment.browserDetails.viewportWidth | 642 |
Place context
The "placeContext"
keyword collects information about the user’s location.
Dimension | Description | XDM path | Example value |
---|---|---|---|
Local time | Local timestamp for the end user in simplified extended ISO 8601 format. | xdm.placeContext.localTime | YYYY-08-07T15:47:17.129-07:00 |
Local timezone offset | The number of minutes that the user is offset from GMT. | xdm.placeContext.localTimezoneOffset | 360 |
Country code | The country code of the end user. | xdm.placeContext.geo.countryCode | US |
State province | The state province code of the end user. | xdm.placeContext.geo.stateProvince | CA |
Latitude | The latitude of the end user location. | xdm.placeContext.geo._schema.latitude | 37.3307447 |
Longitude | The longitude of the end user location. | xdm.placeContext.geo._schema.longitude | -121.8945965 |
Timestamp
The timestamp
keyword collects information about the timestamp of the event. This part of context cannot be removed.
Dimension | Description | XDM path | Example value |
---|---|---|---|
Timestamp of the event | UTC timestamp for the end user in simplified extended ISO 8601 format. | xdm.timestamp | 2019-08-07T22:47:17.129Z |