> For the complete documentation index, see [llms.txt](https://doc.customfit.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.customfit.ai/audience-segments/visitor-behavior/click-event.md).

# Click event

For click events, CustomFit.ai supports three types of operator types:

| Operator Type          | Description                                         |
| ---------------------- | --------------------------------------------------- |
| Has been clicked       | Whether the selected event has been clicked         |
| Has not been clicked   | Whether the selected event has not been clicked     |
| Compare click by count | Comparing two different events by their click count |

### Has been clicked

CustomFit supports the following conditions for has been clicked operator type

| Conditions | Allowed Values | Description                                                           |
| ---------- | -------------- | --------------------------------------------------------------------- |
| Frequency  | Exactly        | The selected event has been clicked exactly "n" times                 |
|            | At Most        | The selected event has been clicked at most "n" times                 |
|            | At Least       | The selected event has been clicked at least "n" times                |
| Duration   | On             | The selected event has been clicked on the given date "X"             |
|            | In The Last    | The selected event has been clicked in the last "X" days or "X" hours |
|            | In Between     | The selected event has been clicked between "X" date and "Y" date     |
|            | Before         | The selected event has been clicked before "X" date                   |
|            | After          | The selected event has been clicked after "X" date                    |

#### Frequency Exactly

For example, targeting visitors who have clicked on Get pricing button exactly 3 times in the last 10 days then serve them B1 behavior

![](/files/-MUsYX48oIb1SeAVidzE)

#### Frequency Atmost

For example, targeting visitors who have clicked on Get pricing button atmost 3 times in the last 10 days then serve them B1 behavior

![](/files/-MUsdgouDWVgzl9l0N7N)

#### Frequency Atleast

For example, targeting visitors who have clicked on Get pricing button atleast 1 times in the last 10 days then serve them B1 behavior

![](/files/-MUsdVe7j-75-yt5T0EN)

#### Duration On

For example, targeting visitors who have clicked on Get pricing button atleast 1 times on 01/10/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsdIgc-0We99JaYoAN)

#### Duration In the last

For example, targeting visitors who have clicked on Get pricing button atleast 1 times in the last 10 days then serve them B1 behavior

![](/files/-MUsdEhn4_cI1rU2Utlv)

#### Duration In between

For example, targeting visitors who have clicked on Get pricing button atleast 1 times between 01/10/2021(MM/DD/YYYY) and 01/20/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsd96MPUOEiAGcVm_1)

#### Duration Before

For example, targeting visitors who have clicked on Get pricing button atleast 1 times before 01/10/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsd4jW_-olzvSom7hF)

#### Duration After

For example, targeting visitors who have clicked on Get pricing button atleast 1 times after 01/10/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsd12V-Jqlh9Gzmc0i)

### Has not been clicked

CustomFit supports the following conditions for has not been clicked operator type

| Conditions | Allowed Values | Description                                                               |
| ---------- | -------------- | ------------------------------------------------------------------------- |
| Duration   | On             | The selected event has not been clicked on the given date "X"             |
|            | In The Last    | The selected event has not been clicked in the last "X" days or "X" hours |
|            | In Between     | The selected event has not been clicked between "X" date and "Y" date     |
|            | Before         | The selected event has not been clicked before "X" date                   |
|            | After          | The selected event has not been clicked after "X" date                    |

#### Duration On

For example, targeting visitors who have not clicked on Get pricing button on 01/10/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsbn8WxKIt1fC0aneA)

#### Duration In the last

For example, targeting visitors who have not clicked on Get pricing button in the last 10 days then serve them B1 behavior

![](/files/-MUsbrGKHBa3dMiPdZ-L)

#### Duration In between

For example, targeting visitors who have not clicked on Get pricing button between 01/10/2021(MM/DD/YYYY) and 01/20/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsbun85cRNhXAtgL2O)

#### Duration Before

For example, targeting visitors who have not clicked on Get pricing button before 01/10/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsbyW-RzsgaGNtUras)

#### Duration After

For example, targeting visitors who have not clicked on Get pricing button after 01/10/2021(MM/DD/YYYY) then serve them B1 behavior

![](/files/-MUsc5LfE-jo6PyGTn0P)

### Compare click by count

CustomFit supports the following conditions for click by count operation type

| Conditions | Allowed Values            | Description                                                                                                      |
| ---------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| Frequency  | Greater Than              | The selected event has been clicked more number of times when compared with the list of events selected          |
|            | Greater Than or Equals to | The selected event has been clicked more or equal number of times when compared with the list of events selected |
|            | Lesser Than               | The selected event has been clicked less number of times when compared with the list of events selected          |
|            | Lesser Than or Equals To  | The selected event has been clicked less or equal number of times when compared with the list of events selected |
|            | Equals                    | The selected event has been clicked equal number of times when compared with the list of events selected         |
| Duration   | On                        | The comparison of the count value will be on the given date "X"                                                  |
|            | In The Last               | The comparison of the count value will be in the last "X" days                                                   |
|            | In Between                | The comparison of the count value will be between "X" date and "Y" date                                          |
|            | Before                    | The comparison of the count value will be before "X" date                                                        |
|            | After                     | The comparison of the count value will be after "X" date                                                         |

#### Frequency Greater than

For example, targeting visitors who have clicked Startup plan button more number of times when compared to SMB plan & Enterprise plan button in the last 10 days then, serve them Startup Behavior

![](/files/-MUsh_Ve7XRWYd39xBpw)

#### Frequency Greater than Equals

For example, targeting visitors who have clicked Startup plan button more or same number of times when compared to SMB plan & Enterprise plan button in the last 10 days then, serve them Startup Behavior

#### Frequency Less than

For example, targeting visitors who have clicked Startup plan button less number of times when compared to SMB plan & Enterprise plan button in the last 10 days then, serve them SMB or Enterprise Behavior

![](/files/-MUshWUvgpdzz-GFScCb)

#### Frequency Less than Equals

For example, targeting visitors who have clicked Startup plan button less or same number of times when compared to SMB plan & Enterprise plan button in the last 10 days then, serve them SMB or Enterprise Behavior

#### Frequency Equals

For example, targeting visitors who have clicked Startup plan button same number of times when compared to SMB plan & Enterprise plan button in the last 10 days then, serve them SMB or Enterprise or Startup behavior

![](/files/-MUshSkcujNk48ZER2Or)

#### Duration On

For example, targeting visitors who have clicked Startup plan button more number of times when compared to SMB plan & Enterprise plan button on 10/01/2021 then, serve them Startup Behavior

![](/files/-MUt2Ehr18MnTD9c3m_e)

#### Duration In the last

For example, targeting visitors who have clicked Startup plan button more number of times when compared to SMB plan & Enterprise plan button in the last 10 days then, serve them Startup Behavior

![](/files/-MUt2B5Q4jFiRBDrnVu6)

#### Duration In between

For example, targeting visitors who have clicked Startup plan button more number of times when compared to SMB plan & Enterprise plan button between 10/01/2021 and 20/01/2021 then, serve them Startup Behavior

![](/files/-MUt27QihB1B_sLznxP0)

#### Duration Before

For example, targeting visitors who have clicked Startup plan button more number of times when compared to SMB plan & Enterprise plan button in the before 10/01/2021 then, serve them Startup Behavior

![](/files/-MUt21RHzNc1DJriK8Fu)

#### Duration After

For example, targeting visitors who have clicked Startup plan button more number of times when compared to SMB plan & Enterprise plan button in the after 10/01/2021 then, serve them Startup Behavior

![](/files/-MUt1xojWjFg4QyMYoL0)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.customfit.ai/audience-segments/visitor-behavior/click-event.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
