Per the approach we converged on in T304036, this ticket involves the work of adding the pageview token to the DesktopWebUIActions and MobileWebUIActions schemas.
Doing the above is necessary to ensure the four schemas listed below are sampling events at the same rates and using the same methods:
- VisualEditorFeatureUse
- EditAttemptStep
- DesktopWebUIActions
- Talk_Page_Edit
Requirements
- A unique one-time token is assigned for each desktop page load in DesktopWebUIActions
- A unique one-time token is assigned for each mobile web page load in MobileWebUIActions
- The new pageToken fields in the UIAction schemas contain the same values from mw.user.getPageviewToken() that's currently logged in EditAttemptStep as page_token.
- It's possible to correlate a page view logged in DesktopWebUIActions or MobileWebUIactions with any corresponding edit events (both page and discussiontool related events) that occur on the same page load logged in EditAttemptStep.
- This will be used to calculate metrics regarding users that view a talk page and then engage (i.e. click an edit button, start a new topic, reply, etc.).
- For example, we want to be able to know the timestamp of a pageview (action=init) event from the UI actions schemas and find the timestamp for any subsequent edit attempts (action = init ) event in the editing schemas.
Done
- 1. @MNeisler drafts ===Requirements
- 2. @DLynch to proposes a patch that implements the === Requirements
- 3. The Editing Team consults with relevant members of the Web Team to ensure they support the approach we'll have proposed in "2."
- 4. Once all patches to resolve this task are merged, @MNeisler to verify instrumentation is working as expected