matomo-org/matomo

Clarify "Keep Page URL fragments when tracking Page URLs" Option in Measurable Settings

开放

#22,791 创建于 2024年11月22日

 (2 条评论) (0 个反应) (0 位负责人)PHP (2,892 个派生)batch import
EnhancementHelp wantedtriaged

仓库指标

星标
 (21,797 个星标)
PR 合并指标
 (平均合并 8天 11小时) (30 天内合并 106 个 PR)

描述

Within the configuration of a measurable there is an option "Keep Page URL fragments when tracking Page URLs", this option is not super clear, could we precise that this is about #. Screenshot from 2024-11-22 10-51-13

Steps to reproduce

  1. Open the Matomo settings and navigate to the configuration of a Measurable.
  2. Locate the option labeled "Keep Page URL fragments when tracking Page URLs".
  3. Review the description or functionality associated with this option.

What I got:

The option "Keep Page URL fragments when tracking Page URLs" lacks clarity. It is not immediately clear that it refers to tracking the fragment identifier (#) in the URL, which can affect how analytics handle single-page applications or anchor-based navigation.

What I expected instead:

A more precise explanation for the option, such as:
"This setting determines whether the fragment identifier (e.g., #section) in URLs is included when tracking page views. Enable this if you want analytics to differentiate between sections of a page identified by # fragments."


贡献者指南