Page MenuHomePhabricator

Integrate iOS editing data into EditAttmptStep schema
Closed, ResolvedPublic

Description

In order to track iOS editor/editing activity we will need to start planning to send edit event tracking to the global EditAttmptStep schema. Just want to get the ball rolling so this is on engineering radar.

We can replicate the Android editing data that is currently being sent to this schema with the following actions:
init (start)
saveAttempt
saveSuccess
saveFailure

Note: For edits initiated while highlighting text we will use an additional first step highlightEdit at beginning of funnel.
See: https://phabricator.wikimedia.org/T209171

iOS data will also need to have value integration = ios-app-phone (or ios-app-tablet) and numeric page_ns and revision_id value sent with each event.

Event Timeline

JMinor triaged this task as Medium priority.Jul 25 2022, 9:43 PM

Note that the MP team is in progress migrating EditAttemptStep schema to MP, see https://phabricator.wikimedia.org/T309013

iOS should probably wait to integrate into new schema rather than start with Legacy and then move over.

Clarification: iOS team is ok to integrate with the[[ https://schema.wikimedia.org/#!/secondary/jsonschema/analytics/legacy/editattemptstep | /legacy/editattemptstep ]] schema as-is, using same fields/structure as Android. Timeline to start is tbd.

Note: Please make sure we are using version 1.4.0 of http.client_ip so that EventGate will populate the IP address for iOS events.

These changes will be deployed as part of the 7.3.0 release but will be verified by analytics post-release