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

Gravity Forms Peer-to-Peer Fundraising Pages Setup Guide

Updated 11 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. How it differs from other GravityExtra add-ons
  4. Install and activate
  5. Build your two forms
  6. The sign-up form
  7. The donation form
  8. Create a campaign
  9. Participant pages
  10. Teams
  11. Leaderboards, progress and shortcodes
  12. How gifts are counted
  13. The participant dashboard
  14. Notifications and merge tags
  15. Managing participants, teams and gifts
  16. Privacy
  17. FAQ

Video walkthrough

Gravity Forms Peer-to-Peer Fundraising Pages Setup Guide: Participant Pages, Teams & Leaderboards
Video setup guide: Gravity Forms Peer-to-Peer Fundraising Pages Watch on YouTube

The Gravity Forms Peer-to-Peer Fundraising Pages add-on gives every person who takes part in your sponsored walk, run, swim, bake sale or challenge their own fundraising page. Each page has a photo, a personal story, a goal and a thermometer that fills up as gifts come in. Participants can start or join a team with its own page and total, and your campaign page shows the overall progress with leaderboards for people and teams. Gifts are made with your own Gravity Forms donation form and the Gravity Forms payment add-on you already use; this add-on never handles card details and never moves money. This guide covers setting it up, the pages it creates, how gifts are counted, the participant dashboard, notifications and the admin screens.

What you need

You need Gravity Forms 2.9 or newer and WordPress 6.5 or newer on PHP 7.4 or newer. To take online gifts you also need a Gravity Forms payment add-on that is already set up on your donation form, such as the official card or wallet add-ons for Gravity Forms. The P2P Fundraising add-on reads the payment status that your payment add-on writes on each entry; it does not process payments itself, so anything about payment methods, fees, currencies, receipts and refunds is handled by your payment add-on and your organisation’s own rules.

Everything runs inside your WordPress site. The add-on makes no outside connection beyond checking gravityextra.com for your licence and plugin updates. Pretty addresses such as /your-campaign/maria/ use your WordPress permalinks; with plain permalinks the pages still work with a short query string.

How it differs from other GravityExtra add-ons

GravityExtra has several add-ons that touch on giving, and each one does a different job. Our KPI Goal Meter and progress add-ons show one total for one form: a single bar for the whole form. Our donation integrations hand each gift over to another platform, such as a donor database or a CRM. Our Donor Giving Statements add-on summarises gifts per donor, for example a yearly statement. None of them gives each participant their own page, goal and thermometer, a team page with a team total and leaderboards for people and teams. That is what Peer-to-Peer Fundraising Pages adds, and it works alongside the others: you can still show a goal meter on another page or send each gift to your donor database.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → P2P Fundraising, enter your GravityExtra licence key and press Activate License.
  • A new menu item, Forms → P2P Fundraising, opens the campaign screens.

Without an active licence the shortcodes print nothing for visitors, new sign-ups do not create pages, and the admin screens only show a note with a link to the licence settings. When you activate the licence again, press Recalculate totals from the entries on the Gifts tab to bring every total up to date.

Build your two forms

A campaign joins two ordinary Gravity Forms forms. You build them in the form editor as usual, with any design, extra fields, conditional logic or spam protection you like.

The sign-up form

This form creates a participant page. Useful fields are a Name field (the page title), an Email field (for the welcome e-mail and gift alerts), a File Upload field for the photo (JPEG, PNG or WebP), a Paragraph Text field for the story, a Number field for the personal goal, a Single Line Text field for the wanted page address, a Drop Down labelled with the word “team” to join a team, and a Single Line Text field labelled “new team” to start one. Only the name is really needed; every other field is optional.

The donation form

This form takes the gift. Add a Hidden field labelled “Participant”, a Product field for the amount (a user-defined price works well) and a Total field, then set up your payment add-on feed on this form exactly as you would for any other donation form. Optional fields are the supporter’s Name, Email (for the thank-you, never shown on a page), a Checkboxes field such as “Show my name on the page” and a Paragraph Text field for a message.

Create a campaign

