Skip to main content
Gravity Forms → Customer.ioIntegration guide

Connecting Gravity Forms to Customer.io

Gravity Forms stores the entry in your own WordPress database, which makes it one of the easier sources to join correctly. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Gravity Forms entry before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Gravity Forms to Customer.io: identify, then track, from the hook

Send a Gravity Forms submission to Customer.io as identify, then track with the form ID. Map Name sub-inputs explicitly so first_name isn't empty, and don't run Customer.io's browser form capture alongside. Keep the API key in an environment-specific setting so staging clones don't email real people, and never bulk-resend old entries.

Customer.io needs a person before an event means anything, so a Gravity Forms submission is two calls: identify the person (email as the ID, or your own ID if the form creates an account) with the attributes your campaigns branch on, then track the form event with the form ID. Check whether Customer.io's own form-capture feature, which listens to form submits in the browser, is already active on the site; running it alongside a server-side send creates the person twice under slightly different keys.

Gravity Forms field structure matters for attributes. A Name field is multi-input, so first and last name live in sub-inputs, and a campaign that references first_name will send "Hi ," if you map the parent field. Map inputs explicitly, and send an empty-safe default.

Testing is the dangerous part on WordPress. Staging sites are usually clones of production with the same plugin settings, so a staging Gravity Forms install will happily post test entries to the live Customer.io workspace and send real emails to real addresses copied with the database. Keep the API key in an environment-specific setting rather than in the add-on configuration that a database copy carries along. Never resend old entries in bulk to backfill; they evaluate against live campaigns as if new.

Gravity Forms → Customer.io · what breaks

Why this join usually fails — Gravity Forms → Customer.io

  1. 01

    The person identifier you assign never reaches Gravity Forms

    The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce.

  2. 02

    Dynamic population fails silently under page caching

    The field is configured correctly and still arrives empty, because the visitor was served a cached page rendered for someone else. This is the most common Gravity Forms failure and it looks like nothing is wrong.

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Gravity Forms → Customer.io · the fix

What working looks like — Gravity Forms → Customer.io

  • The person identifier you assign on every entry

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

Gravity Forms → Customer.io · architecture

How Gravity Forms and Customer.io actually connect

  1. 1

    Gravity Forms holds the truth

    The entry lives in your database with every field value attached. You can query it, back it up and reconcile against it without depending on any third party, which is a real advantage over hosted form tools.

  2. 2

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the Gravity Forms entry.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.

  5. 5

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

Gravity Forms → Customer.io · normal or broken

Working vs. broken, side by side — Gravity Forms → Customer.io

Normal, not a fault

  • The person identifier you assign present on the entry

  • Sent from the gform_after_submission hook

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign missing on most records

    The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce.

  • Sent from the browser

    The field is configured correctly and still arrives empty, because the visitor was served a cached page rendered for someone else. This is the most common Gravity Forms failure and it looks like nothing is wrong.

  • Counted twice, or not at all

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

Gravity Forms → Customer.io · diagnose

Diagnostic order — Gravity Forms → Customer.io

  1. 01

    Count entrys carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test entry through a cached page

    Not through a logged-in admin session, which bypasses the cache. If the hidden field is empty on the cached path and populated on the admin path, caching is your cause.

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Gravity Forms → Customer.io · prove

How it gets proven — Gravity Forms → Customer.io

Source of truth

The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.

  • The person identifier you assign confirmed present on a live entry.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Entry meta confirmed populated on a submission made from a fully cached page as an anonymous visitor.

Gravity Forms → Customer.io · free audit

What we check in the free audit

  • Count entrys carrying the person identifier you assign
  • Follow one real conversion end to end
  • Submit a test entry through a cached page
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gravity Forms → Customer.io · when not to buy

When you don't need this — Gravity Forms → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred entrys and count how many carry the person identifier you assign.
  • If your site has no caching layer and one form, a developer can wire this in an afternoon. Worth trying before hiring anyone.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Gravity Forms → Customer.io · what we deliver

What gets built — Gravity Forms → Customer.io

  • Identifier capture into Gravity Forms

    Hidden field with 'allow field to be populated dynamically' enabled and a parameter name set, plus a cookie fallback via a gform filter so the identifier survives a visitor who browsed several pages before converting.

  • Event source: the gform_after_submission hook

    Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.

  • Dispatch to Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • Reversals where they exist

    Nothing to reverse, though entries marked spam should be excluded from the send.

Written guarantee

95%+ tracking accuracy

Measured against The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gravity Forms → Customer.io questions, answered

From the after-submission hook, call identify with the person's ID and attributes, then track an event with the form ID. Do not also run Customer.io's browser form capture on the same form.

Free · 30 min

Get Gravity Forms and Customer.io joined properly

Free30 minutesNo obligation