1. Reference data

Geo IPs

Version:

Format in Sitecore 8.x

In Sitecore 8.x, Geo IP data is stored in the MongoDB collection GeoIps.

The following is an example of a Geo IP record:

{
    "_id" : NUUID("850e4c07-a40b-199e-dc75-27a4df79e28b"),
    "_t" : "GeoIpData",
    "AreaCode" : "N/A",
    "BusinessName" : "The Garrison",
    "City" : "Birmingham",
    "Country" : "GB",
    "IspName" : "Birmingnet",
    "Latitude" : 52.489471,
    "Longitude" : -1.898575,
    "MetroCode" : "N/A",
    "PostalCode" : "B16",
    "Region" : "A7",
    "Classification" : 0,
    "Status" : 1,
    "Fetched" : ISODate("2018-01-01T10:`00:00`.000Z")
}

Format in Sitecore 9

In Sitecore 9, Geo IP data is stored as reference data.

Mapping details

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

Source objectDocument from the GeoIps collection
Reference data object typeSitecore.Analytics.Model.GeoIpData,Sitecore.Analytics.Model
Field mapping definitionxDB Reference Data Mappings > MongoDB GeoIps Document to xDB Geo IP Data
Value to write to reference data objectProperty on reference data object
AreaCode from source objectAreaCode
BusinessName from source objectBusinessName
City from source objectCity
Classification from source objectClassification
Country from source objectCountry
Fetched from source objectFetched
_id from source objectId
IspName from source objectIspName
MetroCode from source objectMetroCode
PostalCode from source objectPostalCode
Region from source objectRegion
Status from source objectStatus
If you have suggestions for improving this article, let us know!