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

Note: GeoLite databases are distributed by MaxMind under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

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:

B2C Commerce Scripting API

You can access customer geolocation through the B2C Commerce scripting API for other storefront scenarios, using the following:

The geolocation data is stored in the order object, via the dw.order.Order.getGeoLocation method.


Geolocation details are included in the export order.xsd.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.