matomo-org/matomo

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

Aperta

#22.791 aperta il 22 nov 2024

 (2 commenti) (0 reazioni) (0 assegnatari)PHP (2890 fork)batch import
EnhancementHelp wantedtriaged

Metriche repository

Star
 (21.771 stelle)
Metriche merge PR
 (Merge medio 8g 11h) (106 PR mergiate in 30 g)

Descrizione

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."


Guida contributor