title: analytics/legacy/serversideaccountcreation description: Logs server-side events generated by MediaWiki when a new account is created $id: /analytics/legacy/serversideaccountcreation/1.4.0 $schema: 'https://json-schema.org/draft-07/schema#' type: object allOf: - $ref: /fragment/analytics/legacy/eventcapsule/1.3.0 - $ref: /fragment/http/client_ip/1.0.0# - required: - event properties: event: type: object required: - token - userId - userName - isSelfMade - campaign - userBuckets - displayMobile - isApi properties: token: description: User token type: string userId: description: User ID' type: integer userName: description: Username of newly-created user type: string isSelfMade: description: >- False if existing user created this account for someone else, true otherwise type: boolean returnTo: description: >- Indicates the wiki page the user was on when initiating Create account. type: string returnToQuery: description: >- The query string, if any, for the wiki page the user was on when initiating Create account. type: string campaign: description: Contents of 'mediaWiki.campaign' cookie. type: string userBuckets: description: Contents of 'userbuckets' cookie. type: string displayMobile: description: Whether the mobile view is active. type: boolean isStable: type: string enum: - stable - beta - alpha description: >- Whether the user is seeing the regular non-beta, beta, or alpha version of the mobile site. (Not implemented as of 2013-02-12.) isApi: description: Whether the account creation is using API. type: boolean sul3Enabled: description: Whether Single User Login v3 is enabled for this request or not. type: boolean hCaptchaScore: description: Risk score returned from hCaptcha Enterprise, see https://docs.hcaptcha.com/enterprise/scores_and_modes/. This field's value is set to -1 if ConfirmEdit is not using hCaptcha Enterprise in the account creation process. See T379179. type: number maximum: 1 minimum: -1 examples: - event: token: example_token userId: 12345 userName: example_user_name isSelfMade: true campaign: example_campaign userBuckets: example_user_buckets displayMobile: true isApi: true sul3Enabled: true hCaptchaScore: 0.55 meta: dt: '2020-04-02T19:11:20.942Z' id: b0caf18d-6c7f-4403-947d-2712bbe28610 stream: eventlogging_ServerSideAccountCreation dt: '2020-04-02T19:11:20.942Z' client_dt: '2020-04-02T19:11:20.942Z' $schema: $ref: '#/$id' schema: ServerSideAccountCreation