You can attach custom visitor information (like user ID, email, subscription plan, etc.) to the current session so it appears in the Revisit dashboard and is available for search and filtering.
Developer required: This integration needs a developer to add a few lines of code to your app.
Listen for the revisit:ready event, then call setVisitorData. Optionally set a profile picture URL.
// Wait until the recorder is ready
window.addEventListener('revisit:ready', (e) => {
const recorder = e.detail && e.detail.recorder
if (!recorder) return
// Attach simple placeholder traits
recorder.setVisitorData({
userId: '123',
email: 'jane@example.com',
plan: 'pro'
})
// Optional: show an avatar in the session details
recorder.setProfilePictureUrl('https://i.pravatar.cc/256?img=1')
})userId, email, name, plan, teamIdrecorder.setVisitorData({ featureFlag: 'A' })revisit:readyIf you have questions about implementing visitor details or need developer support, our team is here to help.
Contact Support