🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 23, 2026

How to Send Gravity Forms Events and Goals to Plausible, Fathom and Matomo

GravityExtra
How to Send Gravity Forms Events and Goals to Plausible, Fathom and Matomo

Cookieless analytics tools such as Plausible, Fathom and Matomo are popular because they are light, they respect visitors and they are easy to explain in a privacy policy. They count page views well. What they do not know is what your forms are doing. A contact form, a quote request or an order form is where a visit turns into a lead, and by default these tools see only that the visitor loaded a page. This guide shows how to turn Gravity Forms views, steps, submissions and errors into events and goals in all three tools, with a value on each submission, using the Gravity Forms Privacy Analytics Premium Add-on.

What the three tools can receive

Each tool has a small JavaScript interface for custom events. Plausible takes an event name and an options object with properties and revenue, as described in its custom event goals and revenue tracking guides. Fathom takes an event name and an optional value in cents through its events interface. Matomo takes an event with a category, an action, a name and a value, and it can record a goal conversion with revenue, as the tracking guide explains.

The shapes differ a little, and that is the first reason to avoid doing it by hand. The amount of an order is 49.9 for Plausible, 4990 for Fathom and 49.9 again for Matomo. A goal in Plausible needs the exact event name. A goal in Matomo needs a number. An event in Fathom just appears. Getting all of this right once, for every form, is the job of the add-on.

The four things worth measuring

  • A view. The form was shown. Without it you cannot tell a visitor who never saw the form from one who saw it and left.
  • A step. On a multi-page form, the page the visitor reached. This is the drop-off funnel: how many reached page 2, how many reached page 3.
  • A submission. The form was sent and the confirmation was shown. This is the goal, and it can carry a value.
  • A validation error. The form came back with a message. Errors are the most useful signal of all, because they are the moments when a person who wanted to finish was stopped by the form.

Each event name tells you which form it belongs to. A form called booking sends gf_booking_view, gf_booking_step_2, gf_booking_submit and gf_booking_error. In Matomo the same events arrive as view, step_2, submit and error, with the form as the name.

Set it up without writing code

Doing this by hand means writing JavaScript for the Gravity Forms render hook, the page change hook and the confirmation, finding a way to know about validation errors on both Ajax and normal forms, and reading an amount from the entry on the server. It also means remembering to do it for each new form. The add-on does it once, for all your forms.

  1. Install the tracking code of Plausible, Fathom, Matomo or any of them, as you do today.
  2. Install and activate the add-on, then enter your license key in Forms, Settings, Privacy Analytics.
  3. Choose the tools, the events, the currency and the consent check.
  4. Open the page with your form, switch on the browser console option and watch the events being sent.
The Privacy Analytics add-on settings in Gravity Forms: where to send (Plausible, Fathom, Matomo), currency, and what to send (view, step, submission, error)
The add-on settings: tools, currency and events.

Turn the events into goals

Events arrive in each tool, and then you decide which of them is a goal.

  • In Plausible, open the site settings, add a custom event goal and type the exact name, for example gf_booking_submit. From then on the goal appears in the dashboard with its conversion rate. If the goal has revenue, Plausible shows the total next to it.
  • In Fathom, the event exists the moment it arrives. Open the events list, and set the currency of the event if you send values.
  • In Matomo, create a goal, note its number, and write that number in the settings of the form. Every submission then records a conversion of the goal with its revenue. The event itself also appears under Behaviour.

Goals are the part of analytics that people actually act on, so it is worth choosing them with care. One goal per form is a good start. The funnel of view, step and submission shows where the form loses people, and the goal tells you whether a change helped.

Put a value on a submission

A lead form is worth something, and an order form is worth exactly what the visitor paid. Both tools can store the value, and then you can compare pages, campaigns and sources by value instead of by count.

In the form settings you can enter a fixed value, such as 25 for a lead, or the number of the field that holds the amount, such as a Total field. The add-on reads the amount on the server when the form is confirmed, rounds it to two decimals, and sends it in the shape each tool expects. A field that is empty falls back to the fixed value. A field that is a password, a card or a file is never used.

The Privacy Analytics form settings: track this form, the name used in event names, the goal value, the field to take it from, the Matomo goal number and the properties to send
Form settings: the goal value, the Matomo goal and the optional properties.

Respect consent, even with cookieless tools

A cookieless tool often needs no banner, but that depends on how it is set up and on your country, and some sites choose to ask anyway. The add-on makes the choice yours. There are four ways to tell it whether the visitor has agreed.

  • The WP Consent API, which many consent plugins support. Choose the category, such as Statistics.
  • A cookie that your banner sets. Give the name and the value that means yes.
  • Your own code, which calls one function when the visitor accepts.
  • No check, for sites where no consent is needed.

