# Geo Location

Geo targeting allows you to provide a personalized experience for the visitors visiting from a specific geographic location. **For example,** you can provide a different experience who is visiting from INDIA and a different experience who is visiting from the USA.

CustomFit provides different Geo attributes that allow the visitor to target a visitor coming from a very specific geographic location. The different Geo attributes supported by CustomFit are :

* **Continent**
* **Country**
* **Country Code**
* **Region**
* **Region Code**
* **City**
* **Zip code**

CustomFit.ai supports the following different operator types:

| Operator Type                 | Description                                    |
| ----------------------------- | ---------------------------------------------- |
| IS\_ONE\_OF, IS\_NOT\_ONE\_OF | Exact match                                    |
| IS\_SET, IS\_NOT\_SET         | Checks whether the attribute is set or not set |

To write a Geo-based rule

* Click on Add or Add rules

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7bWS-_hZaPsV4N1bp%2F-Ma7kxkfyZSsfvV3-Tkm%2Fimage.png?alt=media\&token=70c7f1ae-b729-462e-829e-1fe9e3bd702b)

* Click on the attribute field

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7bWS-_hZaPsV4N1bp%2F-Ma7lUYk-_JbNNNuySbv%2Fimage.png?alt=media\&token=c9727a8e-748d-43ec-8937-017e9ed6d367)

* In the dropdown, you can see the GEO section

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7bWS-_hZaPsV4N1bp%2F-Ma7nXNktcA43GgGbFOO%2Fimage.png?alt=media\&token=8158716d-aa2a-4ccb-aed9-3bb935020848)

* Select the required attribute
* Next, set the operator type based on your requirement

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7bWS-_hZaPsV4N1bp%2F-Ma7no1TjGlUsFynwf4-%2Fimage.png?alt=media\&token=08f54147-89f0-49ab-933f-18503fbf12f3)

* From the dropdown select the pre-filled values. And if there is no dropdown then enter the value

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7bWS-_hZaPsV4N1bp%2F-Ma7nxvVhmYk3SQIo2CP%2Fimage.png?alt=media\&token=d294014d-d924-4f27-a2f2-314214bbd381)

* Then select the behavior which needs to be served

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7o-NNMlBPjWsUuGm2%2F-Ma853z3SQLBuc7ROjwb%2Fimage.png?alt=media\&token=183b6e07-ae64-46f8-b772-90401be9f03e)

#### Rule with a single condition

For example, targeting visitors who are visiting from INDIA. So, the rule will be Country IS\_ONE\_OF INDIA.

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7o-NNMlBPjWsUuGm2%2F-Ma85BpGKAa_OEcAosSt%2Fimage.png?alt=media\&token=045394bf-33a1-45e7-9c2d-52722f40f3d1)

#### Rule with multiple conditions

For example, targeting visitors who are visiting from INDIA and the device type is Desktop. So, the rule will be Country IS\_ONE\_OF INDIA AND Device IS\_ONE\_OF Desktop.

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7o-NNMlBPjWsUuGm2%2F-Ma85MFKxv0taU7L7hVa%2Fimage.png?alt=media\&token=3c2563c4-fa21-4fc3-976a-b897033684d9)

#### Rule with multiple values

For example, targeting visitors who are visiting either from Delhi or Karnataka. So, the rule will be Country IS\_ONE\_OF INDIA AND Region IS\_ONE\_OF Delhi or Karnataka.

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-Ma7o-NNMlBPjWsUuGm2%2F-Ma85geuNadPNb3xea1H%2Fimage.png?alt=media\&token=594c4b13-27ef-4c8c-99e0-a0bdfbce779b)
