Back to Community

Why HubSpot Leadin Isn't Capturing Form Submissions (And How To Fix It)

49 threads Sep 9, 2025

Content

One of the most common issues users report with the HubSpot Leadin plugin is forms not capturing submissions. Contacts may appear in your CRM but not in the plugin's contact list, or submissions may not be captured at all. This guide outlines the most frequent causes and their solutions, compiled from community support threads.

Why This Happens

The HubSpot Leadin plugin works by detecting form submissions on your WordPress site. Several factors can interfere with this process, ranging from technical conflicts to specific form configurations. The plugin's team has identified common patterns that lead to this frustrating problem.

Common Causes and Solutions

1. JavaScript Conflicts or Errors

Leadin relies on JavaScript to track form submissions. If another plugin or your theme is causing a JavaScript error, Leadin's scripts may fail to load or execute properly.

  • Solution: Open your browser's console (F12) while on your site and look for any red error messages. Temporarily deactivate other plugins one by one to identify the source of the conflict. A common culprit is a JavaScript error originating from the admin-ajax.php file.

2. Missing wp_footer() Call

Leadin's JavaScript files are typically loaded in the WordPress footer. If your theme does not call the wp_footer() function, the necessary scripts will not be loaded.

  • Solution: Check your theme's footer.php file and ensure it includes <?php wp_footer(); ?> just before the closing </body> tag.

3. Form Submission Method

Leadin may not capture submissions from forms that use specific methods.

  • iframe Forms: Leadin cannot detect submissions from forms loaded inside an iframe due to cross-site security restrictions.
  • Custom JavaScript Submission: If a form uses a custom JavaScript onsubmit event, it can block Leadin's ability to hook into the submission process.
  • Solution: Check how your form plugin submits data. For forms using custom JavaScript, you may need to modify the implementation to ensure Leadin can detect the submission.

4. Database Table Issues

During installation, Leadin creates specific MySQL tables to store contact data. If this process did not complete correctly, the plugin will be unable to save submissions.

  • Solution: Check your database for the existence of the following tables: li_leads, li_pageviews, li_submissions, li_tags, and li_tag_relationships. If they are missing, try deactivating and reactivating the plugin. As a last resort, uninstalling and reinstalling may force the tables to be created correctly.

5. Form Validation and the "Collected Forms" Tool

Leadin's Collected Forms tool captures data the moment a submit button is pressed, before client-side validation (e.g., from Gravity Forms) occurs. This means a submission will be captured in Leadin even if it was rejected by the form plugin for missing required fields.

  • Solution: This is expected behavior. If you see contacts in Leadin that are not in your form plugin's entries, it is likely because the form submission was invalid.

6. Plugin-Specific Settings

Some form plugins require specific configuration to work with Leadin.

  • Example (Fast Secure Contact Form): A specific setting must be changed for compatibility. The HubSpot Leadin team provides a knowledge base article outlining the necessary steps.
  • Solution: Consult the documentation for your specific form plugin to see if any special configuration is required for third-party integration.

Debugging Steps

  1. Check for Errors: Always start by checking your browser's JavaScript console for errors.
  2. Conflict Test: Deactivate all other plugins and switch to a default WordPress theme (like Twenty Twenty-One). If Leadin works, reactivate your plugins and theme one by one to find the conflict.
  3. Verify Installation: Ensure your Leadin database tables exist and that your theme calls wp_footer().
  4. Review Form Setup: Confirm your form is not in an iframe and does not rely on a custom JavaScript submission method that could block Leadin.

By systematically working through these potential causes, you can usually identify and resolve the issue preventing HubSpot Leadin from capturing your valuable form submissions.

Related Support Threads Support