fix: VAN-739 - removed is_active property from Segment

This commit is contained in:
Shafqat Farhan
2021-10-11 19:23:14 +05:00
parent 2bc74c9c9e
commit feb732d859

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