PHP Sites Integration Guide
Complete guide to integrate MyFormConnect with PHP Sites
Integrate MyFormConnect 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 MyFormConnect account - Sign up here
- Access to your PHP website files
- Your MyFormConnect integration code (found in your dashboard)
- Basic knowledge of PHP and HTML
Integration Methods
Header Include (Recommended)
This method adds the MyFormConnect 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 MyFormConnect integration code just before the closing
</head>tag - Save the file and test your website
Important Note
Add Integration Code
<!-- MyFormConnect 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 MyFormConnect
- 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