Gravity Forms Referral Program Integration
Capture referral submissions through Gravity Forms on WordPress and automatically register them as referrals in your program.
About Our Gravity Forms Referral Integration

Gravity Forms
Capture referral submissions through Gravity Forms on WordPress and automatically register them as referrals in your program.
- • WordPress site
- • Gravity Forms account
What You Can Do with Gravity Forms
Gravity Forms is the go-to form plugin for WordPress, trusted by developers and marketers to build everything from lead capture forms to multi-step applications, complete with conditional logic, file uploads, add-ons for payment and CRM, and configurable Notifications and Confirmations. Referral Rock connects directly to your existing Gravity Forms setup so you can track referrals at the moment a referred visitor submits a form Entry, without rebuilding your forms or changing your WordPress theme. Every Entry Gravity Forms collects can become a verified referral event, attributed to the right referrer and recorded in your program dashboard automatically. It takes minimal development resources to set up, and your existing form logic, Notifications, and add-on integrations all continue to work exactly as before.
How the Gravity Forms Integration Works
Add the Referral Rock snippet to your WordPress Confirmation page
After a visitor submits your Gravity Forms form, WordPress displays a Confirmation, which can be a custom page, a redirect, or an inline message. Place Referral Rock's JavaScript tracking snippet on the Confirmation destination so it fires the moment the Entry is recorded. The snippet reads the referral source from the URL and registers the submission as a referral event.
Pass the submitter's email from the Entry to Referral Rock
Use a Gravity Forms webhook (via the native Webhooks add-on or a third-party connector) or a lightweight PHP snippet to forward the email address captured in your Form Fields to Referral Rock at the moment of submission. This ties the Entry to a real identity in your referral program so attribution is accurate and rewards can be issued to the right referrer.
Referral Rock attributes the Entry to the correct referrer
The moment a referred visitor submits your form, Referral Rock matches the Entry to the referral link they arrived through and credits the referrer. Whether the submitter came from a shared link, a Notification-triggered invite, or a direct referral, every conversion is logged accurately, no manual reconciliation needed.
Rewards trigger automatically when a referred Entry qualifies
Once Referral Rock confirms a referred Entry meets your program's conversion criteria, rewards issue automatically. Gift cards, cash, store credit, or any custom incentive you've configured. Your Gravity Forms Notifications and Confirmations continue to fire on their own schedule, and Referral Rock handles the reward side without any extra manual steps.
Track referrals across every Gravity Forms form on your WordPress site
Any form built with Gravity Forms, including contact forms, quote requests, consultation bookings, and lead capture, can become a referral conversion point with Referral Rock connected.
- Referral attribution is captured when the referred visitor lands on your form page, so it persists through conditional logic paths and multi-page forms without breaking.
- Every qualified Entry is logged in your Referral Rock dashboard alongside share counts, referral link clicks, and conversion rates, giving you a full picture of program performance.
- Submitters who arrive organically, without a referral link, can be automatically sent an email invite to join your referral program and start referring their own contacts.
Gravity Forms conditional logic works seamlessly alongside referral tracking
Gravity Forms' conditional logic lets you show or hide fields, change destinations, and control Notifications based on what a user enters, and Referral Rock's tracking survives every branch in that logic.
- Referral Rock captures the referral source at page load, before any Field interactions, so conditional field rules and skip logic don't interfere with attribution.
- Hidden Fields in your Gravity Form can carry the referral token silently through every step of a multi-page or branching form without exposing it to submitters.
- Segment referred Entries by form or by Conditional Logic branch to understand which form experiences drive the most qualified referrals.
Plug into your existing Gravity Forms add-on ecosystem
Gravity Forms' library of official and third-party add-ons connects your forms to CRMs, payment processors, email platforms, and automation tools, and Referral Rock fits into that ecosystem without displacing anything.
- The Webhooks Add-On (available on Elite and higher Gravity Forms plans) provides a native way to POST Entry data, including the submitter's email, to Referral Rock at submission time.
- If you're already routing Entries into a CRM or email platform via a Gravity Forms add-on, Referral Rock can sit alongside that workflow, tracking referrals without duplicating your existing automation.
- WordPress's action/filter system means developers can hook into Gravity Forms' `gform_after_submission` event to forward data to Referral Rock using a small custom snippet instead of a paid add-on.
Close the referral loop from first Entry to reward
Referral Rock manages the entire referral lifecycle, from the moment someone clicks a referral link to the moment the referrer earns their reward, with a Gravity Forms Entry as the conversion event in the middle.
- Set your conversion trigger to a Gravity Forms submission, a downstream CRM update, or a manual approval, whatever matches how your team qualifies new leads or customers.
- Rewards issue automatically when a referred Entry is confirmed, with no manual review required for straightforward conversions.
- Referrers see their progress in real time through the Referral Rock member portal, keeping them motivated to share, while your Gravity Forms Notifications and Confirmations continue to deliver the experience you've already designed.
Gravity Forms Referral Integration — FAQ
“Their integrations, their obsession to be on the leading edge of their niche, the overall customizability... All in all, I saved thousands by not needing to build an app or sign up for a long-term contract.”
Need help setting up?
Every Referral Rock plan includes dedicated onboarding support. Our team will help you configure the Gravity Forms integration and make sure everything is working perfectly. View the setup guide →
Connect Your Favorite Tools
25+ integrations to easily connect your tools and teams.
Ready to Connect Gravity Forms?
Start your free trial and set up the integration in minutes. No credit card required.











