---
schema_version: "1"
id: 30a8d17bcac901e00ce4dc5b3e7cc7d57d044a3587c21e02b94ea5f7bdfab059
title: Create Geographical Customer Groups
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_create_geographical_customer_groups.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_create_geographical_customer_groups.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 52f5bd7c447c70a93c7cb49e49ca11e9e4bebda4b65d925d26cc64f9adbe831d
description: Use rules to define customer groups by the geolocation data of the IP addresses of B2C Commerce customers when they log in.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# 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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), 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](https://help.salesforce.com/s/articleView?id=cc.b2c_dynamic_customer_group_attributes.htm&release=264.0.0&type=5 "Use these attributes for dynamic customer groups.") 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.