# Adobe Dynamic Tag Managerでタグ設置

Adobe社のDynamic Tag Manager (DTM)を使用してPtengineの解析コードを設置できます。GTMなどの他のタグマネージャーと同様の手順で設定可能です。

📌 重要な注意点: DTMでPtengineの解析コードを設置する際は、以下の設定に特に注意してください。

{% hint style="info" %}
順次HTML vs 非順次HTML ✅ 「順次HTML（同期処理）」を選択 ❌ 「非順次HTML（非同期処理）」は選択しない
{% endhint %}

💡 理由:

* Ptengineの解析コードは既に非同期処理に対応しています。
* DTMで非順次HTMLを選択すると、解析コードが正常に機能せず、データが正しく集計されない可能性があります。

詳細:

* 非順次HTML: ページの他のファイルと並行してロードされ、ローディング時間を短縮できます。
* しかし、Ptengineコードは既に最適化されているため、DTMでの追加の非同期設定は不要で、むしろ問題を引き起こす可能性があります。

✅ 正しい設定手順:

1. DTMでPtengineの解析コードを追加
2. 「順次HTML（同期処理）」オプションを選択
3. その他の設定を行い、保存

これらの手順に従うことで、Ptengineの解析コードが正常に機能し、正確なデータ集計が可能になります。


---

# Agent Instructions: 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:

```
GET https://helps.ptengine.com/start-guide/othertag/tag-adobe-dtm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
