Environment

The "environment" keyword collects information about the user’s browser.

DimensionDescriptionXDM pathExample value
Environment typeThe type of environment through which the experience surfaced. The Web SDK always sets this field to browser.xdm.environment.typebrowser
Viewport heightThe height of the browser’s content area in pixels.xdm.environment.browserDetails.viewportHeight679
Viewport widthThe width of the browser’s content area in pixels.xdm.environment.browserDetails.viewportWidth642

Place context

The "placeContext" keyword collects information about the user’s location.

DimensionDescriptionXDM pathExample value
Local timeLocal timestamp for the end user in simplified extended ISO 8601 format.xdm.placeContext.localTimeYYYY-08-07T15:47:17.129-07:00
Local timezone offsetThe number of minutes that the user is offset from GMT.xdm.placeContext.localTimezoneOffset360
Country codeThe country code of the end user.xdm.placeContext.geo.countryCodeUS
State provinceThe state province code of the end user.xdm.placeContext.geo.stateProvinceCA
LatitudeThe latitude of the end user location.xdm.placeContext.geo._schema.latitude37.3307447
LongitudeThe 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.

DimensionDescriptionXDM pathExample value
Timestamp of the eventUTC timestamp for the end user in simplified extended ISO 8601 format.xdm.timestamp2019-08-07T22:47:17.129Z