Website: Update lead source on contact records (#20383)

Changes:
- Updated signup.js to add the "Website - Sign up" lead source to new
contact records.
This commit is contained in:
Eric 2024-07-11 11:31:05 -05:00 committed by GitHub
parent 32176ef286
commit 673368332b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,6 +144,7 @@ the account verification message.)`,
firstName: firstName,
lastName: lastName,
organization: organization,
leadSource: 'Website - Sign up'
}).exec((err)=>{
if(err){
sails.log.warn(`Background task failed: When a user (email: ${newEmailAddress} signed up for a fleetdm.com account, a Contact and Account record could not be created/updated in the CRM.`, err);