> For the complete documentation index, see [llms.txt](https://docs.wicle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wicle.io/other/troubleshoot/tag/check-tag-installation.md).

# ページ上にタグが設置されているかどうか確認する

ChromeのデベロッパーツールでWicleタグの設置を確認し、APIキーの一致・タグの重複・計測対象の条件を調べる方法を説明します。

Google Chromeのデベロッパーツール（検証）を使うと、ページ上にタグが正しく設置されているか確認できます。

## 計測タグの確認 <a href="#check-tracking-tag" id="check-tracking-tag"></a>

### 手順 <a href="#steps" id="steps"></a>

1. デベロッパーツールの「Elements」タブを開く
2. `Ctrl + F`（Mac: `Cmd + F`）で検索を開く
3. `cdn-edge.karte.io` を検索する

### 確認結果の対応 <a href="#verification-result" id="verification-result"></a>

#### タグが見つからない場合 <a href="#tag-not-found" id="tag-not-found"></a>

対象ページでは計測タグを確認できていません。タグの設置方法や、タグを配信する条件を確認してください。

* 直接設置の場合: [計測タグの設置手順](/initial-setting/tag.md)を参照し、正しい位置にタグが記述されているか確認する
* GTMを使用している場合: [GTMのプレビューモードで確認する](/other/troubleshoot/tag/check-gtm-preview-mode.md)

#### タグが見つかったがイベントが発生しない場合 <a href="#tag-found-but-no-events" id="tag-found-but-no-events"></a>

以下を順番に確認してください。

1. **APIキーが正しいか**\
   `cdn-edge.karte.io/` の後に続く文字列が、WicleプロジェクトのAPIキーと一致しているか確認してください。\
   APIキーは [プロジェクト設定の計測タグ画面](https://app.wicle.io/settings/mesurement-tag) で確認できます。
2. **タグが重複していないか**\
   同じページに複数のWicleタグやKARTEタグが設置されている場合、タグが競合し正常に動作しないことがあります。\
   [タグ設定画面](https://app.wicle.io/settings/mesurement-tag)のタグ設置確認から、タグ設置先ページのURLを入力してチェックしてください。
3. **計測対象の条件に合っているか**\
   [計測対象ドメイン](/initial-setting/tag.md#domain-validation)の制限や、[イベントごとの対象URL・除外URL](/initial-setting/tag.md#event-url-conditions)を確認します。タグが存在していても、設定によって計測対象外になる場合があります。

{% hint style="warning" %}
1つのサイトには1つのWicle計測タグの設置を推奨しています。複数タグの設置が必要な場合は、[サポート窓口](/other/support/contact.md)までお問い合わせください。
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.wicle.io/other/troubleshoot/tag/check-tag-installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
