What happens when someone submits your form
- Each new submission sends one track call to Segment's HTTP Tracking API, authenticated with your source's write key.
- The event name is "Form Submission" unless you set your own event name.
- The userId is the submitter's email when the form has an Email question; otherwise the Fantastic Forms submission ID is used.
- Event properties include form_title plus every answer, keyed by the question text.
- Segment then delivers the event to whichever destinations are connected to that source.
What gets sent to Segment
| From your form | In Segment |
|---|---|
| Event name setting (default "Form Submission") | Event |
| Email question (or submission ID if none) | userId |
| Form title | properties.form_title |
| Each answer | A property named after the question text |
How to connect Segment
Before you start, you need
- A Segment workspace.
- An HTTP API source in Segment and its write key.
- Optional: the event name you want submissions to appear under.
Add an HTTP API source in Segment
In your Segment workspace, add a new source and choose the HTTP API type. Name it something like Fantastic Forms.
Copy the write key
Open the source's settings and copy its write key.
Open Segment in Fantastic Forms
Go to the Integrations page in your Fantastic Forms account, search for Segment and open it. Pick the form you want to connect in the Form dropdown: the connection is saved for that form only.
Paste your details, switch it on and save
Enter the Write Key and, if you like, an Event name such as Lead Form Submitted, turn on the switch in the Connection card and click Save. Required fields are checked when you save with the switch on.
Run the connection test
Click Test connection. It sends a real track event with the userId verification+test@fantasticforms.com and a property named Test, which you will see in the source debugger.
Check a real event in the debugger
Submit the live form and open the source's debugger in Segment to confirm the event name, userId and answer properties before enabling destinations.
Popular ways to use Segment with your forms
Lead events for your warehouse and ad platforms
Send demo and lead form completions to Segment so the same event reaches your warehouse and conversion destinations.
Start from a template: Demo Request Booking Form Template, Lead Generation Form Template
Product feedback in your analytics
Feedback and feature request answers arrive as event properties you can analyse next to product usage.
Start from a template: Product Feedback Form Template, Feature Request Form Template
Trial and onboarding questionnaires
Onboarding answers keyed by the user's email enrich the same profile your app already sends to Segment.
Start from a template: Free Trial Signup Form Template, Customer Onboarding Form Template
Tips for a better setup
- Use a distinct event name per form (for example Demo Requested or NPS Submitted) so downstream tools can tell forms apart without parsing properties.
- Keep question text short and stable: it becomes the property name, and renaming a question creates a new property.
- If your app identifies users by email, the form's email will tie the event to the same profile. If it uses internal IDs, map them in Segment rather than expecting a match.
- Use Segment's debugger after every form change to confirm the properties still look right.
Good to know
- Only track events are sent; there are no identify or page calls.
- Answers are sent with their question text as property names, so renaming questions changes the property names.
Troubleshooting
Test fails with an authentication error
Copy the write key again from the HTTP API source. Keys from other source types or other workspaces will not work.
Events show the submission ID instead of an email as userId
The form has no Email question type. Add one so the email becomes the userId.
Events arrive in Segment but not in a destination
Check that the destination is connected to this HTTP API source and that any destination filters or tracking plans allow the event name.
Segment integration FAQ
Does the integration send identify calls?
No. It sends one track event per submission. The email is used as the userId so destinations can associate the event with a person.
Can I change the event name?
Yes. Set Event name on the integration page; leave it blank to use Form Submission.
Is the Segment integration available on the Free plan?
Yes. Every native integration, including this one, is available on every Fantastic Forms plan, including Free.
Are older submissions sent to Segment?
No. Only submissions received after you switch the integration on are sent. Earlier submissions stay in Fantastic Forms, where you can export them.
What happens if a submission cannot be sent to Segment?
The submission is still saved in Fantastic Forms and the respondent sees no error. The message Segment returned is shown as Last error on the integration page for that form. Failed sends are not retried automatically, so fix the cause and check the next submission.