> For the complete documentation index, see [llms.txt](https://docs.immedio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.immedio.io/immedio-forms/settings/google-tag-manager.md).

# Google Tag Manager設定

公開フォームに Google Tag Manager のコンテナを読み込ませる設定です。

公開フォームに Google Tag Manager（GTM）のコンテナを読み込ませることで、広告タグやマーケティングオートメーションのタグをフォーム内に設置できます。

## 設定項目一覧

| 項目     | 説明                         |
| ------ | -------------------------- |
| コンテナID | GTM コンテナID（`GTM-` で始まる文字列） |

## 各項目の詳細

### コンテナID

Google Tag Manager 側で発行されたコンテナID（例: `GTM-XXXXXXX`）を入力します。設定はテナント単位で1つのみです。フォームごとに発火するタグは GTM 側で設定できます。

## 注意事項

* 設定の編集はオーナー権限のユーザーのみ可能です
* 不正なコンテナIDを設定すると、公開フォームのタグ読み込みエラーが発生する可能性があります

## 関連ガイド

* [Google Tag Managerを設置する](/immedio-forms/guides/integrations/google-tag-manager.md)


---

# 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.immedio.io/immedio-forms/settings/google-tag-manager.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.