Create a WordPress page for the campaign, for example “Autumn 5K”, and put the shortcode [gfp2p_campaign] on it (or add the P2P Fundraising block). Then open Forms → P2P Fundraising and press Add campaign:

  • Name and Campaign goal: shown on the campaign page with a progress bar.
  • Campaign page: the page that holds the shortcode. Participant pages, team pages and the dashboard live under its address.
  • Sign-up form and Donation form: the two forms above.
  • Teams: turn teams on or off, and choose whether participants can start a new team when they sign up.
  • Show the donation form on each participant page: the form appears under the story with the participant already filled in.
  • Offline gifts: donation entries that no payment add-on processed wait for an admin to approve them.
  • Default participant goal: used when a participant leaves the goal empty.
  • Status: Active, or Closed when the event is over (pages stay visible, new sign-ups and gifts are refused).

When you save, the add-on suggests a field mapping from the field types and labels of both forms; check it and change any drop-down that picked the wrong field. Saving also prepares the donation form’s hidden Participant field so it can be filled in from the page (parameter gfp2p_participant) and adds three notifications once: P2P: your fundraising page on the sign-up form, and P2P: new gift on your page and P2P: thank-you from the participant on the donation form. They are normal Gravity Forms notifications that you can edit, translate or switch off.

Participant pages

A participant fundraising page: photo, name, team, story, a thermometer showing the amount raised of the goal, share buttons and recent supporters with opted-in names
A participant page with the thermometer, the story and opted-in supporter names.

When someone submits the sign-up form, their page is created at once at /your-campaign/their-name/. The address comes from the wanted address field or, when it is empty, from the name. Addresses only use lower-case letters, numbers and dashes; an address that is already taken gets a number (maria-2), and words used by the add-on itself, such as team or dashboard, are never given out. If the participant was logged in, the page belongs to their account and a second sign-up in the same campaign is refused with a link to the dashboard.

The page shows the photo, the name, the team, the story, a thermometer with the amount raised of the goal, the number of supporters, a share box (copy the link, the phone’s own share sheet and e-mail) and the most recent supporters. When the donation form is shown on the page, its hidden Participant field already holds the page’s address, so every gift made there is credited to that participant. You can also link to any page with the donation form and add ?gfp2p_participant=their-name.

Teams

A team page: team name, members, a progress bar towards the team goal, the ranked list of members with what each raised and a Join this team button
A team page: the team total and every member ranked by what they raised.

With teams on, the sign-up form’s team drop-down is filled with the campaign’s teams for you. A participant who types a new team name starts that team and becomes its captain; typing the name of a team that already exists simply joins it. Each team has a page at /your-campaign/team/team-name/ with the team total, a progress bar and every member ranked by what they raised. The Join this team button opens the sign-up form with the team already chosen. The team goal is the captain’s own team goal when set, otherwise the sum of the members’ goals, and the team total is always the sum of what its current members raised.

Leaderboards, progress and shortcodes

The campaign page: campaign total and progress bar, number of gifts, fundraisers and teams, and the Top fundraisers and Top teams leaderboards
The campaign page with the total, the progress bar and both leaderboards.

The campaign page shows the campaign total with a progress bar, the number of gifts, fundraisers and teams, the Top fundraisers and Top teams leaderboards and the sign-up form. Leaderboards are ordered by the amount raised; equal amounts are ordered by who started first. You can place the same pieces on other pages:

  • [gfp2p_campaign id="1" signup="no" limit="10"]: the campaign page (and, on the campaign page itself, the participant, team and dashboard pages).
  • [gfp2p_leaderboard campaign="1" type="people" limit="10"] or type="teams": a leaderboard.
  • [gfp2p_progress campaign="1"], [gfp2p_progress participant="maria"] or [gfp2p_progress team="paw-patrol"]: a progress bar or thermometer.
  • [gfp2p_participant slug="maria"] and [gfp2p_team slug="paw-patrol"]: one page anywhere.
  • [gfp2p_dashboard campaign="1"]: the participant dashboard on any page.
  • The P2P Fundraising block shows the campaign page, either leaderboard or the progress bar.

How gifts are counted

