Merge pull request #28996 from edx/shafqat/VAN-739-revert

fix: VAN-739 - removed is_active property from Segment
This commit is contained in:
Shafqat Farhan
2021-10-11 20:11:15 +05:00
committed by GitHub

View File

@@ -385,7 +385,6 @@ def _track_user_registration(user, profile, params, third_party_provider, regist
# 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:
properties['marketing_emails_opt_in'] = params.get('marketing_emails_opt_in') == 'true'
properties['is_active'] = params.get('marketing_emails_opt_in') == 'true'
# 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