📧 Lead Capture Widget
Transform website visitors into qualified leads with intelligent, customizable contact forms
Why Contractors Choose Our Lead Capture Widget
Instant Lead Notifications
Receive email and webhook notifications within seconds of form submission. Never miss a hot lead again.
Matches Your Brand
Fully customizable colors, fonts, and styling. Looks like a native part of your website, not a third-party form.
Flexible Configuration
Add custom fields, validation rules, and conditional logic. Collect exactly the information you need.
Spam Protection
Built-in spam filtering and bot detection. Only receive genuine inquiries from real customers.
Analytics & Insights
Track conversion rates, form abandonment, and lead quality. Make data-driven improvements.
CRM Integration
Automatically sync leads to ServiceFlow Pro or your existing CRM via webhooks and API.
Real Business Impact
💰 Increase Revenue
Capture 3x more leads by making it easy for customers to contact you. Each lead captured is a potential project.
⏱️ Save Time
Automated lead routing and qualification means your team spends time on the best opportunities, not data entry.
📈 Improve Conversion
Fast response times and organized lead management increase your close rate from inquiry to signed contract.
How to Configure Your Lead Capture Widget
Create Widget Configuration
Start by defining your widget settings. Choose your branding colors and decide which fields to include.
// Create a Lead Capture Widget
const widgetConfig = {
type: 'lead',
name: 'Contact Us Form',
// Branding - Match your website
branding: {
primaryColor: '#52c41a', // Your brand green
secondaryColor: '#1890ff', // Your brand blue
fontFamily: 'Inter, sans-serif',
logo: 'https://yoursite.com/logo.png'
},
// Lead Form Fields
leadSettings: {
title: 'Get a Free Quote Today!',
subtitle: 'Tell us about your project and we\'ll get back to you within 24 hours',
// Standard fields are always included
// Add custom questions here
questions: [
{
id: 'project_type',
question: 'What type of project?',
type: 'select',
required: true,
options: [
'Kitchen Remodel',
'Bathroom Renovation',
'Addition/ADU',
'Garage/Carport',
'Other'
],
showAt: 'with-form' // Show with main form
},
{
id: 'timeline',
question: 'When would you like to start?',
type: 'radio',
required: true,
options: [
'ASAP (within 1 month)',
'Within 3 months',
'Within 6 months',
'Just planning/quotes'
],
showAt: 'with-form'
},
{
id: 'budget',
question: 'What is your approximate budget?',
type: 'select',
required: false,
options: [
'Under $10,000',
'$10,000 - $25,000',
'$25,000 - $50,000',
'$50,000 - $100,000',
'Over $100,000'
],
showAt: 'post-form' // Show after main form
}
],
// Success message shown after submission
successMessage: 'Thanks! We\'ll contact you within 24 hours.',
// Redirect after submission (optional)
redirectUrl: 'https://yoursite.com/thank-you',
redirectDelay: 3000 // Wait 3 seconds before redirect
},
// Notification Settings
integration: {
// Email notifications
notifyEmails: [
'sales@yourcompany.com',
'owner@yourcompany.com'
],
// Webhook for CRM integration
webhookUrl: 'https://yourapi.com/webhooks/leads',
// Which domains can embed this widget
allowedOrigins: ['https://yourwebsite.com']
},
// Analytics
analytics: {
enabled: true,
trackingId: 'GA-XXXXXXXXX',
customEvents: ['form_viewed', 'form_submitted']
}
};
Add to Your Website
Copy the embed code and paste it anywhere on your website. Works with any CMS or HTML page.
<!-- ServiceFlow Lead Capture Widget -->
<div id="lead-widget-container"></div>
<script src="https://widgets.serviceflow-pro.com/sdk/v1/widget.js"></script>
<script>
ServiceFlowWidget.create('lead-widget-container', {
widgetId: 'YOUR-WIDGET-ID',
type: 'lead'
});
</script>
Advanced: Button Click Trigger
Load the form as a modal popup when users click a button. Great for "Contact Us" or "Get Quote" CTAs.
<!-- Trigger Button -->
<button id="show-lead-form" class="btn-contact">
Get Free Quote 📧
</button>
<!-- Modal Container -->
<div id="lead-modal" class="modal">
<div class="modal-content">
<span class="close-modal">×</span>
<div id="lead-widget-container"></div>
</div>
</div>
<script>
// Load widget when button clicked
document.getElementById('show-lead-form').addEventListener('click', function() {
document.getElementById('lead-modal').style.display = 'block';
// Initialize widget if not already loaded
if (!window.leadWidgetLoaded) {
ServiceFlowWidget.create('lead-widget-container', {
widgetId: 'YOUR-WIDGET-ID',
type: 'lead',
onSubmit: function(data) {
console.log('Lead submitted:', data);
// Close modal after submission
setTimeout(() => {
document.getElementById('lead-modal').style.display = 'none';
}, 2000);
}
});
window.leadWidgetLoaded = true;
}
});
// Close modal when X clicked
document.querySelector('.close-modal').addEventListener('click', function() {
document.getElementById('lead-modal').style.display = 'none';
});
</script>
<style>
.modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
}
.modal-content {
background-color: white;
margin: 5% auto;
padding: 30px;
border-radius: 12px;
width: 90%;
max-width: 600px;
position: relative;
}
.close-modal {
position: absolute;
right: 20px;
top: 15px;
font-size: 28px;
font-weight: bold;
color: #999;
cursor: pointer;
}
.close-modal:hover {
color: #333;
}
</style>
Perfect For These Businesses
🏗️ General Contractors
Capture remodel and construction project inquiries with custom project type and budget qualifiers.
- ✓ Project type selection
- ✓ Budget range qualification
- ✓ Timeline urgency tracking
- ✓ Photo upload for estimates
🌳 Landscaping Companies
Get more design consultations with visual project selectors and property size questions.
- ✓ Service type checkboxes
- ✓ Property size fields
- ✓ Design preference questions
- ✓ Maintenance frequency options
🔨 Home Service Pros
Quick service requests for plumbing, electrical, HVAC with urgency and issue type fields.
- ✓ Issue type dropdown
- ✓ Urgency selector (emergency, etc.)
- ✓ Availability calendar
- ✓ Warranty status question
🏡 Real Estate Agents
Buyer and seller lead capture with property preferences and mortgage pre-approval status.
- ✓ Buyer/seller toggle
- ✓ Price range selection
- ✓ Location preferences
- ✓ Pre-approval status
Interactive Demo
Try the widget right here - fully functional!
Note: This is a live demo. Form submissions will not be saved.
Frequently Asked Questions
How quickly will I receive notifications?
Lead notifications are sent instantly via email and webhook. Most contractors receive notifications within 5-10 seconds of form submission.
Can I customize the form fields?
Yes! Add unlimited custom fields including text, dropdowns, checkboxes, radio buttons, and file uploads. You have complete control over what information you collect.
Does it work on mobile devices?
Absolutely. The widget is fully responsive and optimized for mobile, tablet, and desktop. Over 60% of contractor leads now come from mobile devices.
How does spam protection work?
We use intelligent bot detection, honeypot fields, and rate limiting to filter out spam submissions automatically. Only genuine leads reach your inbox.
Can I integrate with my CRM?
Yes! Use webhooks to automatically send leads to your CRM, Google Sheets, Zapier, or any system with an API. ServiceFlow Pro has built-in integration as well.
What if I need help setting it up?
Our support team provides setup assistance, and we have detailed documentation with video tutorials. Most contractors are up and running in under 10 minutes.
Ready to Capture More Leads?
Join hundreds of contractors who've increased their lead volume by 300% with ServiceFlow widgets.
30-day money-back guarantee • No long-term contracts • Cancel anytime