satellite/analytics: Modified property update in HubSpot (#4998)
satellite/analytics: Update lifecyclestage = "other" in segment identify calls and createUser Api in Hubspot
This commit is contained in:
parent
f1048e16ce
commit
ed2ee8443f
@ -117,7 +117,7 @@ func (q *HubSpotEvents) EnqueueCreateUser(fields TrackCreateUserFields) {
|
||||
newField("email", fields.Email),
|
||||
newField("firstname", firstName),
|
||||
newField("lastname", lastName),
|
||||
newField("lifecyclestage", "customer"),
|
||||
newField("lifecyclestage", "other"),
|
||||
newField("origin_header", fields.OriginHeader),
|
||||
newField("signup_referrer", fields.Referrer),
|
||||
newField("account_created", "true"),
|
||||
|
@ -172,7 +172,7 @@ func (service *Service) TrackCreateUser(fields TrackCreateUserFields) {
|
||||
traits.SetFirstName(firstName)
|
||||
traits.SetLastName(lastName)
|
||||
traits.SetEmail(fields.Email)
|
||||
traits.Set("lifecyclestage", "customer")
|
||||
traits.Set("lifecyclestage", "other")
|
||||
traits.Set("origin_header", fields.OriginHeader)
|
||||
traits.Set("signup_referrer", fields.Referrer)
|
||||
traits.Set("account_created", true)
|
||||
|
Loading…
Reference in New Issue
Block a user