You can define customer segments of registered and unregistered
customers based on geolocation for targeted campaigns, micro-sites and
product lines. You can do this in Salesforce B2C Commerce by creating a
dynamic customer group with the Geolocation
attribute. In
B2C Commerce, a customer's geolocation is based on the customer's IP address
and the geolocation database that is integrated with B2C Commerce, the
GeoLite database created by MaxMind, available at
http://www.maxmind.com.
The Geolocation attribute group rule is one of many attribute you can use to define dynamic customer groups. See Using Dynamic Customer Groups for Active Merchandising.
The customer segmentation
attribute group rule, Geolocation,
has the following
attributes:
You can access customer geolocation through the B2C Commerce scripting API for other storefront scenarios, using the following:
dw.system.Request.getGeoLocation
methoddw.order.GeoLocation
classThe geolocation data is stored in the order
object, via the dw.order.Order.getGeoLocation
method.
Geolocation details are included
in the export order.xsd.