From 673368332b721dd57bcb8637e8731e62f3a4ab88 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 11 Jul 2024 11:31:05 -0500 Subject: [PATCH] Website: Update lead source on contact records (#20383) Changes: - Updated signup.js to add the "Website - Sign up" lead source to new contact records. --- website/api/controllers/entrance/signup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/api/controllers/entrance/signup.js b/website/api/controllers/entrance/signup.js index aeb72dc354..8d723cbc46 100644 --- a/website/api/controllers/entrance/signup.js +++ b/website/api/controllers/entrance/signup.js @@ -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);