Remove anchors/hashes in Snowplow events URLs
What does this MR do and why?
Related to #341882 (closed)
This MR removes the URL hash/fragment from Snowplow events, so we avoid adding unmasked PII data.
How to set up and validate locally
- Follow the instructions in our docs to enable Snowplow locally, if you haven't done so.
- Turn on the
mask_page_urls
feature flag. - Browse to a page that includes a hash to trigger a Page View Snowplow event. For example, you can go to
http://127.0.0.1:3000/gitlab-org/gitlab-test/edit#js-general-settings
. - Verify the Snowplow testing tool of your choice, no hashes should be found.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Axel García