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:
prerna-parashar 2022-07-22 09:59:53 -07:00 committed by GitHub
parent f1048e16ce
commit ed2ee8443f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"),

View File

@ -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)