properly update user properties in events

This commit is contained in:
Phillip Thelen
2025-09-04 12:57:35 +02:00
parent ddba450630
commit 2c7f6fd9e3
36 changed files with 52 additions and 52 deletions

View File

@@ -21,7 +21,7 @@ export function checkOnboardingStatus (user, req, analytics) {
user.addNotification('ONBOARDING_COMPLETE');
if (analytics) {
analytics.track('onboarding complete', {
user: pick(user, ['preferences', 'registeredThrough']),
user,
uuid: user._id,
hitType: 'event',
category: 'behavior',