Segment cross domain tracking
Track responders in Segment across domains
If you would like to track Segment users across multiple domains e.g:
- Site 1: https://www.example.com
- Site 2: https://www.flow.example.com (the domain hosting the Formsort flow)
You must explicitly set and pass the responder UUID from the top level domain to the one hosting the Formsort flow. This can be done for the both with a direct link deployment or an embeded flow.
Navigate to the variable tab inside of a flow and add an external variable.

Name the variable "responder_id" and set the data classification toggle to
responder_user_id.
This variable will be used to pass the responder id as a query parameter from https://www.example.com to https://www.flow.example.com

After deploying the flow with the variable set in Step 1, you can now pass a Segment user id into the flow as a query parameter.
For example this may look like:
https://flow.example.com/client/{{your_account_name}}/flow/{{your_flow_name}}/variant/{{your_flow_variant_name}}/?
responder_id={{segment_user_id}}
If you want to enable cross domain tracking in an embedded flow, you can pass
responder_id
via query_params
in our react-embed package. e.g.<EmbedFlow
clientLabel="client"
flowLabel="onboarding"
queryParams={[['responder_id', '<value>']]}
/>
embed.loadFlow(
'client', // client label
'onboarding', // flow label
'main', // variant label - optional
[['responder_id', '<value>']] // query params
)
Last modified 9mo ago