You can define customer segments of registered and unregistered customers based on geolocation for targeted campaigns, micro-sites, and product lines.
Define customer groups 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. The geolocation database that is integrated with B2C Commerce, the
GeoLite database created by MaxMind, is available at http://www.maxmind.com.
The Geolocation attribute group rule is one of many attributes you can use to define dynamic customer groups.
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.