Using Salesforce Record ID to personalize scheduling in landing pages

You can use the Salesforce Record ID to personalize the booking process in your landing pages. Recognizing the Customer by the record ID provides two key benefits:

In this article, you will learn how to pass the Salesforce Record ID to your landing pages. Then, you will learn how to generate the personalized website embedwidget, or button code for your landing pages.

 

Note: If the Customer is not recognized based on the Salesforce Record ID, ScheduleOnce will use the Customer's email address to check if the record already exists in your CRM. Learn more about integrating with Salesforce

Requirements

To use the Salesforce Record ID in your landing pages, you will need:

ScheduleOnce parameters for Salesforce

To recognize the Customer by the Salesforce Record ID, you need to pass the ScheduleOnce parameters for Salesforce to your landing page:

  • Lead Record ID: sosfleadid
  • Contact Record ID: sosfcontactid
  • Case Record ID: sosfCaseId

You can also add an additional variable to your landing page to skip the Booking form step:

  • Hiding the Booking form: soSkip=1
โ€‹

Important note: When working with Salesforce Person Accounts, you need to pass the related Contact Record ID and ensure that the Person Account includes a Contact ID lookup field. 


Step 1: Constructing the landing page 's URL parameters

There are different operators used in the syntax of your URL:

  • ? - You must add the question mark to separate your URL from the variables.
  • & - You can pass multiple variables by separating the variables with the ampersand
  • - The equal sign separates the variable from the value assigned to that variable.

Take the following example landing page link:

http://www.example.com

If you wanted to pass a Salesforce Lead Record ID with the value being E9888900, you can add the following to the webpage link:

http://www.example.com?sosfleadid=E9888900

Now if you wanted to pass the variable to skip the Booking form step as well:

http://www.example.com?sosfcontactid=E9888900&soSkip=1


Step 2: Generate the personalized code for your landing pages

Now that you have passed the Salesforce Record Id to your landing page, you need to ensure that you have placed the personalized website embedwidget, or button code on your landing page. 

  1. Log into your ScheduleOnce account and go to Share & Publish.
  2. To use the Website widget on your landing page, go to the Website widget tab.
  3. To use the website embed or button on your landing page, go to the relevant tab, Website embed or Website button, and select Customer data is passed using the Salesforce record ID (web form integration) from the Customer data step.
  4. Copy and paste the relevant code in your landing page.
 

Important: If the Website embedwidget, or button code placed on your webpage was added prior to November 7, 2015, you will need to replace it with the updated ScheduleOnce code.

 

Learn more about Salesforce scheduling buttons:

Rate this article