---
title: Mixpanel
description: Mixpanel에 연결하고 동기화 동작을 파악하며 기록되는 모든 테이블과 열을 쿼리합니다.
species: reference
---
# Mixpanel

서비스 계정 자격 증명과 프로젝트 ID를 사용해 Mixpanel에 연결합니다. 이 소스는 `titan.mixpanel` 아래에 고정 테이블 4개를 기록합니다.
```sql
select
  insert_id,
  event,
  distinct_id
from titan.mixpanel.events
limit 10
```

## Mixpanel 연결

1. **앱**을 열고 **앱 연결**을 선택한 뒤 **Mixpanel** 항목을 선택합니다.
2. 서비스 계정 자격 증명과 프로젝트 ID를 입력합니다.
3. 테이블을 확인한 뒤 소스를 저장합니다.
4. 첫 실행이 완료될 때까지 **동기화 기록**을 확인합니다.

자격 증명은 비밀 정보로 저장됩니다. 레이크 열이 되거나 쿼리 결과에 나타나지 않습니다.

## 동기화 동작

초기 동기화 날짜와 지연 도착 데이터의 조회 기간을 설정하면 전체 이력을 다시 읽지 않고도 늦게 도착한 이벤트를 갱신할 수 있습니다.

새 소스는 연결할 때 동기화한 다음 설정된 일정을 따릅니다. 기본 반복 간격은 4시간입니다. 실행이 중단되어도 완료한 진행 상황을 유지하며 안전하게 재시도합니다.

모든 레이크 테이블에는 [시스템 열](/docs/concepts/your-lake#시스템-열)인 `_synced_at`과 `_deleted`도 있습니다. 아래 열 참조에는 소스 열만 나열합니다.

## 테이블 참조

### `events`

`titan.mixpanel.events`의 소스 열 수는 5개입니다.

```columns table=mixpanel.events
insert_id                               string pk           `insertId` 소스 필드.
event                                   string              `event` 소스 필드.
distinct_id                             string              `distinctId` 소스 필드.
time                                    datetime            `time` 소스 필드.
properties                              json                `properties` 소스 필드.
```

### `profiles`

`titan.mixpanel.profiles`의 소스 열 수는 2개입니다.

```columns table=mixpanel.profiles
distinct_id                             string pk           `distinctId` 소스 필드.
properties                              json                `properties` 소스 필드.
```

### `cohorts`

`titan.mixpanel.cohorts`의 소스 열 수는 4개입니다.

```columns table=mixpanel.cohorts
id                                      integer pk          `id` 소스 필드.
name                                    string              `name` 소스 필드.
description                             string              `description` 소스 필드.
created                                 datetime            `created` 소스 필드.
```

### `funnels`

`titan.mixpanel.funnels`의 소스 열 수는 2개입니다.

```columns table=mixpanel.funnels
funnel_id                               integer pk          `funnelId` 소스 필드.
name                                    string              `name` 소스 필드.
```

## 삭제와 이력

행은 소스 키로 병합됩니다. 소스에서 행 삭제를 입증할 수 있으면 Supernova는 행을 유지하고 `_deleted`를 설정합니다. 따라서 쿼리에서 이력을 포함할지 선택할 수 있습니다. 현재 상태를 조회하는 쿼리에는 `where not _deleted` 필터를 사용하세요.
