PHP Sites Integration Guide
Complete guide to integrate MyFormCapture with PHP Sites
Integrate MyFormCapture with your custom PHP website to capture leads and provide instant callback requests. This guide covers multiple integration methods for PHP-based websites.
Prerequisites
- A MyFormCapture account - Sign up here
- Access to your PHP website files
- Your MyFormCapture integration code (found in your dashboard)
- Basic knowledge of PHP and HTML
Integration Methods
Header Include (Recommended)
This method adds the MyFormCapture widget to all pages by including it in your site's header file.
Locate Header File
- Locate your main header file (usually
header.phporincludes/header.php) - Find the
</head>tag - Add your MyFormCapture integration code just before the closing
</head>tag - Save the file and test your website
Important Note
Add Integration Code
<!-- MyFormCapture Integration -->
<script>
(function() {
var script = document.createElement('script');
script.src = 'https://widget.callmebackbutton.com/widget.js';
script.setAttribute('data-account', 'YOUR_ACCOUNT_ID');
document.head.appendChild(script);
})();
</script>
</head>
Important Note
Related Integrations
References & Official Documentation
Next Steps
Configure MyFormCapture
- Set up your timezone
- Configure lead notifications
- Set up advanced spam detection
- Add team members to your account
Advanced Features
- Use our custom form templates
- Try AI Insights for Leads
- Integrate with your CRM
- Set up automated workflows