# Build segments by geolocation

Use the **Geo** filter to create a segment of users who are near a selected location. This is useful for location-based campaigns, local offers, event reminders, and messages tied to a physical area.

## How location is determined

The **Geo** filter uses the device coordinates available in Pushwoosh to check whether the device is within the radius you set. These coordinates can come from:

* Coordinates sent through [`registerDevice`](/developer/api-reference/device-api#registerdevice)
* The device IP address, with city-level accuracy, when coordinates are not available

## How to build a segment by geolocation

To create a geolocation-based segment:

1. Go to **Audience** → **Segments**.

2. Click **Create Segment**.

3. Select **Build Segment**.

4. In the segment builder, click **Geo** in **Add filter by**.

<img src="/segmentation-segments-by-geo-2.webp" alt="Create segment screen with Geo selected in Add filter by before setting location and radius"/>

5. Set the location and radius.

The Geo filter lets you define a circular area around a point on the map. From the screen, you can:

* Use **Find a place...** to search for a location.
* Enter latitude and longitude values.
* Set the radius in meters in the **within** field.
* Adjust the selected area on the map.

<img src="/segmentation-segments-by-geo-1.webp" alt="Create segment screen with Geo filter configured showing map, coordinates, radius, and place search"/>

6. Add more filters if needed.

7. To target a user across all their devices when one device matches the Geo condition, use **Include all user devices**. [Learn how this option works](/product/audience-data-and-segmentation/segmentation/create-segments/by-tags/#include-all-user-devices).

8. Click **Save**.

<Aside type="tip">
You can combine **Geo** with **Tag**, **Event**, **Segment**, or **User ID** filters in the same segment. For more complex logic, see [Build segments with compound filters](/product/audience-data-and-segmentation/segmentation/create-segments/compound-filters/).
</Aside>