Why HubSpot Leadin Isn't Capturing Form Submissions (And How To Fix It)
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.phpfile.
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.phpfile 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
onsubmitevent, 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, andli_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
- Check for Errors: Always start by checking your browser's JavaScript console for errors.
- 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.
- Verify Installation: Ensure your Leadin database tables exist and that your theme calls
wp_footer(). - 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
-
I'm getting form submissions but I receive no data.https://wordpress.org/support/topic/im-getting-form-submissions-but-i-receive-no-data/
-
I can't delete contacts? also my mailchimp sync doesnt work??!!https://wordpress.org/support/topic/i-cant-delete-contacts-also-my-mailchimp-sync-doesnt-work/
-
Not tracking form submissionshttps://wordpress.org/support/topic/not-tracking-form-submissions/
-
Creating default object from empty valuehttps://wordpress.org/support/topic/creating-default-object-from-empty-value-6/
-
Contact Form 7 form not saving to Leadin contactshttps://wordpress.org/support/topic/contact-form-7-form-not-saving-to-leadin-contacts/
-
Missing Submissions on Gravity formhttps://wordpress.org/support/topic/missing-submissions-on-gravity-form/
-
Website forms aren't workinghttps://wordpress.org/support/topic/website-forms-arent-working/
-
LeadIn is not registering entryhttps://wordpress.org/support/topic/leadin-is-not-registering-entry/
-
Received Lead In comment notice, no comment?https://wordpress.org/support/topic/received-lead-in-comment-notice-no-comment/
-
No emails being sent after updatehttps://wordpress.org/support/topic/no-emails-being-sent-after-update/
-
Exporting Leads/Subscribershttps://wordpress.org/support/topic/exporting-leadssubscribers/
-
Not seeing statshttps://wordpress.org/support/topic/not-seeing-stats/
-
I'm getting form submissions but I receive no data.https://wordpress.org/support/topic/im-getting-form-submissions-but-i-receive-no-data-1/
-
Multiple Emails from User that complete formhttps://wordpress.org/support/topic/multiple-emails-from-user-that-complete-form/
-
No form content in email, no DB entryhttps://wordpress.org/support/topic/no-form-content-in-email-no-db-entry/
-
Can’t sign in + leads don’t savehttps://wordpress.org/support/topic/cant-sign-in-leads-dont-save/
-
leads/contacts not being saved while using CF7https://wordpress.org/support/topic/integrate-into-normal-contact-form/
-
Fast Secure Contact Form not workinghttps://wordpress.org/support/topic/fast-secure-contact-form-not-working-1/
-
Plugin not gathering leads/contactshttps://wordpress.org/support/topic/plugin-not-gathering-leadscontacts/
-
Submission Captured in LeadIN, but not in Gravity Formshttps://wordpress.org/support/topic/submission-captured-in-leadin-but-not-in-gravity-forms/
-
Plugin not catching contactshttps://wordpress.org/support/topic/plugin-not-catching-contacts/
-
Hidden feild not workinghttps://wordpress.org/support/topic/hidden-feild-not-working/
-
Not Receiving Emailshttps://wordpress.org/support/topic/not-receiving-emails-30/
-
Gravity forms contact drop outhttps://wordpress.org/support/topic/gravity-forms-contact-drop-out/
-
The case of the disappearing Contacthttps://wordpress.org/support/topic/the-case-of-the-disappearing-contact/
-
Hidden fields are not being capturedhttps://wordpress.org/support/topic/hidden-fields-are-not-being-captured/
-
Merging Contactshttps://wordpress.org/support/topic/merging-contacts/
-
No form content in email, no DB entryhttps://wordpress.org/support/topic/no-form-content-in-email-no-db-entry-1/
-
LeadIn new lead email confirmations are not sendinghttps://wordpress.org/support/topic/leadin-new-lead-email-confirmations-are-not-sending/
-
Sign Up Form Glitcheshttps://wordpress.org/support/topic/sign-up-form-glitches/
-
Not generating leadshttps://wordpress.org/support/topic/not-generating-leads/
-
Working, but not with Contact Form 7https://wordpress.org/support/topic/working-but-not-with-contact-form-7/
-
No username, first name or last namehttps://wordpress.org/support/topic/no-username-first-name-or-last-name/
-
Multiple Emails from Leadinhttps://wordpress.org/support/topic/multiple-emails-from-leadin/
-
Subscription confirmationhttps://wordpress.org/support/topic/subscription-confirmation-5/
-
Not receiving leads from formshttps://wordpress.org/support/topic/not-receiving-leads-from-forms/
-
Plugin dont register any leadshttps://wordpress.org/support/topic/plugin-dont-regsiter-any-leads/
-
A few issueshttps://wordpress.org/support/topic/a-few-issues-20/
-
Conflict with Gravity Forms AJAX formshttps://wordpress.org/support/topic/conflict-with-gravity-forms-ajax-forms/
-
Email contains contact information but no statshttps://wordpress.org/support/topic/email-contains-contact-information-but-no-stats/
-
Enquiries don't registerhttps://wordpress.org/support/topic/enquiries-dont-register/
-
Lead registration is not workinghttps://wordpress.org/support/topic/lead-registration-is-not-working/
-
Contact from not catching leads and contactshttps://wordpress.org/support/topic/contact-from-not-catching-leads-and-contacts/
-
Blank config pages in WPhttps://wordpress.org/support/topic/blank-config-pages-in-wp/
-
Getting form submissions but not receiving datahttps://wordpress.org/support/topic/getting-form-submissions-but-not-receiving-data/
-
It registers new contacts but doesn't track them it returning visitshttps://wordpress.org/support/topic/it-registers-new-contacts-but-doesnt-track-them-it-returning-visits/
-
No more e-mails after upgrading to 5.0.2https://wordpress.org/support/topic/no-more-e-mails-after-upgrading-to-502/
-
Contacts not always being added from enquiry formhttps://wordpress.org/support/topic/contacts-not-always-being-added-from-enquiry-form/
-
No notification emailhttps://wordpress.org/support/topic/no-notification-email/