---
schema_version: "1"
id: d3984355fb0d2ea05fb33b96b6355fc79ff63b0b0522f372ef47b7ea2b77ab1e
title: Create a Segment Based on User Location
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_pers_segment_create_user_location.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_pers_segment_create_user_location.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a38bbce861fce5e85cc5ed9879fc03d8820902816b8c4d9159c9fa3214eb7388
description: Create segments for your campaigns to target users based on location, such as their ZIP codes, cities, regions, countries, and ISPs. If you have B2B Detect, you can use location-based segments to target visitors from specific companies and industries. Location-based segments are also helpful in understanding the data that the Personalization system captures about your site.
products:
  - Marketing
  - Salesforce Personalization
release: "264"
---
# Create a Segment Based on User Location

Create segments for your campaigns to target users based on location, such as their ZIP codes, cities, regions, countries, and ISPs. If you have B2B Detect, you can use location-based segments to target visitors from specific companies and industries. Location-based segments are also helpful in understanding the data that the Personalization system captures about your site.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d25294e38">Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d25294e38 ">To create a segment:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d25294e38 ">A role with Segments Create/Edit permissions</td>

          </tr>
        </tbody>
      </table>

1. In the **Audiences** section of the main navigation, select **User Segments** | **User Segments**.
2. Click **New Segment**.
3. Enter a **Segment Name** that describes its purpose.
4. Select **Location** from the **Select Category** dropdown.
5. Select a rule from the **Select Location Rule** dropdown. For information about location rules, see [Segment Categories and Rules](https://help.salesforce.com/s/articleView?id=mktg.mc_pers_segment_category_rule.htm&release=264.0.0&type=5 "Marketing Cloud Personalization provides various categories and accompanying rules for use with segments. When a user interacts with one of your channels, the Personalization system identifies the segments they belong to based on real-time session activity. Because segment updates happen in real time, membership changes occur immediately.")
6. Configure the applicable parameters for the rule.
7. Click **Save**.