Set values for StandardContext in Frontend
What does this MR do and why?
Everything is set up to hash user_id
, so we need to provide the values as well to the events. For BE we're mostly covered, but we have not set namespace/project and user for the StandardContext that is provided to the Frontend.
How to set up and validate locally
- Enable related features:
::Feature.enable(:add_namespace_and_project_to_snowplow_tracking)
::Feature.enable(:add_actor_based_user_to_snowplow_tracking, User.first)
- Visit a page (to see project of group, visit a related entity page)
Numbered steps to set up and validate the change are strongly suggested.
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.
Related to #342993 (closed)
Edited by Niko Belokolodov