Identity Resolution
Identity resolution automatically connects pre-login anonymous activity with identified user profiles.
How It Works
Section titled “How It Works”- Anonymous Tracking: User visits, browses, and is assigned an anonymous ID
- Identification: User logs in and you call
analyze.identify() - Stitching: analyze.swiss links all anonymous activity to the user profile
- Unified View: See the complete journey from first touch to conversion
Implementation
Section titled “Implementation”```javascript // Before login - user is anonymous analyze.track(‘page_viewed’); analyze.track(‘feature_explored’);
// User logs in analyze.identify(‘user_123’, { email: ‘user@example.com’ });
// Now all previous events are linked to user_123 ```
Cross-Device Identity
Section titled “Cross-Device Identity”When a user logs in on multiple devices, their activity is automatically merged:
- Desktop browsing → Login → Mobile browsing → All linked to one profile
B2B Identity
Section titled “B2B Identity”For B2B products, link users to companies:
```javascript analyze.identify(‘user_123’, { email: ‘user@acme.com’, company: { id: ‘company_456’, name: ‘Acme Inc’ } }); ```
This enables company-level analytics and account-based attribution.