Summary
hCaptcha's error-callback provides us with an error code https://docs.hcaptcha.com/configuration#error-codes. We should make sure that this error code is included in:
- Prometheus events, so we can distinguish between error types, for account creations and edits
- the special_create_account event logging stream, as a distinct event that can be analyzed as part of examining the account creation funnel for a user
- the visualEditorFeatureUse schema, as a distinct event that can be analyzed as part of examining the editing funnel for a user
Acceptance criteria
- Prometheus events can be split by error code
- visualEditorFeatureUse has an event for the hCaptcha error code
- special_create_account has an event for the hCaptcha error code