Page MenuHomePhabricator
Paste P8308

HomepageVisit schema
ActivePublic

Authored by kostajh on Mar 29 2019, 2:02 AM.
Referenced Files
F28893890: raw.txt
May 1 2019, 11:18 PM
F28606180: raw.txt
Apr 10 2019, 11:25 PM
F28504319: raw.txt
Mar 29 2019, 2:02 AM
Subscribers
None
{
"description": "Log visits to Special:Homepage (provided by Extension:GrowthExperiments) from the server-side.",
"properties": {
"is_mobile": {
"type": "boolean",
"required": true,
"description": "If the event is associated with the mobile web frontend."
},
"referer_route": {
"type": "string",
"required": false,
"description": "The route the user took to arrive at the Special:Homepage. Calculated by looking at the query parameter.",
"enum": [
"userpagetab",
"usertalkpagetab",
"personaltoolslink",
"direct",
"other"
]
},
"referer_namespace": {
"type": "integer",
"required": false,
"description": "The namespace associated with the MediaWiki Title (e.g. 0, for Main_Page) that is the referer to this page. Calculated by attempting to load a MediaWiki title from parsing the HTTP REFERER header"
},
"referer_action": {
"type": "string",
"required": false,
"enum": [
"view",
"edit",
"other"
],
"description": "The action associated with the user activities on the MediaWiki Title that is the referer to this page. Calculated by looking at the action parameter in the query string of the HTTP REFERER header."
},
"user_editcount": {
"type": "integer",
"required": true,
"description": "The user edit count."
},
"user_id": {
"type": "integer",
"required": true,
"description": "User ID, needed for tracking across login sessions."
},
"impact_module_state": {
"type": "string",
"required": true,
"enum": [
"activated",
"unactivated"
],
"description": "Activation state of the impact module."
},
"start_tutorial_state": {
"type": "string",
"required": true,
"enum": [
"complete",
"incomplete"
],
"description": "Completion state of the tutorial module."
},
"start_userpage_state": {
"type": "string",
"required": true,
"enum": [
"complete",
"incomplete"
],
"description": "Completion state of the userpage module."
},
"start_email_state": {
"type": "string",
"required": true,
"enum": [
"noemail",
"unconfirmed",
"confirmed"
],
"description": "Completion state of the email module."
},
"homepage_pageview_token": {
"type": "string",
"required": true,
"description": "One-time token per page load. This is a random user session ID that will be exported to the client-side, so that HomepageModule schema events can be associated with this HomepageVisit event."
}
}
}