Skip to main content
Formstack → SegmentIntegration guide

Connecting Formstack to Segment

Formstack is used heavily in regulated industries, which means the forms frequently collect data that must never travel with a conversion event. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Formstack submission before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Formstack through Segment: filter fields and consent at the source

Send Formstack submissions server-side from a webhook to Segment as one track call, such as Form Submitted, with form ID, submission ID as messageId, the anonymousId or userId from a hidden field, click identifiers and consent state. Exclude answers in the payload-building code, not destination filters, because Segment fans out to every destination. Send qualification as a second CRM event.

Segment's fan-out is the main risk for a Formstack user. A submission event sent once to Segment can reach an ad platform, an email tool, a warehouse and an analytics tool, each a separate disclosure. If one form answer rides along as a property, it lands in all of them at once.

Send the submission server-side from a Formstack webhook to Segment as a track call, something like Form Submitted, with the form ID, the submission ID as messageId, and the anonymousId or userId you wrote into a hidden field when the form rendered. Click identifiers go as properties. Answers do not go at all, and that is decided in the code that builds the payload, not in Segment's destination filters, which someone can change later. Consent state goes on the event, so a visitor who declined advertising cookies is not forwarded to ad destinations.

Formstack is often embedded in an iframe, where analytics.js on the parent page cannot see a successful submit; a browser-side track call from the parent usually fires on a click, not on a submission that passed validation. Use the server-side event as the source of truth. If you need qualified rather than raw submissions downstream, send a second event from the CRM when qualification happens instead of trying to infer it inside Segment.

Formstack → Segment · what breaks

Why this join usually fails — Formstack → Segment

  1. 01

    The userId and anonymousId never reaches Formstack

    Forms are frequently embedded or hosted on a Formstack domain, so the identifier must be passed in as a hidden field.

  2. 02

    Form field content travelling with the conversion

    It is easy to attach form data to an event and it is frequently a disclosure. In the regulated sectors that use Formstack most, a field value in a conversion payload can be protected information.

  3. 03

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Formstack → Segment · the fix

What working looks like — Formstack → Segment

  • The userId and anonymousId on every submission

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Formstack → Segment · architecture

How Formstack and Segment actually connect

  1. 1

    Formstack holds the truth

    The submission is a lead; the CRM decides whether it was a good one. What must not travel is the field content, which in healthcare, finance and government forms is frequently sensitive.

  2. 2

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, captured at the visit and carried into the Formstack submission.

  4. 4

    The event source decides reliability

    Send qualified submissions as counts with a value if you have one. Never send field content.

  5. 5

    Deduplication at the destination

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Formstack → Segment · normal or broken

Working vs. broken, side by side — Formstack → Segment

Normal, not a fault

  • The userId and anonymousId present on the submission

  • Sent from your CRM, joined to the submission

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId missing on most records

    Forms are frequently embedded or hosted on a Formstack domain, so the identifier must be passed in as a hidden field.

  • Sent from the browser

    It is easy to attach form data to an event and it is frequently a disclosure. In the regulated sectors that use Formstack most, a field value in a conversion payload can be protected information.

  • Counted twice, or not at all

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Formstack → Segment · diagnose

Diagnostic order — Formstack → Segment

  1. 01

    Count submissions carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Read the conversion payload and confirm it carries no field content

    A count and a value may leave. The answers may not.

  4. 04

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Formstack → Segment · prove

How it gets proven — Formstack → Segment

Source of truth

Your CRM, with qualified submissions joined on the submission identifier.

  • The userId and anonymousId confirmed present on a live submission.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Qualified submissions reconciled as counts, with the payload demonstrated to carry no field data.

Formstack → Segment · free audit

What we check in the free audit

  • Count submissions carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Read the conversion payload and confirm it carries no field content
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Your CRM, with qualified submissions joined on the submission identifier.

Get my free conversion tracking audit

Free30 minutesNo obligation

Formstack → Segment · when not to buy

When you don't need this — Formstack → Segment

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the userId and anonymousId.
  • If your forms collect nothing sensitive, this is an ordinary lead integration — but check rather than assume.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Formstack → Segment · what we deliver

What gets built — Formstack → Segment

  • Identifier capture into Formstack

    Populate a hidden field with the identifier at render, and send only the fact of a qualified submission — never the field values.

  • Event source: your CRM, joined to the submission

    Send qualified submissions as counts with a value if you have one. Never send field content.

  • Dispatch to Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • Reversals where they exist

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM, with qualified submissions joined on the submission identifier.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Formstack → Segment questions, answered

Check the Segment catalog for your workspace. The reliable route is a Formstack webhook to a small service that calls Segment's server-side API.

Free · 30 min

Get Formstack and Segment joined properly

Free30 minutesNo obligation