Static Sites Integration Guide

Complete guide to integrate MyFormCapture with Static Sites

Setup time: 5 minutes
Difficulty: Easy
Compatible versions: All HTML/CSS/JS sites

Integrate MyFormCapture with any static website built with HTML, CSS, and JavaScript. Perfect for custom-built sites, GitHub Pages, Netlify, Vercel, and other static hosting platforms.

Prerequisites

  • A MyFormCapture account - Sign up here
  • Your MyFormCapture integration code from your dashboard
  • Access to your website's HTML files
  • Basic understanding of HTML structure
  • FTP access or file manager (for hosted sites)

Integration Methods

HTML Head Integration

3 minutes Easy

Add MyFormCapture directly to your HTML head section for site-wide integration.

1

Locate HTML Head Section

Find the head section in your main HTML template or index file.
  1. Open your main HTML file (usually index.html)
  2. Locate the <head> section
  3. Find the closing </head> tag
Important Note
For multi-page sites, you may need to add this to multiple HTML files or a shared template.
2

Add MyFormCapture Code

Insert the MyFormCapture integration code just before the closing head tag.
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Your Website</title>
  
  <!-- Your existing head content -->
  
  <!-- MyFormCapture Integration -->
  <script>
  (function() {
    var script = document.createElement('script');
    script.src = 'https://widget.callmebackbutton.com/widget.js';
    script.setAttribute('data-account', 'YOUR_ACCOUNT_ID');
    script.setAttribute('data-static', 'true');
    document.head.appendChild(script);
  })();
  </script>
</head>
Important Note
Replace 'YOUR_ACCOUNT_ID' with your actual MyFormCapture account ID from your dashboard.
3

Upload and Test

Upload your updated files and verify the integration works.
  1. Save your HTML file
  2. Upload to your web server via FTP or file manager
  3. Clear browser cache and visit your site
  4. Look for the MyFormCapture widget
  5. Test the callback form functionality

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

Need Help?

Our support team is here to help you with your integration.

Contact Support