=== Background
While working on {T350497} Abstract Wikipedia team suggested to add `activity_session` as a new contextual attribute to be able to manage user activity sessions (to distinguish it from the `user_session` one, we have to keep in mind that `activity_session` has an independent value for sessions opened even if they are open in the same browser instance).
We'd need to add it as a new attribute to the Metrics Platform JS client library (it's a web-based specific attribute when calling `submitInteraction()`).
=== AC
[] `performer.active_browsing_session_token` contextual attribute has been added to the [[ https://gerrit.wikimedia.org/r/plugins/gitiles/schemas/event/secondary/+/refs/heads/master/jsonschema/analytics/product_metrics/web/base | web base schema ]] ([[https://gerrit.wikimedia.org/r/c/schemas/event/secondary/+/1008541|review]])
[] `performer.active_browsing_session_token` attribute has been added to the Metrics Platform JS client library (+ the EventLogging work that has to be done in the [[https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/EventLogging/+/refs/heads/master/includes/MetricsPlatform/ContextAttributesFactory.php|ContextAttributeFactory]]) ([[https://gitlab.wikimedia.org/repos/data-engineering/metrics-platform/-/merge_requests/38|review JS client library]]) ([[https://gerrit.wikimedia.org/r/c/mediawiki/extensions/EventLogging/+/1008549|review EventLogging]])
[v] All this has been tested locally (the new contextual attribute is added to an event)
=== Notes
- `activity_session`field in datahub: https://datahub.wikimedia.org/glossaryTerm/urn:li:glossaryTerm:0f6b8770-8db9-4eb5-b205-4225daf5bb1b/Documentation?is_lineage_mode=false