Forms & Meetings · Captured automatically

Gravity & WPForms integration

How SourceTrack recognises submits from Gravity Forms, WPForms, Contact Form 7, Fluent Forms, Formidable, Forminator and Elementor forms, and what it records.

No credit card required · one script tag

SourceTrack’s tracker recognises form submits from several WordPress form plugins and records a form submit event on the visitor’s journey, next to the channel and landing page that brought them.

The tracker only needs to be on the page. There is no webhook to set up for this path.

Form plugins the tracker recognises

For these plugins the tracker waits for the plugin’s own success signal where it has one, so an invalid or failed submit is not sent:

  • Contact Form 7: its mail-sent event.
  • Fluent Forms: its submission-success event.
  • WPForms: its AJAX success event. This needs jQuery on the page, and the form must use WPForms’ AJAX mode.
  • Gravity Forms: its confirmation-loaded event. This needs jQuery or Gravity’s own script on the page.
  • Formidable Forms: its form-complete event, or the success message on the page it returns for non-AJAX forms.
  • Forminator: its AJAX success event.
  • Elementor Forms: its submit-success event.

Any other form, including these plugins in modes not listed above, sends its submit event when the browser submits it.

What SourceTrack records

  • A form submit event with the form’s id, name and action path, the page path, and the visitor’s source, medium and campaign.
  • A provider label: wordpress for forms that carry these plugins’ markup.

What SourceTrack does not do

  • It does not read what the visitor typed into the form from the tracking snippet alone.
  • It does not count every submit as a lead. Search, login, newsletter, subscribe and cart forms are excluded.
  • It does not set up ad platform sending. Sending conversions to Google, Meta or LinkedIn is configured separately under Integrations.

Step-by-step setup

Step 1: Install the tracker on WordPress

Add the SourceTrack snippet to your site. Follow the WordPress guide or the WordPress setup docs.

Step 2: Submit a test form

Open your site in a private window and submit a form. Look for the form submit in the Event Debugger in your SourceTrack dashboard.

The SourceTrack WordPress plugin

A separate SourceTrack WordPress plugin records form leads from your server for Gravity Forms, WPForms, Contact Form 7, Elementor Pro Forms, Ninja Forms, Fluent Forms and Formidable Forms. It is available on request and not listed in the WordPress.org directory. See the WordPress setup docs for what it sends.

Common problems and fixes

  • No form submit appears. Check that the tracker is on the page that holds the form, and that Do Not Track and Global Privacy Control are off in your test browser.
  • A WPForms or Gravity form sends nothing on a valid submit. The success signal needs jQuery (and, for WPForms, its AJAX mode). Test with the form’s default settings.
  • The submit shows up but is not counted as a lead. The form or page needs to look like a lead form. Name the form or page with a word such as contact, quote or demo, or add data-sourcetrack-lead-form="true" to the form.

See also Troubleshooting.


Frequently Asked Questions

Do I need hidden fields on every form?

Not for the submit event to be recorded. The tracker sends it from the page.

Does this work with AJAX forms that do not reload the page?

For the plugins listed above, yes: the tracker listens for each plugin’s own success event instead of a page reload.

Does it capture the visitor’s email?

Not from this snippet alone. The submit event holds the form’s id, name and action path.