Why it matters
Modern users interact with brands across multiple channels and devices. A typical journey may include:- Subscribing to a newsletter on mobile
- Clicking a retargeting ad on desktop
- Converting later on tablet
What data is used to stitch sessions
SegmentStream combines the following identifiers to build and enrich the identity graph:| Identifier | Description |
|---|---|
user_id | A persistent user identifier (e.g. when logged in) — the strongest signal. |
ip_address | Used as a fallback when stronger IDs are missing; often combined with timestamp and location heuristics. |
click_id | Unique ad click identifiers (e.g. gclid, fbclid) used to match sessions to ad interactions. |
email hash (ehash) | A SHA-256 hashed version of the user’s email collected on forms (e.g. newsletter signup, checkout). Enables matching to email campaigns and cross-device interactions. |
SegmentStream uses confidence-weighted merging logic to stitch sessions based on multiple identifiers.
Use cases
- Cross-device attribution — Match a subscription on mobile to a purchase on desktop via
ehash. - Campaign path stitching — Connect Meta, Google, and direct sessions leading to a conversion.
- Better ML input — Feed complete user journeys into conversion modelling, improving performance.
Best practices for implementation
To get the most from the identity graph, implement the following:- Send
user_idto GA4 whenever a user logs in or authenticates. - Preserve
click_idparameters when redirecting from ad platforms by implementing the SegmentStream SDK. - Implement
ehashby capturing and hashing emails from forms (e.g. newsletter, checkout) and addingehashto email links (e.g.https://site.com?ehash=...).