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.

Embed
Preview of the card
<a href="https://lucidace.com/help/form-responses"><img src="https://lucidace.com/help/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/2f4b888b-c4e6-488b-81bd-6e838fb12d2e/pages/67e11f22-83b5-4477-b666-fde504667b91/social-card.svg?v=3e7ae33eec8b" alt="Form responses by form and experiment arm" width="600" height="315"></a>

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_completed over time, broken down by survey:id (the form, whichever spelling).

  • Response rate by experiment arm: a 14-day funnel from $feature_flag_called to $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. Without flag_key every 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": "..."}.

Updated