Skip to content
Snippets Groups Projects
Unverified Commit 3cdbb5b3 authored by Zainab Amir's avatar Zainab Amir Committed by GitHub
Browse files

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
parent 1593b407
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment