1. Reference data

Locations

Version:

Format in Sitecore 8.x

In Sitecore 8.x, Location data is stored in the MongoDB collection Locations.

The following is an example of a Location record:

{
    "_id" : NUUID("6ec70000-2768-c105-9fce-38a94acbb725"),
    "_t" : "LocationData",
    "BusinessName" : "The Garrison",
    "Country" : "GB",
    "Classification" : 0
}

Format in Sitecore 9

In Sitecore 9, Location data is stored as reference data.

Mapping details

This section describes how Location data is mapped from Sitecore 8.x to 9.

Source objectDocument from the GeoIps collection
Reference data object typeSitecore.Analytics.Model.LocationData,Sitecore.Analytics.Model
Field mapping definitionxDB Reference Data Mappings > MongoDB Locations Document to xDB Location Data
Value to write to reference data objectProperty on reference data object
BusinessName from source objectBusinessName
Classification from source objectClassification
Country from source objectCountry
_id from source objectLocationId
If you have suggestions for improving this article, let us know!