🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Submission Inspector Setup Guide

Updated 13 min read Gravity Forms Entries & Workflow
On this page
  1. What you need
  2. Install and activate
  3. How it differs from other tools
  4. How tracing works, and what it costs when it is off
  5. Trace a form
  6. Read a trace
  7. Would it fire now?
  8. Masked values, unmask and the unmask log
  9. The entry box and the filtered list
  10. Settings
  11. WP-CLI
  12. What is stored, and for how long
  13. Limits worth knowing
  14. Frequently asked questions

The Gravity Forms Submission Inspector add-on answers the question every site owner asks sooner or later: why didn’t it send, show or run? Switch tracing on for one form (or any form) and the next few submissions are recorded as Gravity Forms processes them. For each one you get a plain-language explanation of the decisions Gravity Forms actually made: which spam check marked the entry, which fields failed validation, why each notification was sent or not, which confirmation was chosen, which feeds ran or were skipped, and where a submission stopped when a PHP fatal error ended it. This guide covers installing the add-on, tracing a form, reading a trace, the dry “Would it fire now?” check, masked values and the unmask log, the settings, the WP-CLI command, what is stored, and the limits of what a trace can tell you.

What you need

You need Gravity Forms 2.9 or newer and WordPress 6.5 or newer on PHP 7.4 or newer. Nothing else: the add-on runs inside WordPress and makes no outside connection. Gravity Forms log lines are kept with a trace on Gravity Forms 2.9.26 and newer; everything else works from 2.9.

The screens need one Gravity Forms capability, gravityforms_view_entries (the same one that lets a user read entries). Administrators have it, and you can give it to a colleague with your role editor. Unmasking a value is stricter: by default only users who can manage_options (administrators) can unmask, and a developer can change that capability with the gfsubinspector_unmask_capability filter. Users without the view capability cannot open the screens, a trace, the unmask log or the dry check, and cannot start or stop tracing. Visitors never see anything of the add-on.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Submission Inspector, enter your GravityExtra licence key and press Activate License.
  • The traces are under Forms → Submission Inspector, and each entry gets a Submission Inspector box on its detail page.

Without an active licence the screen shows a short note, nothing is traced, and the dry check and unmask are refused. Your forms work as usual either way.

How it differs from other tools

Several of our add-ons look after your forms, and each answers a different question. Form Health checks the set-up of every form for mistakes, such as a notification without a valid recipient or conditional logic that points to a deleted field; it reads the configuration and never looks at a submission. The Form Speed Profiler times each step of a submission to find the slow one; the Submission Inspector shares its way of naming the plugin behind a callback, but explains decisions, not timings. Feed Health catches feeds that failed (a CRM or mailing list refused the data) and lets you retry them; the inspector links to it when a traced feed failed. Test Mode lets you send test submissions on the live site and logs what each test run sent and skipped. SMTP and Email Tracking take over once an e-mail has been handed to WordPress: delivery, the e-mail log, opens and clicks.

Gravity Forms itself has a debug log and entry notes. The log is detailed but raw text, written for developers, and it does not name the plugin callback that changed a decision; entry notes record some events, such as a spam filter or a sent notification, but not why a notification was skipped. The Submission Inspector sits between these: it reads the decisions of a real submission and turns them into sentences you can act on.

How tracing works, and what it costs when it is off

Tracing is off by default. While it is off, the add-on reads one small saved setting on each request to see whether a tracing rule is running, and does nothing else: no hook is added to Gravity Forms, nothing is recorded. In our tests a site with the add-on active and tracing off registered no tracing hook during a submission, and its submission times matched those of the same site with the add-on deactivated within the normal variation between runs.

While a tracing rule is running, a final submission of a matching form is traced from the moment Gravity Forms starts processing it until the response is sent. The add-on notes what Gravity Forms decided at each step: the result of the spam check, the validation result, each notification (disabled, conditional logic, routing, sending), the confirmation it chose and the feeds it processed. When a plugin callback changes one of those decisions, the add-on notes the callback’s name and the plugin, must-use plugin or theme it belongs to. It never changes what a callback receives or returns, or the order in which callbacks run, and the e-mails, feeds, entry and confirmation are the same with and without tracing. Moves to another page of a multi-page form and “save and continue” are not traced.

Trace a form

Open Forms → Submission Inspector. In Tracing, choose the form (or Any form), how many submissions to trace (1 to 1,000, 10 by default) and for how long at most (in minutes, hours or days, 1 day by default, up to 30 days), then press Start tracing. The rule appears with the submissions traced so far and when it switches off. It stops by itself after that many submissions or when the time is up, whichever comes first, and you can stop it at any time with Stop. A rule for a form replaces an earlier rule for the same form.

