> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/ab-test/create-and-configure/set-abretention-metric.md).

# 리텐션 생성하기

{% hint style="warning" %}
데이터 분석 탭은 운영 환경에서만 진입 가능합니다.
{% endhint %}

{% stepper %}
{% step %}

### 리텐션 생성하기 선택

리텐션 탭 오른쪽 상단에서 **리텐션 생성하기**를 선택합니다.\
리텐션은 최대 5개까지 설정할 수 있습니다.

![](https://2738466581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHRZjjknm5KdNgPtDsbl%2Fuploads%2Fgit-blob-783b8a494358f4d8713b78fc7e360a27c3849e2a%2F8062b11-create_retention_02_1753f176404fad66.png?alt=media)
{% endstep %}

{% step %}

### 리텐션 이름과 설명 입력

리텐션 이름과 설명을 입력합니다.

![](https://2738466581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHRZjjknm5KdNgPtDsbl%2Fuploads%2Fgit-blob-4126f09950ef38a172f74e42b9542e2af8a1f0f4%2F98fb468-create_retention_kr_783019c07487a8a8.png?alt=media)
{% endstep %}

{% step %}

### 시작 이벤트 설정

시작 이벤트는 리텐션 분석에서 사용자의 첫 행동 기준입니다.

* **A/B 테스트 첫 노출**: A/B 테스트에 노출된 모든 고유 사용자를 포함합니다. 사용자가 별도 행동을 하지 않아도 집계됩니다. 반복 노출은 첫 노출만 집계됩니다.
* **이벤트 추가하기**: A/B 테스트 첫 노출 후 특정 이벤트를 발생시킨 사용자를 분석합니다.
  * 추가한 이벤트에만 필터를 적용할 수 있습니다.
  * 이 기능은 프로 플랜 이상에서 설정할 수 있습니다.
    {% endstep %}

{% step %}

### 목표 이벤트 설정

목표 이벤트는 대상자 중 잔존 사용자를 확인하는 행동 기준입니다.

* 목표 이벤트에 필터를 적용할 수 있습니다.
* **Any Event**를 선택할 수 있습니다. Any Event는 핵클에 전송된 활성 이벤트 전체를 의미합니다. 서비스 전체 재방문율을 측정할 때 사용합니다.
  {% endstep %}

{% step %}

### 리텐션 사용자 수 확인

시작 이벤트를 발생시킨 사용자가 일정 기간 안에 목표 이벤트를 발생시키는 비율을 확인할 수 있습니다.

아래 설정은 A/B 테스트에 노출된 사용자 중 Any Event를 발생시킨 리텐션을 의미합니다. 다이어그램에서 리텐션 사용자 수를 확인할 수 있습니다.
{% endstep %}
{% endstepper %}

![](https://2738466581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHRZjjknm5KdNgPtDsbl%2Fuploads%2Fgit-blob-a415c7f183d6278e1641968a8d6ba6bffbc41a14%2Fb57eb05-Retention_docs_02_33ad56af74005a9b.png?alt=media)


---

# 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://docs.hackle.io/ab-test/create-and-configure/set-abretention-metric.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.
