# URL 合并

> #### URL 合并是什么
>
> URL 合并是一项功能，用于将实质上相同但 URL 不同的页面数据统合在一起进行测量和分析。例如，您可以将表示法不同的 URL（如「www」的有无或 URL 末尾「/」的有无）视为同一页面。
>
> **此功能的优势**
>
> **准确的数据分析：** 防止同一页面的访问数据分散到多个 URL，能够准确掌握页面的性能。
>
> **提高分析效率：** 通过数据整合，分析报告更清晰易读，提高分析工作的效率。

## 设置方法

档案名称旁的齿轮图标

⬇️

基本设置和标签获取

⬇️

URL 统一

⬇️

按注册域名分别设置

### 包含「www」和不包含「www」的 URL

初期设置：开启

例：`www.mysite.com` 和 `mysite.com` → 作为 `mysite.com` 进行测量 ❓ 如需单独确认，请改为关闭

### 包含「#」和不包含「#」的 URL

初期设置：开启

💡 对于单页网站，建议设置为关闭

### 包含「index.html」和不包含「index.html」的 URL

初期设置：关闭

如需统一 `www.site.com` 和 `www.site.com/index.html`，请改为开启

### 包含「/」和不包含「/」的 URL

初期设置：开启

例：`www.mysite.com/` → 作为 `www.mysite.com` 进行测量

不适用于带参数的 URL（例：`www.mystie.com/?utm_source=google`）


---

# 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/insight/setting/url-unification.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.
