From c55f0961baa8d643972adb3302b403dc86a200a1 Mon Sep 17 00:00:00 2001 From: Mubbshar Anwar <78487564+mubbsharanwar@users.noreply.github.com> Date: Fri, 16 Jun 2023 09:06:25 +0500 Subject: [PATCH] fix: update event property (#32479) Update event property name which was added to measure the conversion rate of registration through on ramp experience. VAN-1478 --- openedx/core/djangoapps/user_authn/views/register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_authn/views/register.py b/openedx/core/djangoapps/user_authn/views/register.py index a8e4c04aea..44b11a1c3f 100644 --- a/openedx/core/djangoapps/user_authn/views/register.py +++ b/openedx/core/djangoapps/user_authn/views/register.py @@ -393,7 +393,7 @@ def _track_user_registration(user, profile, params, third_party_provider, regist 'is_goal_set': bool(profile.goals), 'total_registration_time': round(float(params.get('totalRegistrationTime', '0'))), 'activation_key': registration.activation_key if registration else None, - 'variant': params.get('variant', ''), + 'host': params.get('host', ''), } # VAN-738 - added below properties to experiment marketing emails opt in/out events on Braze. if params.get('marketing_emails_opt_in') and settings.MARKETING_EMAILS_OPT_IN: