Track URL fragments
By default, the tracking of URL fragments is disabled to prevent capturing undesirable data. To enable it, under Track URL Fragments, toggle the switch to On.
Use cases and examples
| Use case | Example URLs | Track? |
|---|---|---|
| Track webpages or web views managed by hash-based routing. |
https://example.com/#/dashboard https://example.com/#/profile/settings |
Yes |
| Track anchor-based content to understand which sections of the page the customers are engaged with to identify potential meaningful user intent or sentiment. |
https://example.com/faq#billing https://example.com/faq#shipping |
Yes |
| Prevent tracking every user interactions with user interface components on a webpage as a new page view. |
https://example.com/products?#view=compact&sort=desc https://example.com/contact#openModal=true |
No (optional) |
|
Prevent tracking web app states that store sensitive information. |
https://example.com/passwordreset#access_token=abc123&expires_in=3600 |
No |
| Ignore in-page navigation that does not represent meaningful user behavior data. |
https://example.com/about#team https://example.com/about#ourvalues |
No |
