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: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=...). SegmentStream automatically capturesehashfrom URLs — you only need to ensure it’s included in your email links and sent with on-site form events.
In this section
User ID
Implement user ID tracking in Google Analytics for cross-device attribution.
Email hash (Segment)
Implement ehash-based cross-device tracking using Segment.
Email hash (GTM)
Implement ehash-based cross-device tracking using Google Tag Manager.