Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Get Started with B2C Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create Geographical Customer Groups

          Create Geographical Customer Groups

          Use rules to define customer groups by the geolocation data of the IP addresses of B2C Commerce customers when they log in.

          1. Click App Launcher App Launcher, and then select Merchant Tools | Site | Customers | Customer Groups.
          2. On the Manage Customer Groups page, click New to create a customer group.
          3. On the New Customer Groups page, enter the (mandatory) ID (for example, USA_NY_Customers).
          4. For Type, select Dynamic. Geolocation information for a customer exists in the session, but isn’t stored in B2C Commerce, so geographical customer groups are never static.
          5. Enter a description (for example, New York Customers) and click Apply. The Membership Rule field appears.
          6. Click Edit.
          7. In the Customer Group Include/Exclude window, click in the Attributes field. See Dynamic Customer Group Attributes for details on the available rules.
          8. Create a rule that uses the geolocation attributes. To test the customer group, be sure to include a group with your current location, so you can log in and test the feature.
           
          Loading
          Salesforce Help | Article