I'm in process of creating some landing pages for my client's Google AdWords campaign. The landing page has info about the company, a call to action, etc. and lower down on the page is a form for the visitor to use if they would like to schedule an appointment.
The appointment scheduler form comes from a company called DemandForce and as such, the process to embed the form on my page is as follows:
d3cp_bid = '100000932'; // Business ID in DemandforceD3
d3cp_appt_source = "Service Shop Scheduler";
// Optional. The value will be displayed on D3 as the appointment request source.
d3cp_appt_returnpage = "";
// Optional. The URL will redirect after the appointment request is submitted.
// It can be an absolute URL path and a relative path to your page as well.
// for example, d3cp_appt_returnpage = "https://www.acme.com/appointment/appointment.aspx".
I think I've narrowed it down to the line of code on the DemandForce side. It's in a file called webscheduler.content.jsp:
//set the first input of the form to be focused