1. Interactions

IP info facet

Version:

Format in Sitecore 8.x

In Sitecore 8.x, settings that store information about the location of the visitor are associated with the interaction. Most of the information is stored in a property named GeoData on the interaction. Some of the information is stored directly on the interaction.

The following is an example of an interaction with the GeoData property:

"GeoData" : {
    "AreaCode" : "N/A",
    "BusinessName" : "The Garrison",
    "City" : "Birmingham",
    "Country" : "GB",
    "Dns" : "N/A",
    "Isp" : "Birmingnet",
    "Latitude" : 52.489471,
    "Longitude" : -1.898575,
    "MetroCode" : "N/A",
    "PostalCode" : "7DA",
    "Region" : "B4",
    "Url" : "N/A"
},
"Ip" : { "$binary" : "fwAAAQ==", "$type" : "00" },
"Language" : "en",

Format in Sitecore 9

In Sitecore 9, visitor location information is associated with an interaction through an interaction facet:

Facet NameIpInfo
Facet TypeSitecore.XConnect.Collection.Model.IpInfo

Mapping details

Mapping definitionMongoDB to xConnect Interaction Mappings > MongoDB Interaction to xConnect Interaction IpInfo Facet
Value to write to target objectProperty on target object
GeoData.AreaCode from source objectAreaCode
GeoData.BusinessName from source objectBusinessName
GeoData.City from source objectCity
GeoData.Country from source objectCountry
GeoData.Dns from source objectDns
IpAddress from source objectIpAddress
LocationId from source objectLocationId
GeoData.MetroCode from source objectMetroCode
GeoData.PostalCode from source objectPostalCode
GeoData.Region from source objectRegion
GeoData.Url from source objectUrl
If you have suggestions for improving this article, let us know!