> For the complete documentation index, see [llms.txt](https://malgn.gitbook.io/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malgn.gitbook.io/cloud/operation-guide/detailed-settings/script-seo-usage.md).

# 스크립트 및 SEO 활용법

### 사이트스크립트 및 SEO&#x20;

홈페이지관리 > 사이트관리 > **사이트스크립트관리/SEO관리** 메뉴에서 직접 설정할 수 있습니다.&#x20;

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FbZzCywuw4HFaXCBgGczv%2Fimage.png?alt=media&amp;token=7d77b102-6a15-4cee-8ba2-84636751a09f" alt=""><figcaption></figcaption></figure>

***

#### 사이트스크립트

구글 애널리틱스(GA), 페이스북 픽셀, 카카오 모먼트 등 외부 마케팅·분석 도구의 코드를 삽입하는 메뉴입니다. 제공되는 회원가입 완료, 과정 조회, 도서 조회, 상품 조회, 장바구니 담기, 구매 시작, 구매 완료 페이지에 한하여 삽입이 가능합니다.&#x20;

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FCWAb5yDXIYJiQnCRjFuZ%2Fimage.png?alt=media&amp;token=d25686b4-c847-404b-82bc-cf9449af5a2a" alt=""><figcaption></figcaption></figure>

1. 각 항목별 사용 가능 변수 및 스크립트 예시를 확인합니다.

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FiPaylPNDGfVBn6uvkjel%2Fimage.png?alt=media&amp;token=86083436-f92d-41f2-8657-7c83f95ac36a" alt=""><figcaption></figcaption></figure>

2. 예시를 참고하여 스크립트를 작성합니다.

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FMbvLLr9WX2Tz9BicMsCv%2Fimage.png?alt=media&amp;token=f4d912cc-f250-4f89-aae0-5a2d45bdff06" alt=""><figcaption></figcaption></figure>

3. 작성 후 **\[저장]** 버튼을 클릭합니다.&#x20;

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FkTVFGWJ0ptpD6TVVVD7j%2Fimage.png?alt=media&amp;token=1dedba0c-8d86-4f34-8246-4cf5efd18d05" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
외부 마케팅·분석 도구(Google, 카카오, Facebook 등) 연동을 위해, 특정 이벤트 발생 시 실행될 스크립트를 직접 등록할 수 있습니다. 작성된 스크립트에 따라 사이트가 정상적으로 표시되지 않는 문제가 발생할 수 있으며, 이 경우 고객 지원은 제공되지 않습니다. **스크립트 구성이 어려운 경우, 각 도구 제공사 또는 전문 업체 이용을 권장드립니다.**
{% endhint %}

***

#### SEO

검색 엔진(구글, 네이버 등)에 사이트가 잘 노출되도록 최적화하는 메뉴입니다. 헤더 메타태그, 헤더, 본문 상단, 푸터 영역, robot.txt, sitemap.xml 설정이 가능합니다.&#x20;

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FVREdklQbVTIn9spppJRh%2Fimage.png?alt=media&amp;token=c319bc06-33b9-4b49-b0d5-b9e8a7b81faf" alt=""><figcaption></figcaption></figure>

1. 각 항목별 사용 설명에 대해 확인합니다.

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2Fde1Isj94sLmH9Lox4lVJ%2Fimage.png?alt=media&amp;token=371ea86c-b330-42e5-8c1f-0efaebf5e01f" alt=""><figcaption></figcaption></figure>

2. 항목에 맞는 태그를 작성합니다.&#x20;

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FJOSCPZAP5G9KLgWCF1Ol%2Fimage.png?alt=media&amp;token=1ecc1b97-e051-4a5a-a4a9-15f8736d3aa6" alt=""><figcaption></figcaption></figure>

3. 작성 후 **\[저장]** 버튼을 클릭합니다.&#x20;

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FkTVFGWJ0ptpD6TVVVD7j%2Fimage.png?alt=media&amp;token=1dedba0c-8d86-4f34-8246-4cf5efd18d05" alt=""><figcaption></figcaption></figure>

4. 홈페이지에 접속 후 > **\[페이지 소스  보기]** 클릭시 삽입한 내역 확인이 가능합니다.

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FHMMEjbnYh2QRwlWxJimI%2Fimage.png?alt=media&amp;token=52484751-a9ab-4286-af23-5eea3745592c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2682005733-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnCJ1h9RfgMyIYNsCiItT%2Fuploads%2FYK3AfaO2Z3o8ZfERcG8L%2Fimage.png?alt=media&amp;token=7d6d5ece-261e-47c3-8d06-6b44efac97d2" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
본 메뉴는 사이트의 검색엔진 최적화(SEO) 및 외부 도구 연동을 위한 설정 영역입니다. 각 영역의 용도에 맞는 스크립트와 파일 내용을 입력해 주세요. 잘못된 코드가 입력될 경우 사이트 오류나 검색 노출에 문제가 발생할 수 있습니다. 해당 페이지에 대한 코드 및 설정으로 인한 오류는 기술 지원이 제한되오니, 수정 시 각별히 유의해 주시기 바랍니다.
{% endhint %}


---

# 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://malgn.gitbook.io/cloud/operation-guide/detailed-settings/script-seo-usage.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.
