Skip to main content
Gravity Forms → BranchIntegration guide

Connecting Gravity Forms to Branch

Gravity Forms stores the entry in your own WordPress database, which makes it one of the easier sources to join correctly. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the Gravity Forms entry before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Gravity Forms and Branch: carrying a web signup into the app

A Gravity Forms entry isn't a Branch event. When a form leads into an app, render a Branch link on the confirmation carrying the entry ID as link data, never email or name, so the app looks the person up on first open. Plain lead forms gain nothing from Branch. Test deferred deep links on a real iPhone.

Branch earns its place on a WordPress site when a form submission is meant to lead into an app: a signup form that ends with "get the app", a waitlist that converts to an install at launch. The Gravity Forms entry itself is not a Branch event; it is the moment you know who the person is. Put that knowledge into the Branch link you show on the confirmation, so the app can read it on first open and log the person in or prefill their account.

Gravity Forms confirmations make this concrete. A text confirmation can render a Branch link with the entry ID as link data, and a redirect confirmation can pass the entry ID as a query parameter to a page that builds one. Do not put the email or name into link data; the entry ID is enough to look the person up server-side after the app opens. Check whether your Branch configuration allows the link data you need on the plan you are on.

If the form is a plain lead or contact form with no app behind it, Branch adds nothing, and posting entries to its server-to-server API creates events with no link click and no install to attach to. The most common breakage in the useful case is iOS: the deferred deep link payload does not survive the install, the app opens anonymous, and the entry never connects. Test on a real iPhone, not a simulator.

Gravity Forms → Branch · what breaks

Why this join usually fails — Gravity Forms → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload 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

    The install that erases the campaign

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  4. 04

    Nothing reconciles afterwards

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

Gravity Forms → Branch · the fix

What working looks like — Gravity Forms → Branch

  • The Branch link click identifier and the deferred deep link payload on every entry

  • Conversions arriving in Branch

    The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.

  • Reconciled against the source

Gravity Forms → Branch · architecture

How Gravity Forms and Branch 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

    Branch needs a click to match

    Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.

  3. 3

    The identifier is the bridge

    The Branch link click identifier and the deferred deep link payload, 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

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

Gravity Forms → Branch · normal or broken

Working vs. broken, side by side — Gravity Forms → Branch

Normal, not a fault

  • The Branch link click identifier and the deferred deep link payload present on the entry

  • Sent from the gform_after_submission hook

  • Deduplicated correctly

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

  • Reconciles with the source

Actually broken

  • The Branch link click identifier and the deferred deep link payload 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

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  • Nobody has reconciled it

Gravity Forms → Branch · diagnose

Diagnostic order — Gravity Forms → Branch

  1. 01

    Count entrys carrying the Branch link click identifier and the deferred deep link payload

  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

    Measure your organic install share and ask whether it is plausible

    An implausibly large organic share is usually broken attribution rather than genuine word of mouth.

  5. 05

    Read the match rate, not the success message

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

Gravity Forms → Branch · prove

How it gets proven — Gravity Forms → Branch

Source of truth

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

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live entry.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Entry meta confirmed populated on a submission made from a fully cached page as an anonymous visitor.

Gravity Forms → Branch · free audit

What we check in the free audit

  • Count entrys carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Submit a test entry through a cached page
  • Measure your organic install share and ask whether it is plausible
  • 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 → Branch · when not to buy

When you don't need this — Gravity Forms → Branch

  • Measure identifier coverage yourself first — pull your last hundred entrys and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If your site has no caching layer and one form, a developer can wire this in an afternoon. Worth trying before hiring anyone.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Gravity Forms → Branch · what we deliver

What gets built — Gravity Forms → Branch

  • 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 Branch

    The Branch server-to-server events API, posted from your backend with the user identity and event data.

  • 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 → Branch questions, answered

Not as a conversion on its own. Branch is useful when the form leads to an app install, by carrying the entry ID through a deep link into the app's first open.

Free · 30 min

Get Gravity Forms and Branch joined properly

Free30 minutesNo obligation