Mixpanel

Integrating SessionStack with Mixpanel

Add a SessionStack recording to every Mixpanel user profile.

Add this code anywhere in your app, after SessionStack and Mixpanel have been loaded.

sessionstack('getSessionId', function(sessionId) {
    if (sessionId) {
        mixpanel.track('SessionStack', {
            recording: 'https://app.sessionstack.com/player/#/sessions/' + sessionId,
        });
    }
});