You can capture Leads from your website in LeadSquared. There are three common ways of doing it:
- You can create and embed an LSQ Form Widget on your web page or landing page
- For WordPress sites: Use LeadSquared’s Contact Form 7 Plugin
- Use LeadSquared API to capture Leads
Embed LeadSquared Form Widget on your website
An LSQ Form Widget acts as a “lead magnet”. An example of a lead magnet is a special deal offered to customers in exchange for their contact details. It can be a discount code, webinar, white paper, ebook, template, inquiry form, or another resource.
With LeadSquared, you can create and embed an LSQ Form Widget on your web page or landing page and start capturing leads in minutes.
For WordPress sites: Use LeadSquared’s Contact 7 Plugin
Other than Form Widgets, If you have a site built on WordPress, you can also use Contact Form 7 to capture Leads. Leads from Contact Form 7 can be captured in LeadSquared using our plugin for it.
Check this help article to use the plugin
Use LeadSquared API to capture Leads
If you don’t want to make any changes to your website and still want to capture leads in LeadSquared, you may use our APIs.
LeadSquared supports REST APIs, and we accept and return JSON data.
Step 1: Get Access Key and Secret key of an Admin user of LeadSquared
Step 2: Get lead meta data using GET call on https://api.leadsquared.com/v2/LeadManagement.svc/LeadsMetaData.Get?accessKey=<accessKey>&secretKey=<secretKey>
Replace <accessKey> and <secretKey> with the value you got in Step 1. Check the SchemaName of the fields from the data that you get. SchemaName is the internal name of the field that you will use in all your Lead API calls.
Step 3: Prepare data that needs to be posted as JSON. An example is given below.
[ { "Attribute": "EmailAddress", "Value": "john.smith@acmeconsulting.co" }, { "Attribute": "FirstName", "Value": " John" }, { "Attribute": "LastName", "Value": " Smith" } ]
Step 4: POST the data on –
https://api.leadsquared.com/v2/LeadManagement.svc/Lead.Create?accessKey=<accessKey>&secretKey=<secretKey>
Here are help articles on using APIs: