Skip to content

Commit

Permalink
feat: add utm_campaign to registration event (openedx#32574)
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-amir committed Jun 26, 2023
1 parent 83feb54 commit 2fd3dc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openedx/core/djangoapps/user_authn/views/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ def _track_user_registration(user, profile, params, third_party_provider, regist
'total_registration_time': round(float(params.get('totalRegistrationTime', '0'))),
'activation_key': registration.activation_key if registration else None,
'host': params.get('host', ''),
'utm_campaign': params.get('utm_campaign', ''),
}
# 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:
Expand Down

0 comments on commit 2fd3dc1

Please sign in to comment.