> For the complete documentation index, see [llms.txt](https://docs.groobee.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.groobee.ai/new-admin/segment/variable/visit-record.md).

# 세그먼트 변수: 방문 이력

### **방문 횟수**

방문자의 서비스 방문 횟수별로 타겟팅합니다.

**시점**

* 과거 : 기간 내 과거 방문 이력을 조회하여 방문 횟수가 조건을 만족하는 방문자
* 현재 : 현재 시점에서 사용 불가능한 변수입니다.

**변수 사용 예시**

방문 횟수 \[3]

* 이상 : 과거에 서비스를 3번 이상 방문했던 방문자 타겟팅
* 이하 : 과거에 서비스를 3번 이하로 방문했던 방문자 타겟팅
* 일 때 : 과거에 서비스를 3번 방문한 방문자 타겟팅
* 아닐 때 : 과거에 서비스를 3번 방문한 방문자를 제외한 타겟팅

***

### **첫 방문**

방문자의 첫 방문 여부에 따라 타겟팅합니다.

**시점**

* 과거 : 기간 내 첫 방문 이력이 있는 방문자
* 현재 : 현재 세션이 첫 방문인 방문자

**변수 사용 예시**

첫 방문

* *첫 방문* : 처음으로 접속한 방문자 타겟팅
* *첫 방문 아닐 때* : 재 방문자(방문 횟수가 1회 이상인 방문자) 타겟팅

**Tip & Guide**

첫 방문의 기준은 처음으로 그루비 쿠키가 발행된 경우를 의미합니다.

***

### **마지막 방문**

방문자의 마지막 방문 여부에 따라 타겟팅합니다.

**시점**

* 과거 : 기간 내에 마지막으로 방문한 이력이 있는 방문자
* 현재 : 현재 시점에서 사용 불가능한 변수입니다.

**변수 사용 예시**

마지막 방문

* *마지막 방문* : 기간 내 마지막 방문 이력이 있는 방문자 타겟팅
* *마지막 방문 아닐 때* : 기간 내 마지막 방문 이력이 있는 방문자를 제외한 타겟팅

***

### **방문 요일**

방문자가 방문한 요일 별로 타겟팅합니다.

**시점**

* 과거 : 기간 내 타겟팅한 요일에 방문한 이력이 있는 방문자
* 현재 : 타겟팅한 요일에 방문 중인 방문자

**변수 사용 예시**

방문 요일 \[월]

* 일 때 : 월요일에 방문한 방문자 타겟팅
* 아닐 때 : 월요일에 방문한 방문자를 제외한 타겟팅

***

### **방문 시간대**

방문자가 방문한 시간대별로 타겟팅합니다.

**시점**

* 과거 : 기간 내 타겟팅한 시간대에 방문한 이력이 있는 방문자
* 현재 : 타겟팅한 시간대에 방문 중인 방문자

**변수 사용 예시**

방문 시간대 \[13:00 \~ 13:59]

* *일 때* : 13:00 \~ 13:59 시간대에 방문한 방문자 타겟팅
* *아닐 때* : 13:00 \~ 13:59 시간대에 방문한 방문자를 제외한 타겟팅


---

# 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.groobee.ai/new-admin/segment/variable/visit-record.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.
