Integration

Fluent Forms tracking for Umami

See in Umami which of your Fluent Forms get submitted, and what brought those visitors to your site. One switch, no code.

Last updated

Short answer

To track Fluent Forms in Umami, install Connect for Umami, open Settings → WPUmami → Events and switch on Form submissions. When Fluent Forms reports a successful submission, the plugin sends a form_submit event to Umami with the form's title, its ID and plugin set to fluent-forms. Submissions that fail validation are not counted, and nothing typed into the form is sent.

The Fluent Forms event sent to Umami

One event covers every Fluent Forms form on the site. It appears in Umami under Events, with the details below attached.

EventWhen it is sentData sent with it
form_submitA visitor submits a Fluent Forms form and Fluent Forms reports that the submission succeeded.
form
The form's title in Fluent Forms
form_id
The form's ID in Fluent Forms
plugin
Always fluent-forms

How a successful Fluent Forms submission is detected

Fluent Forms sends each entry in the background and announces the result in the browser. When a submission succeeds, it fires its fluentform_submission_success event. Connect for Umami listens for that event and sends form_submit through the Umami tracker that is already on the page.

Pressing the Submit button is not enough to produce an event. A form that stops on a validation error sends nothing. If the same form reports success more than once within three seconds, it is counted once.

The event is sent from the visitor's own browser, so it lands in the same Umami session as the visit. That is what lets you trace a submission back to the referrer, campaign or landing page it came from.

Where the form title and ID come from

When WordPress builds a page that contains a Fluent Forms form, the plugin notes the form's title next to its ID. When the success event arrives, it reads the ID from the form and attaches the matching title. So form is the title you gave the form in Fluent Forms, and form_id is its Fluent Forms ID. If you rename a form in Fluent Forms, new events carry the new title. Clear your page cache first if you use one, because the title is printed into the page.

Which situations are covered

SituationCountedNotes
A visitor submits the form and Fluent Forms accepts itYesOne form_submit event with the form's title and ID.
The form stops on a validation errorNoThe event is sent only after Fluent Forms reports success.
Several Fluent Forms on one page or across the siteYesEach event carries its own form and form_id.
A logged-in administrator submits the formNoAdministrators are left out by default. Other logged-in roles are counted.
A draft preview or the Customizer previewNoPreviews are never tracked.
A hostname that is not in your Domains listNoOnly applies if you filled in Domains on the Tracking tab.
A visitor who sends Do Not TrackNoOnly applies if you switched on Respect Do Not Track.

Form events follow the same rules as your pageviews, because both go through the same Umami tracker.

How to turn on Fluent Forms tracking

  1. Connect the site to Umami

    In WordPress, go to Settings → WPUmami → Tracking. Paste your Umami website ID and script URL, then save. The status panel at the top should say the tracking script is responding.

  2. Switch on Form submissions

    Open the Events tab. Under Forms and comments, tick Form submissions and save. The note under the switch should list Fluent Forms as active on this site.

  3. Send a test submission

    In a private browser window, open a page with one of your Fluent Forms, fill it in and submit it. Use a private window because logged-in administrators are not tracked by default.

  4. Check Umami

    In Umami, open your website and look at Events. You should see form_submit with plugin set to fluent-forms and the title of the form you submitted.

What is not sent

Nothing typed into the form is ever sent to Umami. No names, email addresses, phone numbers or messages. The event carries three things: the form's title, its ID and the word fluent-forms. That keeps your Umami data free of personal information, the way Umami is meant to be used.

Questions you can answer once it is on

  • Which referrers and campaigns bring visitors who fill in a form, not only visitors who look around.
  • Which of your forms is submitted most, by comparing the form value on form_submit events.
  • Which landing pages lead to the most submissions.
  • How submissions rise or fall over time, next to your visitor numbers.

Frequently asked questions

How do I track Fluent Forms submissions in Umami?

Install Connect for Umami, go to Settings → WPUmami → Events and tick Form submissions. Each successful Fluent Forms submission is then sent to Umami as a form_submit event with the form's title and ID. Nothing needs to change in Fluent Forms.

Does Umami track Fluent Forms submissions automatically?

No. Umami counts pageviews automatically, and records an event only when the page calls umami.track or a visitor clicks an element that carries a data-umami-event attribute. Fluent Forms submits in the background without a new pageview, so an event has to be sent. Connect for Umami sends it when Fluent Forms reports success.

Are failed submissions or validation errors counted?

No. The event is sent when Fluent Forms reports a successful submission, not when the visitor presses Submit. A form that stops on a validation error sends nothing.

What is the form called in Umami?

The form value is the form's title in Fluent Forms and form_id is its ID. Every event also carries plugin set to fluent-forms, so you can separate these submissions from those of other form plugins on the same site.

Is anything a visitor types into the form sent to Umami?

No. Only the form's title and ID are sent, with the plugin name. Field values stay on your site.

Can I rename the form_submit event?

Developers can, with the cfumami_event_names filter. Umami limits event names to 50 characters. The new name applies to every form the plugin tracks, not only Fluent Forms.

Connect WordPress to Umami in about two minutes

One plugin: the tracking script, events, store revenue and your stats inside WordPress. Plans start at $12 a year, with a 14-day money-back guarantee.

See pricing