
If you want to group your customers according to the actions performed in a specific location, create an analysis on the basis of location. 

## Requirements
---
A tracking code implemented into the website.

## Creating a geoanalysis
---

<img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/docs/analytics/_gfx/creating-geoanalytics.png" alt="Image presents the map of America" class="full" >



1. Go to <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/icons/decision-hub-icon.svg" alt="Decision Hub icon" class="icon"> **Decision Hub > Geolocation**.
2. In the upper right corner of the map, click the **Add selection** button.
3. To select the analyzed location, drag and drop the selection box to a place on the map.
4. Adjust the size of the selected area by clicking, holding, and moving the borders of the selection.
4. To proceed to the settings, click **Go to analytics**.

    <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/docs/analytics/_gfx/creating-geoanalytics2.png" alt="Image presents the geoanalytics wizard" class="full" >

5. Enter the name of the segmentation. 
6. Optionally, you can write a short description of the analysis.  
**Result**: The first step is already done for you - a `session.start` event with the geographical coordinates are already selected. The system selects the group of customers which performed this event in the location you selected. Out of the group selected this way, you can select customers who meet your conditions specified in the further steps.
8. To create the next step in the segmentation, click the **Add funnel step** button.
9. To select an event, click the **Choose event** button. 
10. If needed, specify the [event parameters](/docs/analytics/i_events-parameter-value) by clicking the **Where** button.
11. If you want to add a condition to the segmentation, click the **Choose filter** button.
12. Specify the dependency between the conditions by choosing the **AND** or **OR** operator. 
    - **OR** - Only one condition needs to be met.
    - **AND** - Both conditions need to be met.
13. To set the time needed to complete all steps in the segmentation, click the clock icon.  
To be included in the segmentation, a customer must complete the steps in the specified order and time.
14. To determine the time range from which the data will be analyzed, click the [calendar](/docs/analytics/i_date-filters) icon.
15. You can create several segmentations in one and compare them in one preview. To create another segmentation, click the <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/docs/analytics/_gfx/plus-button.png" alt="Decision Hub icon" class="icon"> button. 
15. To complete the process, click the **Save** button.  
**Result**: When you save the segmentation based on geoanalytics, you can find it on the list of segmentations under the given name.


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

Geoanalytics is a segmentation based on a geolocation. You can find them on the list of segmentations where there is no distinction between regular segmentation and geoanalytics.

</div></div></div>


