> For the complete documentation index, see [llms.txt](https://salesclue.gitbook.io/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://salesclue.gitbook.io/guide/integration/gtm-integration/meta-pixel.md).

# 구글 태그매니저를 활용한 메타 픽셀 설치 가이드

**1단계: 메타 픽셀 생성 및 ID 확인**

1. **메타 비즈니스 스위트**에 접속합니다.
2. 왼쪽 메뉴에서 **데이터 소스** > **픽셀**을 선택합니다.
3. **픽셀 추가** 버튼을 클릭하고 **웹** 픽셀을 선택합니다.
4. 픽셀 이름을 입력하고 **설정** 버튼을 클릭합니다.
5. **코드 직접 설치** 옵션을 선택하고 **코드 복사** 버튼을 클릭하여 픽셀 ID와 기본 코드를 복사합니다.

**2단계: 구글 태그매니저 설정**

1. **구글 태그매니저**에 접속합니다.
2. **작업공간** > **태그** 메뉴에서 **새로 만들기** 버튼을 클릭합니다.
3. **태그 유형**에서 **템플릿 갤러리**를 선택합니다.
4. 검색창에 **Meta Pixel**을 입력하고 템플릿을 선택합니다.
5. 템플릿 설정에서 **메타 픽셀 ID**를 복사한 값으로 덮어씁니다.
6. **트리거** 설정에서 **모든 페이지뷰**를 선택합니다.
7. **변수** 설정은 기본값 그대로 유지합니다.
8. **저장** 버튼을 클릭하여 태그를 생성합니다.

**3단계: 테스트 및 게시**

1. **미리보기** 모드를 활성화합니다.
2. 픽셀을 설치하려는 웹사이트를 방문합니다.
3. **네트워크** 탭에서 **메타** 항목을 확인합니다.
4. 메타 픽셀 요청이 성공적으로 전송되었는지 확인합니다.
5. 문제가 없으면 **작업공간** > **개요** 메뉴에서 **게시** 버튼을 클릭하여 태그를 게시합니다.

**4단계: 추가 이벤트 설정 (선택 사항)**

기본 픽셀 설치 외에 구매, 결제, 양식 제출 등 다양한 이벤트를 추적하려면 다음 단계를 따릅니다.

1. **태그** 메뉴에서 **새로 만들기** 버튼을 클릭합니다.
2. **태그 유형**에서 **맞춤 HTML**을 선택합니다.
3. **맞춤 HTML** 코드 입력창에 메타에서 제공하는 이벤트 코드를 붙여넣습니다.
4. **트리거** 설정에서 원하는 이벤트가 발생하는 조건을 선택합니다.
5. **변수** 설정을 통해 이벤트 데이터를 전달합니다.
6. **저장** 버튼을 클릭하여 태그를 생성합니다.
7. **미리보기** 모드를 통해 이벤트 추적이 정상적으로 작동하는지 확인합니다.
8. 문제가 없으면 **게시** 버튼을 클릭하여 태그를 게시합니다.

**참고 자료:**

* **구글 태그매니저 공식 문서:** <https://developers.google.com/tag-platform/tag-manager/web>
* **메타 픽셀 설치 가이드:** <https://www.facebook.com/business/help/952192354843755>

**추가 정보:**

* 구글 태그매니저 템플릿을 사용하면 메타 픽셀 설치를 간편하게 할 수 있습니다.
* 다양한 이벤트를 추적하여 웹사이트 방문자의 행동을 분석할 수 있습니다.
* 구글 태그매니저와 메타 픽셀을 함께 사용하면 마케팅 효과를 극대화할 수 있습니다.

**주의 사항:**

* 메타 픽셀 ID 및 코드를 정확하게 입력해야 합니다.
* 트리거 및 변수 설정을 정확하게 해야 원하는 데이터를 추적할 수 있습니다.
* 개인정보 보호 정책을 준수하여 픽셀을 설치해야 합니다.

<br>


---

# 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://salesclue.gitbook.io/guide/integration/gtm-integration/meta-pixel.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.
