title: analytics/legacy/mobilewebuiactionstracking description: >- Logs when certain UI elements get visible and when user interacts with those on Wikimedia Minerva skin. $id: /analytics/legacy/mobilewebuiactionstracking/1.3.4 $schema: 'https://json-schema.org/draft-07/schema#' type: object allOf: - $ref: /fragment/analytics/legacy/eventcapsule/1.2.0 - properties: event: properties: $ref: /fragment/analytics/web_accessibility/1.0.1#/properties - required: - event properties: event: type: object required: - action - name - modes - token - isAnon properties: action: description: >- Type of interaction. `Shown` is a special interaction, not triggered by user. It can be sent to mark that given dynamic UI element got presented to the user. type: string enum: - init - show - click skin: description: >- Indicates the skin and is currently in use on both Vector and Minerva. Additionally, it is available for potential future applications. type: string name: description: >- Uniquely describes the thing that was interacted. Clicks on element with `data-event-name` attribute will be automatically tracked, using `data-event-name` as `name`. type: string destination: description: URL that the link points to. If undefined it was not a link. type: string modes: description: >- Comma separated list of modes. Whether the user is seeing the stable (non-beta), amc, beta version of the mobile site or the desktop version of Minerva. Note: Desktop mode includes the AMC mode. When `desktop` mode is selected, do not send the `amc` mode. type: string pageNamespace: description: >- The namespace ID of the page with which the user was interacting. type: integer token: description: >- Session token that survives across pages (mw.user.sessionId()), but not when browser restarts. type: string pageToken: description: >- One-time token per page load (consistent with Schema:EditAttemptStep and other schemas that use mw.user.getPageviewToken). type: string isAnon: description: Is the user viewing anonymously? type: boolean userGroups: description: The list of groups the user belongs to. type: string editCountBucket: description: Number of edits by user. Set only if user is logged in. type: string enum: - 0 edits - 1-4 edits - 5-99 edits - 100-999 edits - 1000+ edits examples: - event: action: show name: example_name modes: example_modes token: example_token pageToken: example_page_token isAnon: true userGroups: 'sysop,*,user,autoconfirmed' meta: dt: '2020-04-02T19:11:20.942Z' id: b0caf18d-6c7f-4403-947d-2712bbe28610 stream: eventlogging_MobileWebUIActionsTracking dt: '2020-04-02T19:11:20.942Z' client_dt: '2020-04-02T19:11:20.942Z' $schema: $ref: '#/$id' schema: MobileWebUIActionsTracking