To keep an eye on one important form for a while, trace it for the next few hundred submissions over a couple of weeks. To answer one complaint, trace the next handful of submissions for an hour and send the form yourself the way the visitor did. Each traced submission takes exactly one slot; when several submissions arrive at the same moment, the slots are taken with a single atomic database update, so the rule never traces more submissions than you chose.

Forms, Submission Inspector: trace the next submissions of a form with a time limit, the running rule, and the list of traced submissions with their result and a one-line summary
Start tracing for one form or any form; the list shows what happened to each traced submission.

Below the rule, the list shows the traces, newest first: when, which form, the entry (or no entry when nothing was saved), the result and a one-line summary such as “Saved. 2 of 3 notifications sent (1 blocked by its rules)”. Filter by form, or by what happened: spam, validation failed, stopped before saving, stopped run, notification not sent, notification changed, confirmation changed or replaced, feed skipped, delayed or failed. Press Explain to open a trace.

Read a trace

A trace starts with tiles for when the submission arrived, its entry, the result and how many notifications were sent, and the one-line summary. Below that, one section per step:

  • Spam check: whether the entry was marked as spam, and by what: the Gravity Forms honeypot, its anti-spam time check, its link detection or form token check, a captcha, Akismet, or a gform_entry_is_spam callback, named with its plugin. When Gravity Forms recorded a reason (for example “The honeypot input is not empty”), it is shown too. A submission stopped before saving by gform_abort_submission_with_confirmation is explained the same way.
  • Validation: whether validation passed. When it failed, every failed field with its message and who failed it: Gravity Forms’ own field check (a required field left empty, an invalid e-mail address) or a named gform_field_validation or gform_validation callback. Failed submissions create no entry, and they are traced anyway.
  • Notifications: one row per form notification. Sent with the number of recipients; not sent because its conditional logic did not match (each rule is listed with the form setting it compares to and whether the entry value matched), because it is switched off, because a callback disabled it on gform_disable_notification, because a callback cancelled the e-mail on gform_pre_send_email, or because the entry was spam. A notification changed by a callback (for example a callback that adds a Bcc on gform_notification) is marked sent, changed with the names of the settings that changed. Routing notifications show each routing rule and how many matched.
  • Confirmation: which confirmation Gravity Forms used and why: the only one, the one whose conditional logic matched (with its rules), or the default one because no conditional confirmation matched (each one checked is listed). A callback that changed it on gform_confirmation, or turned a message into a redirect, is named; when the result was empty and Gravity Forms fell back to its default text, the trace says so.
  • Feeds: every feed of the form with its add-on: ran, skipped because its condition did not match (with the rule), switched off, add-on not active, not run because the entry was spam, or not run during the submission (delayed until a payment completes, or queued for background processing). A feed that is still not processed fifteen minutes later is marked stale; a feed that ran and reported a failure links to Feed Health when it is installed.
  • Stopped run: when a PHP fatal error ended the submission, the step it reached, the file and line of the error, the plugin it belongs to, the callback that was running and on which hook, and the error message (masked). A run whose end was never recorded at all, for example after a time-out, is reported as stopped too.
  • Gravity Forms log lines: on Gravity Forms 2.9.26 and newer, the log lines Gravity Forms wrote during the traced submission, masked, even when Gravity Forms logging is switched off.
One traced submission explained: spam check, validation, each notification with its conditional logic rule by rule and the callbacks that disabled or changed it, the confirmation chosen and the feeds that ran or were skipped, with entry values masked
One submission, decision by decision: the blocked notification, the disabled one and the skipped feed are explained, values stay masked.

A submission that failed validation has no entry, so its trace shows the spam and validation sections only, with the failed fields and their messages.

A traced submission that failed validation and created no entry: the failed fields, their messages and the plugin callback that failed the phone number
Failed submissions are traced too, even without an entry.

Would it fire now?

The Would it fire now? button, on a trace and in the Submission Inspector box of every entry (traced or not), checks the entry against the form as it is set up today. It lists each notification as would be sent or would not be sent with the reason (switched off, conditional logic, no routing rule matching, spam entry), the confirmation that would be chosen, and each feed as would run or would not run, noting when a feed already ran for this entry. Callbacks that could still disable a notification or change the confirmation at submission time are listed by name; a dry check does not run them.

The check is dry: it sends no e-mail, runs no feed and writes nothing, not to the entry, not to its meta, not to the add-on’s tables. It is the quickest way to confirm that a fix to a notification’s conditional logic or routing works for the entry that went wrong, before the next visitor submits the form.

