# 确认标签是否正常触发的方法

通过预先确认计测标签安装正确，可以防止数据计测遗漏和故障，实现准确的网站分析。您还可以及时发现标签重复安装等配置错误。

## 常见使用场景

在Ptengine计测标签刚安装到网站后的初期设置时

当您想确认数据是否正常计测时

当怀疑因标签重复安装等导致计测故障时

## 方法1. 在管理画面上确认

从管理画面右上角的齿轮图标打开 **\[基本设置和标签获取]** > **\[分析代码]**。

点击 **\[确认标签安装状况]** 按钮。

通过输入要检查的页面的URL，您可以确认标签是否已安装。

## 方法2. 在验证模式中确认

可以在浏览器的开发者工具（验证模式）中进行更详细的确认。

访问已安装标签的页面，在网站上右键单击并选择 **\[检查]**，启动开发者工具。

打开 **\[Network]** 选项卡，在搜索框中输入'`ptengine`'。

当您滚动或单击页面时，会显示一个名为'`collect`'的数据包。如果显示此数据包，则计测正常进行。

接下来，在浏览器中刷新（重新加载）页面。

确认显示了格式为'`××××××××.js`'（标签ID）的数据包。

确认此数据包的ID与Ptengine管理画面中发行的您的标签ID相匹配。

如果ID不匹配，或显示多个ID，可能是错误地安装了来自其他账户或项目的标签。由于标签重复会导致计测故障，请仅保留正确ID的标签，并从网站中删除不需要的标签。


---

# 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/cn/faq/start-guide/check-tag-firing.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.
