Facebook Conversions API for Gravity Forms

A third-party plugin by Gravity Hive

Server-side Lead and Purchase events for Meta, with a Pixel event that shares the same event ID.

Facebook Conversions API for Gravity Forms

Facebook Conversions API for Gravity Forms sends a conversion event to Meta from your server each time a form is submitted, or when its payment is completed. A feed on the form chooses the event, its value, the Pixels (datasets) that receive it and the customer details Meta uses to match the event to a person.

Server events arrive even when the visitor’s browser blocks the Meta Pixel. If you also use the Pixel, the add-on can fire the same event in the browser with the same event ID, and Meta keeps one of the two. Customer details are normalised and hashed with SHA-256 before they are sent; access tokens are checked with Meta, stored encrypted and never shown again.

The add-on only sends events from Gravity Forms to Meta. It does not report on ad performance or read data back from Meta, and how many events Meta matches depends on Meta, your ad settings and the details your forms collect. The Meta Pixel, Business Manager and ads remain yours.

Features

  • Lead, CompleteRegistration, Contact, Schedule, SubmitApplication, Subscribe, StartTrial, Purchase or custom events per feed.
  • Several Pixels (datasets), each with its own encrypted token; each feed chooses which receive the event, all with the same event ID.
  • Purchase and Subscribe sent after payment when a Gravity Forms payment add-on records it, with the amount actually paid.
  • Value and currency from the Gravity Forms total, a field or a fixed amount; content name, category and custom parameters.
  • Customer details hashed with SHA-256 (email, phone, name, city, state, zip, country, date of birth, gender, external ID), plus IP, browser, fbp and fbc.
  • Optional Meta Pixel event on the confirmation with the same event ID, optional advanced matching and a dataLayer push for Google Tag Manager.
  • Funnel events: ViewContent, FormStart or InitiateCheckout, and FormAbandon.
  • Consent options per feed, Pixel consent mode and Limited Data Use.
  • Send test event button with Meta’s answer, test event codes and a configurable Graph API version.
  • Background sending with retries, an entry box with the result per Pixel, an entry list column, bulk send, and a log without customer details.
  • Conditional logic.

Requirements: Gravity Forms 2.6 or later, WordPress 5.8 or later, PHP 7.4 or later with OpenSSL, a Meta Pixel with a Conversions API access token for each Pixel, and an active licence key for updates. Purchase after payment needs a Gravity Forms payment add-on such as Stripe, PayPal or Square.

Facebook and Meta are trademarks of Meta Platforms, Inc., used here only to describe what the add-on connects to. This add-on is not affiliated with or endorsed by Meta.