Skip to content

Conversation

@QDenka
Copy link

@QDenka QDenka commented Feb 8, 2026

Summary

Fixes #22791

This PR clarifies the "Keep Page URL fragments when tracking Page URLs" option in Measurable Settings by:

  1. Adding (#) to the setting title — making it immediately obvious that "fragments" refers to the hash (#) portion of URLs
  2. Adding an inline help text — providing a brief explanation with an example (example.com/page#section) and noting this is useful for single-page applications or anchor-based navigation

Before

The setting title was: "Keep Page URL fragments when tracking Page URLs" with no additional context.

After

The title now reads: "Keep Page URL fragments (#) when tracking Page URLs" with an inline help tooltip explaining what URL fragments are.

Changes

  • plugins/SitesManager/lang/en.json — updated title string, added new KeepURLFragmentsInlineHelp translation key
  • plugins/WebsiteMeasurable/MeasurableSettings.php — added inlineHelp to the keep URL fragments field

- Added (#) to the setting title to make it immediately clear what 'fragments' refers to
- Added inline help text explaining URL fragments with an example, noting usefulness for single-page applications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant