c96ff2fdef
When signing up, a user can opt in to having sales contact them. This change alters the way this flag is passed to Hubspot and Segment. Hubspot sends a form submission request to create the user, followed by a "custom behavioral event" with some additional user info. Segment sends an "Identify" call followed by a "create user" event. This change moves "have_sales_contact" to the form submission for Hubspot, and the Identify call for Segment. This simplifies the process of applying this field to a contact/user in Segment and Hubspot. Change-Id: I5e6871b3926a76fb24f97fb2d835a26720275072 |
||
---|---|---|
.. | ||
hubspot.go | ||
service.go |