What problem does it solve?
This Skill guides developers through implementing Fullstory's User Anonymization API to properly end an identified session and start a new anonymous session, ensuring user privacy on logout and during account switching.
Core Features & Use Cases
- Proper logout handling: anonymize before redirect to prevent the next user's activity from being attributed to the previous user.
- Account switching and shared devices: cleanly boundaries between identities when users switch accounts or use shared devices.
- Event tracking before anonymization: optionally capture relevant analytics events (e.g., logout, session timeout) before starting an anonymous session.
- Privacy-compliance patterns: supports forget-me or privacy-conscious flows while preserving historical analytics.
- Reference-ready patterns: provides concrete code patterns and pitfalls to avoid.
Quick Start
Implement the anonymization call in your logout flow before any navigation. Example: add a single anonymize call FS('setIdentity', {anonymous: true}) prior to redirecting the user.