Until the visitor agrees, events are held in the memory of the page, up to 40. When consent arrives they are sent in order. If the visitor leaves first, they disappear, and nothing was written to a cookie or to the local storage of the browser. When the consent API is missing, the answer is no, so a wrong setup fails safe.

The Consent part of the settings: consent check set to a cookie set by the consent banner, the cookie name and the cookie value that means yes
Consent: nothing is sent until the visitor has agreed.

Never send what you should not

The point of a privacy-first tool is that it holds little about people. Sending the content of a form to it would undo that. The add-on sends no field value and no error message, only the form name, the page number, the kind of event and the value of the goal. For a field error it can send the field number, not what the person typed into it.

Sometimes one answer is safe and very useful, such as the plan that a visitor chose. For that you map a field in the form settings with one line, plan=3, and the value is sent as a Plausible property with the submission. Passwords, card numbers, files, signatures and lists are never sent, even when someone maps them by mistake. Values are cut to 100 characters.

How to read the results

Once events flow, a few questions become easy to answer.

  • Where do people stop? Compare the number of events for step 2 with step 3. A big gap means the second page asks too much.
  • Which field blocks people? Switch on the per-field error events and look at the counts for each field. The field with the most errors is the one to rewrite or to explain better.
  • Is the form seen at all? Compare the view events with the submission events. If the view count is low, the problem is the page, not the form.
  • Which source brings value? With values on the goal, compare the sources by revenue. A source with fewer leads but a higher value per lead may deserve more of your budget.
  • Does a change help? Compare the rate of the submission event before and after you shorten the form.

A walk through one visit

Take an order form with two pages. A visitor arrives from a newsletter, fills in the contact details and goes on. On the second page she forgets a required field and presses submit. The form shows an error. She fixes it and sends the order with a total of 149.50.

Without labels, your analytics tool sees one page view. With the add-on it sees the form view, step 2, an error, and a submission with a value of 149.50. In Plausible the goal gf_order_submit shows one conversion with revenue. In Fathom the event shows a value of 14950 cents. In Matomo the goal records one conversion and the revenue. And the source of the visit, the newsletter, is credited with it, which is the part that makes the numbers useful.

Naming events so that the reports stay readable

Event names are the one thing you cannot easily change later, because old data keeps the old name. Three habits help. Keep a short prefix, so that all form events sort together, such as gf. Give each important form a readable name, such as booking or newsletter, instead of leaving the number. And keep names to letters, digits, underscores and dashes, which all three tools accept without surprises. The add-on cleans names for you, so a form called Contact us becomes Contact_us, but it is nicer to choose the name yourself.

Mistakes to avoid

  • Sending the whole form. People then tag events with names and email addresses, which turns a privacy-first tool into a database of personal data. Send the kind of event, not the content.
  • Counting views on every reload. A view event should mean that the form was shown, not that a script ran twice. The add-on sends one view for each page load, and one step for each page change.
  • Forgetting multi-page forms. Without step events, a form with three pages looks like a single page with a mysterious drop-off.
  • Forgetting the goal in Plausible. The event is received, but it is not listed as a goal until you add one with the exact name.
  • Sending cents to Plausible or whole units to Fathom. The add-on converts for you: major units for Plausible and Matomo, cents for Fathom.

Redirects and cached pages

Many forms end on a thank-you page. When that page is on your own site, the add-on adds a small marker to the address, sends the submission event from the thank-you page and removes the marker, so a reload does not count twice. In that case the fixed value is sent, because the entry itself is no longer available. Cached pages are fine: the settings travel with the form, and the consent is checked in the browser of each visitor.

Frequently asked questions

Do I need all three tools?

No. Use one, two or all three. Each can be switched off, and a tool that is not installed is skipped without an error.

Does it add the tracking code?

No. Keep the way you install Plausible, Fathom or Matomo today. The add-on only sends events to the tools that are already on the page.

Will it slow my forms down?

No. It is one small script of a few kilobytes that waits for the form to be drawn. It makes no request of its own.

Is any visitor data stored?

No. The add-on stores only its settings. It writes no cookie and uses no local storage.

Does it work with Ajax forms and multi-page forms?

Yes. Page changes, validation errors and the confirmation are all picked up, with or without Ajax. It is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.

Can I use it for a form I do not want to track?

Yes. Switch off Track all forms, or choose Never in the settings of that form.

Get started

Forms are where visits turn into leads. The Gravity Forms Privacy Analytics Premium Add-on makes that visible in Plausible, Fathom and Matomo, with goal values, consent and no field values. See the features, the price and the setup guide on the add-on page.

See the Privacy Analytics add-on

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr