# Location-based personalization

Connect with users by tailoring content to their region.

Geomarketing may not be a brand-new strategy, but no one can argue that it is one of the most powerful marketing strategies.

Using dynamic geolocation-based content allows companies to communicate only to users browsing from specific regions without affecting the navigation experience elsewhere.

![Location](/assets/immersion/playbooks/location.png)

## Prerequisites

Before you start, make sure you have:

- A [Croct account](https://app.croct.com/signup) with a workspace and application set up.
- Integrated a [slot](/immersion/tutorials/get-started/content-management) into your project.

If you have not done any of these, follow the instructions on the provided links and come back here once the setup is done.

> **Use a template**
>
> You can use the CLI to run [this template](https://croct.com/templates/use-case/e-commerce/location) instead of configuring this manually on the interface.

## Step by step

Follow this to configure your experience:

1. **Create an experience**

   Open the [experiences page](https://app.croct.com/redirect/organizations/-organization-/workspaces/-workspace-/experiences) in the admin app and click **New experience** to create an experience.

2. **Define an audience**

   In the **Audience** tab, click **New audience** and define a criteria.

   You can segment users based on [various aspects](/reference/cql/context#location) of their location, such as country or city:

   ```cql
   location's city's name is "New York"
   ```

   You can go beyond standard geographic information by also using semantic [tags](/reference/cql/data-types/location/location#tags) that describe the type of place with meaningful labels:

   ```diff
   location's city's name is "New York"
   +or location's tags include "beach"
   ```

3. **Select the slot**

   Click the **Slot** tab and select the ones you want to personalize.

   You can select multiple slots across the website to maintain consistent communication. Some popular choices are the announcement bar, the hero section, and the carousel section.

4. **Define the personalized content**

   Click the **Content** tab to specify which content should be shown to those users in the selected slots.

5. **Preview and publish**

   Publish your experience or click **Preview** to see the magic happen.

## Explore

- [Audiences](/explanation/audience/popular-audiences): Learn how to create audiences based on the user's attributes.
- [Experiences](/explanation/experience/introduction): Discover what an experience is and how it works.
