WooCommerce Integration Guide

Complete guide to integrate MyFormConnect with WooCommerce

Setup time: 5-10 minutes
Difficulty: Easy
Compatible versions: WooCommerce 3.0+

Integrate MyFormConnect with your WooCommerce-powered WordPress site to capture leads and provide instant callback requests for your e-commerce business.

Prerequisites

  • A MyFormConnect account - Sign up here
  • WordPress site with WooCommerce plugin installed and activated
  • Admin access to your WordPress dashboard
  • Your MyFormConnect integration code (found in your dashboard)

Integration Methods

WordPress Theme Editor (Recommended)

5 minutes Easy

The recommended method using WordPress's built-in theme editor. Works with all themes and doesn't require coding knowledge.

1

Access Theme Editor

Navigate to your WordPress theme editor to add the MyFormConnect code.
  1. Log in to your WordPress admin dashboard
  2. Go to Appearance → Theme Editor
  3. Select your active theme from the dropdown
  4. Click on header.php in the file list
Important Note
Always backup your theme before making changes. WordPress automatically creates backups, but manual backups are recommended.
2

Add Integration Code

Insert the MyFormConnect code in the header.php file before the closing tag.
  1. Find the </head> tag in header.php
  2. Paste your MyFormConnect integration code just before this closing tag
  3. Click Update File
  4. Test your WooCommerce site to verify the widget appears
<!-- MyFormConnect 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-woocommerce', 'true');
  document.head.appendChild(script);
})();
</script>
</head>
Important Note
The data-woocommerce attribute helps optimize the widget for e-commerce functionality.
3

Configure for E-commerce

Set up MyFormConnect to capture product-specific leads and cart abandonment.
  1. In your MyFormConnect dashboard, enable 'E-commerce mode'
  2. Set up product page triggers in your MyFormConnect settings
  3. Configure cart abandonment timing (recommended: 30-60 seconds)
  4. Test on product pages and during checkout process
Important Note
E-commerce mode provides additional context about products customers are viewing when they request callbacks.

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

Need Help?

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

Contact Support