Track total time it takes users to register (#27020)
Added a new property in edx.bi.user.account.registered event to track total time it took the user to register. VAN-413
This commit is contained in:
@@ -351,6 +351,7 @@ def _track_user_registration(user, profile, params, third_party_provider):
|
||||
'is_year_of_birth_selected': bool(profile.year_of_birth),
|
||||
'is_education_selected': bool(profile.level_of_education_display),
|
||||
'is_goal_set': bool(profile.goals),
|
||||
'total_registration_time': round(float(params.get('totalRegistrationTime', '0'))),
|
||||
}
|
||||
# DENG-803: For segment events forwarded along to Hubspot, duplicate the `properties` section of
|
||||
# the event payload into the `traits` section so that they can be received. This is a temporary
|
||||
|
||||
Reference in New Issue
Block a user