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.php
orincludes/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 business hours and timezone
- Configure callback phone numbers
- Set up email notifications
- Add team members to your account
Advanced Features
- Set up custom form templates
- Configure lead scoring rules
- Integrate with your CRM
- Set up automated workflows