It is possible to build a lead capture form inside of a website platform that sends the lead directly into AttractWell, tags them, and sends out a campaign and other automation associated with landing pages.To do that, there are three steps to get this set up:Create a landing page, which is where you specify tags, campaigns, etc.Add the HTML code to the website itself, which will then send the lead into AttractWell.Contact support and let us know the domain name of the site this will be coming from, so we can white list your domain name.First, set up a landing page as you normally would and take special note of the Link Path field as you'll need that in the next step. When you're creating a landing page, the actual page itself won't be seen at all, so it doesn't matter what the page shows. Be sure that the settings for campaigns, tags, vaults, field requirements, and lead notifications are set however you'd like them to be for people who register on the page. Below are the fields to fill out in the landing page settings area:Next, click on your name at the upper right corner of the AttractWell back office and make a note or copy the data shown in this box. In this case, MyName (see below).Next, add the following code to your website. The text shown in bold, underlined, and red should be modified to your situation above. Also, it will need to be styled according to your needs.
Finally, contact support to let us know the domain name these requests will be coming from so we can white list them. If you don't, there will be an error message when you try to submit a lead.If you would like to make this request via XMLHttpRequest (also known as AJAX) and would prefer a JSON object as a response, change the route-to field to have a value of ajax when the request is submitted.