Head to the Lead Capture Library and click to set up a Driftrock Website slide-in Lead Form
Click the ‘follow these instructions’ link to show the code you’ll need to install onto your website.
Copy and paste the script shown into the footer of your website. Where it says ‘YOUR_API_KEY’ be sure to paste in your chosen Driftrock API key. If you’ve not yet got an API key, follow the instructions to set one up.
Head to the Setup page to set up your slide-in form.
Add a page
Specify which page(s) you’d like your slide-in form to be displayed on in the Display Rules section. Click to add a page.
Copy and paste the URL you’d like the slide-in form to appear on in the URL box, or alternatively use a wildcard to show the slide-in form on multiple pages.
Select when you’d like your slide-in form to trigger on your page(s).
On click - trigger your slide-in form when an element is clicked
To trigger your slide-in form upon clicking, first create a HTML element with a unique ID or Class (the CSS selector you will use to trigger the slide-in form) e.g. a button, text or div.
Here’s an example of a button element:
<a id="slide-in-button-trigger1" href="#" class="slide-in-trigger-button">Click here!</a>
Tip: We recommend using classes, as you can then have multiple slide-in forms on a page.
Copy and paste your class or id into the box.
Style & Content
Optionally set the colours you’d like your slide-in form to be in this section using HTML colour codes, and give your slide-in form some copy to explain your offering.
Fields & Consent
Add all of the questions you’d like to ask in your form in this section, as well as any custom consent text/checkboxes you’d like to display to the customer.
Tip: We’d recommend keeping your consent text as short as possible to reduce dropoff rate.
slide-in form Activation
When you’re ready, head back to the Setup page to switch your slide-in form on.