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.
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.
| Event | When it is sent | Data sent with it |
|---|---|---|
form_submit | A visitor submits a Fluent Forms form and Fluent Forms reports that the submission succeeded. |
|
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
| Situation | Counted | Notes |
|---|---|---|
| A visitor submits the form and Fluent Forms accepts it | Yes | One form_submit event with the form's title and ID. |
| The form stops on a validation error | No | The event is sent only after Fluent Forms reports success. |
| Several Fluent Forms on one page or across the site | Yes | Each event carries its own form and form_id. |
| A logged-in administrator submits the form | No | Administrators are left out by default. Other logged-in roles are counted. |
| A draft preview or the Customizer preview | No | Previews are never tracked. |
| A hostname that is not in your Domains list | No | Only applies if you filled in Domains on the Tracking tab. |
| A visitor who sends Do Not Track | No | Only 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
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.
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.
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.
Check Umami
In Umami, open your website and look at Events. You should see
form_submitwithpluginset tofluent-formsand 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
formvalue onform_submitevents. - 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.