The Would it fire now? check of an entry: which notifications would be sent, which confirmation would be shown and which feeds would run, with nothing sent, run or saved
A dry check against today's settings: nothing is sent, run or saved.

Masked values, unmask and the unmask log

The add-on never stores what a visitor typed. When an explanation needs a value, for example the budget a conditional logic rule compared, it keeps a masked form: the kind of value (text, e-mail, number, date, list), its length and a short fingerprint made with a secret that is unique to your site. That is enough to say “did not match” and to see that two masked values are equal, without the value. Free text that could contain values, such as a validation message, a Gravity Forms log line or a fatal error message, is masked before it is saved: the values of the submission, e-mail addresses and phone-like numbers are replaced. The rule side of a condition is a form setting, so the screen shows it from the form as it is today.

Administrators see an Unmask button next to a masked value of an existing entry. Unmask reads the value from the live entry, shows it for that view only and never stores it; reload the page and it is masked again. Every unmask is recorded in Forms → Submission Inspector → Unmask log with the user, the time, the form, the entry and the field, never the value. Staff with only the view capability see masked values without the button, and the add-on refuses an unmask request from them. A submission that created no entry has nothing to unmask.

The entry box and the filtered list

Each entry detail page has a Submission Inspector box. For a traced entry it shows the summary of its trace and a link to the full explanation; for any entry it has the Would it fire now? button. The list on the add-on screen is the place to look across submissions, for example every traced entry whose notification was not sent this week.

Settings

In Forms → Settings → Submission Inspector:

  • Delete traces after (days): 30 by default, 1 to 365. Older traces are deleted every day and each time a new trace is saved. The unmask log is kept for a year.
  • Keep Gravity Forms log lines with each trace: on by default; only for traced submissions, masked, Gravity Forms 2.9.26 and newer.
  • Send a daily spam digest: off by default. Once a day, an e-mail with how many traced submissions were marked as spam during the last 24 hours, per form and per spam check, without any field value. It goes to the address you enter, or to the site administration address.

WP-CLI

On sites with WP-CLI, wp gf-inspector show <entry> prints the explanation of an entry’s latest trace, section by section, and wp gf-inspector list --form=<id> --kind=<kind> --limit=<n> lists traces with their summary. Kinds are the filters of the list: spam, invalid, aborted, stopped, notif_not_sent, notif_changed, conf_changed, conf_broken, feed_skipped, feed_delayed and feed_failed. The command is read-only and always shows values masked.

What is stored, and for how long

A trace holds the form and entry IDs, the time, the result, the one-line summary and the explanation: names of notifications, confirmations, feeds, fields, callbacks and plugins, the outcome of each rule, masked values and masked text. Recipients, Cc, Bcc and Reply-To addresses that are written in the notification settings are kept as they are; any address that came from the entry (such as the visitor’s e-mail in To, Bcc or Reply-To, or a routing rule that sends to an e-mail field) is masked like a field value, and an administrator can unmask it for one view, recorded in the unmask log. The From name and the subject are not kept. Traces are kept in the add-on’s own database table and deleted after the retention period (30 days by default). Uninstalling the add-on removes its tables, options and scheduled events; your forms and entries stay as they are.

Limits worth knowing

  • A trace explains what happened during the submission request. Notifications that Gravity Forms sends in the background are shown as queued, and feeds that are delayed or queued are shown as not run during the submission; the trace does not follow them later, except that a feed still not processed fifteen minutes later is marked stale.
  • The rule-by-rule detail of a condition is worked out from the entry’s values with the same operators as Gravity Forms. Custom code that changes how a rule is evaluated can make the detail differ from Gravity Forms’ decision; the decision shown (sent, not sent, chosen, skipped) is always the one Gravity Forms made.
  • The dry check lists, but does not run, callbacks that could disable a notification or change the confirmation, because running them could have side effects.
  • While a traced submission runs, a PHP stack trace in your error log can show the add-on’s observing wrapper around a callback. The callback’s behaviour is unchanged.
  • Moves to another page of a multi-page form and “save and continue” are not traced; the final submission is.

Frequently asked questions

Does tracing slow my forms down? With tracing off, nothing is hooked into a submission; in our tests submission times matched those with the add-on deactivated. A traced submission does a little extra work (two writes to the add-on’s table and the notes taken along the way), which is why tracing is opt-in and switches itself off.

Can I leave tracing on all the time? You can trace a form for up to 30 days at a time and up to 1,000 submissions per rule, and start a new rule when it ends. Most sites trace a form for a few days while they look into a problem.

Will visitors notice anything? No. Visitors get the same page, the same confirmation and the same e-mails; nothing of the add-on is added to the pages they see.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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