There are two methods to book an appointment:  Scheduling Page and Widget


Scheduling Page


A URL to a page that allows the customer to schedule an appointment.   This link can be distrubuted or used on your website to direct customers to the scheduling page.


Appointment Widget


To integrate appointment scheduling inside your website, you will need to copy the Appointment Javascript code and authorize the domain that will be using the widget.


Step 1:  On the page that will host the widget, copy the Javascript reference into the HEAD section of the page.


<head>
<script type="text/javascript" src="https://schedule.lobbycentral.com/external/LCScheduler.js"></script>
</head>

 


Step 2:  Create a button or link to call the widget


Button:

   

<input type="button" id="lc-schedule-appointment" data-id="<subscriber ID>" value="Schedule Appointment" />

  

Link:

 

<a id="lc-schedule-appointment" data-id="<subscriber ID>" href="javascript:void(0);">Schedule</a>

 

The subscriber ID can be found on the Account profile page, under Business Details.   


You must specify the ID of the element as "lc-schedule-appointment".



Step 3: Authorize your domain


To protect hijacking of your dedicated appointment account, you must specify the domain that the widget will be hosted on.   You may specify up to three domains.


For example, if your website is www.allpetsinc.com, enter allpetsinc.com.  Do not specify page names or absolute paths.  Only use the domain.