Form responses by form and experiment arm
Report external form submissions by form id and compare response rate across experiment arms with the Form responses dashboard template.
Forms connectors (FormFlow, Typeform) send a $survey_completed event per submission. The form is the survey_id property and the submission is submission_id (the older $survey_id and $survey_submission_id are still sent and still read). Answer values are not collected. Lucida has no surveys of its own, so this page covers external forms only.
FormFlow responses are keyed to the person by the signed-in respondent: a respondent id of uid:usr_123 becomes the distinct id usr_123, so the response joins that person. An anonymous respondent falls back to the submission id. A mapped field named distinct_id overrides both. When the submission came from an experiment, the event also carries $experiment_id and $variant.
The FormFlow API base is optional and defaults to https://formize.net/api/v1. If you set base_url, it must end in /api/v1; a bare host such as https://formize.net makes the test fail with a hint to add it.
Because $survey_id is an ordinary event property, any trends or funnel insight can break down by it with {"key": "survey_id"}.
The built-in dashboard template Form responses (builtin:form-response, in the dashboard templates list) adds two insights:
Submissions by form:
$survey_completedover time, broken down bysurvey:id(the form, whichever spelling).Response rate by experiment arm: a 14-day funnel from
$feature_flag_calledto$survey_completed, broken down by$feature_flag_response. Pass{"flag_key": "<your experiment's flag>"}when you instantiate and the first step counts only exposures to that flag, so the rate is people who submitted the form divided by people exposed, per arm. Withoutflag_keyevery flag's exposures are counted, which is rarely what you want.
Instantiate it with POST /v1/projects/{pid}/dashboard-templates/builtin:form-response/instantiate and an optional body of {"name": "...", "flag_key": "..."}.