# URLの末尾に「/」がついているページが合算されない場合

Ptengineのデフォルト設定ではURLの最後に「/」が付いた場合、それを取り除いたURLのデータと合算されるようになっております。

## Ptengineでの仕様 <a href="#id-0-toc-title" id="id-0-toc-title"></a>

通常の合算は以下のようになります。

① [www.\\\*\\\*\\\*.com/\\](http://www.\\*\\*\\*.com/\\)
② [www.\\\*\\\*\\\*.com\\](http://www.\\*\\*\\*.com\\)
③ [www.\\\*\\\*\\\*.com/?form=mail\\](http://www.\\*\\*\\*.com/?form=mail\\)
↓合算\
①+②+③ [www.\\\*\\\*\\\*.com](http://www.\\*\\*\\*.com)

注：パラメータ(赤字部分)が付いたものについては、2021年11月15日以降アップデートにより合算されるようになっています。それ以前のデータは以下のように合算されない形で表示されます。\
① [www.\\\*\\\*\\\*.com/\\](http://www.\\*\\*\\*.com/\\)
② [www.\\\*\\\*\\\*.com\\](http://www.\\*\\*\\*.com\\)
③ [www.\\\*\\\*\\\*.com/?form=mail\\](http://www.\\*\\*\\*.com/?form=mail\\)
↓合算\
①+② [www.\\\*\\\*\\\*.com\\](http://www.\\*\\*\\*.com\\)
③ [www.\\\*\\\*\\\*.com/](http://www.\\*\\*\\*.com/)

## 背景知識 <a href="#id-1-toc-title" id="id-1-toc-title"></a>

以下のケースが考えられるため、Ptengineでは上記のようなパラメーター除去の製品仕様となっています。

#### **ケース１：**

トップページ：　　　 `https://shop.ptengine.com/`\
商品１の紹介ページ：`https://shop.ptengine.com/#927242`\
商品２の紹介ページ：`https://shop.ptengine.com/#927243`

ケース１の場合、トップページの内容は各商品の紹介ページと全く異なります。その場合、パラメータ除去後では、トップページと各商品の紹介ページをそれぞれ分けた方が効果的にデータを確認することができます。\
パラメータ除去後：\
`https://shop.ptengine.com`\
→トップページのまとめ（`https://shop.ptengine.com`　と　`https://shop.ptengine.com/`）\
`https://shop.ptengine.com/`\
→各商品の紹介ページまとめ（`https://shop.ptengine.com/#商品id`）

#### **ケース２：** トップページ：　　　　　　`https://shop.ptengine.com/` トップページの広告流入：　`https://shop.ptengine.com/?utmsource=yahoo`

ケース２の場合、トップページにパラメータがついていても、トップページの内容と同じのためパラメータ除去後でまとめて見たいという場合、[ページグループ機能](https://help.ptengine.jp/docs/pagegroup-settings/)で下記のように設定するかまたは直接パラメータ除去後ページを確認することで、同一ページへの訪問をまとめることができます。\
完全一致　　`https://shop.ptengine.com`\
完全一致　　`https://shop.ptengine.com/`\
前方一致　　`https://shop.ptengine.com/?`


---

# 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/faq/tag-and-domain/url-trailing-slash.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.