Every entry of the donation form has exactly one gift record. Whenever Gravity Forms or your payment add-on changes the entry (payment completed, refunded, failed or voided, entry edited, marked as spam, trashed, restored or deleted), the record is rebuilt from the entry as it is stored at that moment. That makes the totals simple to trust:

  • A gift counts only when its payment status is Paid, Approved or Active, as set by your Gravity Forms payment add-on.
  • Payments that are still processing or only authorised, and failed, declined, voided or cancelled payments are never counted.
  • A refund takes the gift back out of the participant, team and campaign totals.
  • A paid gift is counted once, however often the payment hooks fire.
  • Spam and trashed entries never count; a restored entry counts again.
  • The amount is the amount your payment add-on recorded, or else the mapped amount field or the form total.
  • A gift without a participant, or with an unknown one, counts for the campaign only.

With offline gifts switched on, a donation entry that no payment add-on processed (cash handed in at the event, for example, entered by your team) waits on the Gifts tab until an admin presses Approve; Reject keeps it out of the totals. Entries of a card payment can never be approved by hand. A developer can change the list of counted statuses with the gfp2pfundraising_counted_statuses filter.

The participant dashboard

The private participant dashboard: story, goal and photo editor, the show amounts choice, the thermometer and the list of supporters with Send thank-you buttons
The private dashboard where a participant edits their page and thanks supporters.

Each participant gets a private dashboard at /your-campaign/dashboard/. A participant who signed up while logged in simply opens it; everyone else uses the private link from the welcome e-mail. On the dashboard they can rewrite their story, change their goal, upload or remove their photo, choose whether gift amounts are shown on their public page, set the team goal when they are a team captain, see every supporter of their page and send each one a short thank-you.

The dashboard only ever opens for the owner. A link that was changed by even one character, a link of another participant and a link that you replaced are refused, other logged-in users only see their own page, and every save is checked against the owner and a security token. If a participant loses their link or shares it by mistake, press New private link on the Participants tab: the old link stops working and you can send the new one.

Notifications and merge tags

The add-on adds two notification events to the donation form: P2P Fundraising: gift counted (sent the first time a gift counts, normally to the participant) and P2P Fundraising: thank-you from the participant (sent when the participant presses Send thank-you, normally to the supporter’s e-mail field). Each supporter can be thanked once. Use these merge tags in any notification of the two forms: {p2p_participant_name}, {p2p_participant_email}, {p2p_page_url}, {p2p_dashboard_url}, {p2p_team_name}, {p2p_raised}, {p2p_goal}, {p2p_gift_amount}, {p2p_supporter_name} and {p2p_thank_you_message}. The supporter name merge tag only shows the name when the supporter agreed; otherwise it says “A supporter”.

Managing participants, teams and gifts

  • Participants: name, address, team, amount raised, goal and number of gifts, with Hide page / Show page (a hidden page is not found and leaves the leaderboard), New private link and a CSV of the participant’s gifts.
  • Teams: rank, members, total and goal, with a CSV of the team’s gifts.
  • Gifts: every gift with its entry, participant, supporter, amount and state, the Approve and Reject buttons for offline gifts, a CSV of the whole campaign and Recalculate totals from the entries.

CSV files list the date, entry ID, campaign, participant, team, supporter, whether the name is shown publicly, amount, currency, state, whether it counts and the message. Supporter e-mail addresses are not included, and cells that a spreadsheet could read as a formula are neutralised.

Privacy

Public pages only show totals, the supporter names of people who ticked your “show my name” box, their messages, and gift amounts only when the participant chose to show them. Everyone else appears as “Anonymous supporter”. Supporter and participant e-mail addresses are never shown on any public page or on the participant dashboard. Photos must be images inside your own uploads folder. The add-on keeps its own records in four small database tables and removes them, with its settings, when you delete it; your forms, notifications and entries stay.

FAQ

Does this add-on take payments? No. Your existing Gravity Forms payment add-on takes the payment on your donation form, exactly as before. This add-on only reads the payment status of each entry to build the totals.

Does it issue receipts or handle tax or fees? No. Receipts, fees, currencies and refunds stay with your payment add-on, your Gravity Forms notifications and your organisation’s own rules.

What happens when a payment is refunded? As soon as your payment add-on marks the entry Refunded, the gift leaves the participant, team and campaign totals and the supporter list.

Can one person run in two campaigns? Yes. A logged-in user can have one page per campaign.

Does it work with recurring gifts? A subscription counts while its status is Active, with the amount your payment add-on recorded for it. Later renewals are not added on top in version 1.0.

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