Customer Segmentation Via Geolocation
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.
Customer Segmentation
The customer segmentation attribute group rule,
Geolocation, has the following attributes:
- Longitude (Integer)
- Latitude (Integer)
- City (String)
- Country Code (String)
- Country Name (String)
- Region (String)
- US Area Code (String)
- US Metro Code (String)
- US Postal Code (String)
B2C Commerce Scripting API
You can access customer geolocation through the B2C Commerce scripting API for other storefront scenarios, using the following:
-
dw.system.Request.getGeoLocationmethod -
dw.order.GeoLocationclass
The geolocation data is stored in the order object, via the
dw.order.Order.getGeoLocation method.
Import/Export
Geolocation details are included in the export
order.xsd.