# Create Retention

{% hint style="warning" %}
The Data Analytics tab is only accessible in the Production Environment.
{% endhint %}

### Create Retention

![1402](/files/SqcQthapjUcOMPqdFICu)

**Create Retention**\
You can start A/B Test retention analysis using the Create Retention button in the upper right of the Retention tab. You can configure up to 5 retention analyses.

![2208](/files/KY1rDmoYR0xf6MMPTZk8)

**1. Retention name and description**\
Clicking Create Retention opens a new window. On this screen, you enter the retention name and description, then configure the events for the retention you want to check.

**2. Start event and goal event**\
You can analyze retention by checking the rate at which users who triggered the start event also trigger the goal event within a certain period.

* **2-1. Start event**: The start event refers to the first behavior criteria triggered by the user in the retention analysis.
  * First A/B Test Exposure: Refers to all unique users exposed to the A/B Test. If this is selected, users are counted even if they were only exposed without any additional action, and only the first exposure is counted for repeated exposures.
  * Add event: You can analyze based on users who triggered a specific event after the first A/B Test exposure.
    * When an event is added, filters can be applied only to that event.
    * The Add Event feature is available from the Pro plan and above.
* **2-2. Goal event**: The goal event is the behavioral criteria for checking how many users among the target users are retained.
  * The filter feature can be used for the goal event.
  * You can select Any Event for the goal event. Any Event refers to all active events among events sent to Hackle. Using Any Event, you can easily measure the overall service revisit rate.

The above configuration means checking the retention of users in the group exposed to the A/B Test who triggered Any Event. The diagram below shows the number of users in the retention configuration.

![800](/files/vdPxlegalwwD7751bVH3)


---

# Agent Instructions: 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:

```
GET https://docs.hackle.io/en/ab-test/create-and-configure/set-abretention-metric.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
