Create A Segment Based On What City Contacts Are Located In

About this task

The City criterion allows you to create segments based on the city contacts are located in.

The GeoIP City metric is based on the most frequent, IP address recorded for a contact in the 14 days prior to the most recent open/click activity. This means the IP that is returned is the IP that occurs most in that 14 day period. It does not necessarily indicate the city where they reside or the location of the most recent open/click. It also does not take into account any city data that might be stored in fields.

For more information on the GeoIP City metric, see GeoIP City Metric.

To create a segment based on the city contacts are located in:


  1. Go to Contacts > Segments.
  2. To
    • Create a new segment, click Create New Segment.
    • Edit an existing segment, click the pencil icon Edit Segment in the row associated with the segment you want to edit.
  3. Click Add Rule.
    If you want to add this criterion to an existing rule, skip this step.
  4. Click GeoIP.
  5. Click City.
  6. From the first pull-down menu, select one of the following:
    • Starts With
    • Does Not Start With
    • Ends With
    • Does Not End With
    • Contains
    • Does Not Contain
    • Is
    • Is Not
    • Is Empty
    • Is Not Empty
  7. In the input, add some text corresponding to the city you want to segment on.
    For example Durham, Chicago, San Francisco, etc.
    1. Click Add to add multiple cities.
  8. Click Add Criteria if you want to add another criteria.