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

Gravity Forms Event Carpool Matching Setup Guide

Updated 10 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. How it differs from other tools
  5. Build the sign-up form
  6. How the matching works
  7. The personal carpool page
  8. The organiser board
  9. Reminders
  10. Data and privacy
  11. Troubleshooting

Video walkthrough

Gravity Forms Event Carpool Matching: Drivers & Riders Matched by Area and Time
Video setup guide: Gravity Forms Event Carpool Matching Watch on YouTube

The Gravity Forms Event Carpool Matching add-on helps people who are going to the same event share a car. Drivers with spare seats and riders who need a lift sign up on one Gravity Forms form. Each person gets a private page with suggestions of people going their way, ranked by area, departure time, free seats and preferences. A rider asks a driver for a seat, or a driver offers one; the other person accepts or declines. Contact details are shared only when both have accepted, and seats are held so a car is never overbooked. This guide covers installing the add-on, building the sign-up form, how the matching works, the personal page, the organiser board, reminders and how the data is deleted after the event.

What you need

You need Gravity Forms 2.9 or newer and WordPress 6.5 or newer on PHP 7.4 or newer. The sign-up form is a normal Gravity Forms form, so you can style it, add consent checkboxes, conditional logic or extra questions as you like. Reminders and the clean-up after the event run on WP-Cron, the scheduler built into WordPress, once an hour.

Opening the organiser board needs the Gravity Forms view entries capability. Proposing or cancelling a match, adding existing entries and deleting past trips also need edit entries. The carpool settings of a form need edit forms. Administrators have all three.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Carpool, enter your GravityExtra licence key and press Activate License.
  • Optional, on the same screen: choose a page for the personal carpool links (see below), and the sender name and address of the carpool e-mails.

Without an active licence, new form entries are still saved but they do not become carpool sign-ups, the personal pages say they are not available, and the organiser board only shows a note. When the licence is active again, the Add existing entries button on the board turns the entries that came in meanwhile into sign-ups.

How it differs from other tools

Our Random Pairing & Group Draw add-on draws random pairs or groups from a list of people, for a gift exchange or a buddy program: chance decides. Our Event Rosters add-on lets an organiser assign people to rooms, tables or buses: the admin decides. Booking and appointment add-ons sell or reserve time slots. Carpool Matching is different from all three: it suggests matches by where people start, when they leave and how many seats are free, and the two people themselves decide whether to share a ride. The organiser can help with a manual suggestion, but contact details are only shared when both people say yes.

The add-on is a matching and messaging tool. It does not check drivers, cars, insurance or licences, and it does not plan routes. Participants arrange the trip directly with each other and are responsible for their own travel. Tell your participants this on the form, for example in the form description or in a consent checkbox.

Build the sign-up form

Create a form with these fields. Field types matter only where noted; labels are up to you.

  • Name (a Name field, or a text field) and E-mail. A Phone field is optional but useful.
  • Role: a Radio Buttons or Drop Down field. The add-on fills its choices: “I can drive and have seats to offer” and “I need a ride”.
  • Trip: a Drop Down or Radio Buttons field. The add-on fills it with your upcoming trips.
  • Which way (optional): a Radio Buttons field. The add-on fills it with Outbound (to the event), Return (home from the event) and Both ways. Without it, every sign-up is for the outbound leg.
  • Postcode and Town: text fields, or the ZIP / postal code and city of an Address field.
  • Coordinates (optional): the GravityExtra OSM Map Picker field, or any field that holds “latitude, longitude”.
  • Departure window: an earliest and a latest time for the outbound leg, and again for the return leg if you offer one. Time fields work best; text such as 08:30 or 8:30 am is understood too.
  • Seats: a Number field. Drivers enter the seats they offer, riders the seats they need (1 to 8).
  • Preferences (optional): a Checkboxes field. The add-on fills it with “Smoke-free car” and “Women-only car”.
  • Gender (optional): only needed if you offer the women-only option.
The carpool sign-up form: name, e-mail, phone, driver or rider, trip, outbound, return or both ways, postcode, town, departure window, seats and preferences
The sign-up form. Role, Trip, Which way and Preferences are filled in by the add-on; the rest are ordinary Gravity Forms fields.

Then open the form’s Settings → Carpool tab, switch Carpool matching on and fill in:

  • Trips: one per line as Name | YYYY-MM-DD, for example Summer Festival | 2027-06-12. The date is the day of the event. Trips whose date has passed are no longer offered on the form.
  • Form fields: pick the field for each item above.
  • Value meaning “woman”: the choice of your gender field that counts for the women-only option (default “Female”).
  • Largest distance, postcode characters, reminder hours and clean-up days, explained below.
  • Send the sign-up e-mail (on by default) and Also delete the form entries when the carpool data is deleted (off by default).

Every new entry now becomes a carpool sign-up with one leg per direction chosen. The person gets an e-mail with the link to their personal carpool page. You can also put the link in the form confirmation with the merge tag {carpool_page_url}.

How the matching works

All matching runs in the add-on’s own code on your server. No map, routing or geocoding service is called, and no address is sent anywhere. A driver and a rider can be matched when all of these are true:

  • Same trip and same leg: the outbound leg is matched with outbound, return with return.
  • Area: when both people have coordinates, the straight-line distance between them is at most the largest distance you set (default 10 km). Otherwise the postcodes are compared: UK-style postcodes match on the part before the space (SW1A 1AA and SW1A 2BB are in the same area, SW1A and SW19 are not); other postcodes match when the first characters agree (3 by default, so 90210 and 90211 match). If the postcodes do not match, the same town also counts. Town names are compared without accents, punctuation, a leading “The”, and with “Saint” and “St.” treated the same.
  • Time: the two departure windows overlap. A person who leaves the time empty is treated as flexible.
  • Seats: the driver still has at least the seats the rider needs.
  • Preferences: a rider who ticked “Smoke-free car” only sees drivers who ticked it too. Anyone who ticked “Women-only car” is only matched with women.

Each possible match gets a score from 0 to 100: 60% for the area (same postcode, same postcode area, distance or same town, from best to least) and 40% for how well the times fit. Suggestions are shown best first. A pair that already has an open request, an accepted ride or a declined request is not suggested again.

The personal carpool page

The link in the sign-up e-mail opens the person’s own page. It is signed with a secret key, so it only opens that person’s page; changing a character or the number in the link shows “This link is not valid”. The link contains no name, e-mail address or location. The page is not cached, not indexed by search engines and sends no referrer to other sites.

A rider's personal carpool page: three drivers going her way ranked by score, with their area, departure window, free seats and why they match
A rider's personal page: drivers going her way, best match first. Names show as first name and initial until both people accept.

For each leg the page shows the person’s departure window and seats, their matches with a status, and the people going their way. Before a match is accepted, the other person appears only as first name and last initial, their town and postcode area (for example “Oxford, OX4”, never the full postcode or the coordinates), their time window and seats, with the reasons they match such as “Same postcode area”, “About 2 km apart” or “Times overlap by 15 min”.

  • A rider presses Request a seat; a driver presses Offer a seat. The other person gets an e-mail with the same limited details and a link to their page.
  • The other person presses Accept or Decline. A declined request is not suggested again and the asker is told, without contact details.
  • When both have accepted, the seats are held, the match shows the other person’s full name, e-mail address, phone number and area, and both get a “Carpool confirmed” e-mail with the same details.
  • Cancel this ride releases the seats and tells the other person. Withdraw takes back a request that has not been answered. Cancel my carpool sign-up releases everything the person holds.
An accepted shared ride on the rider's page, now showing the driver's full name, e-mail address, phone number and area
After both people accepted: the contact details appear on both pages and in both e-mails, with a button to cancel and release the seat.

Seats are held with a single database update that only succeeds while enough seats are free. If several riders are accepted for the last seat at the same moment, exactly one gets it and the others see “Sorry, there are no seats left in this car”. When a rider has a ride on a leg, their other open requests on that leg are closed.

To show the page inside your theme, create a page with the [gf_carpool_page] shortcode and choose it in Forms → Settings → Carpool. Without a page, links open a simple stand-alone page on your home URL.

The organiser board

Forms → Carpool lists the forms that use carpool matching. Each form’s board has a tab per trip and leg with:

  • Totals: drivers, seats offered, seats held, seats left, riders matched, riders waiting and open requests.
  • Riders: contact details, area, time window, seats, status (with the driver once matched), the three best drivers for riders who are still waiting, and a Propose box with every driver who has enough free seats. Best matches carry a star.
  • Drivers: contact details, area, time window, seats offered, held and left.
  • Matches: driver, rider, seats, who asked and the status, with a Cancel button for open and accepted matches.
The organiser board: seat totals for one trip and leg, riders matched or waiting with their best drivers and a Propose button, drivers with seats held and left, and every match
The organiser board for one trip and leg: seat totals, riders still waiting with their best drivers, a manual match, the drivers and every match.

A proposal from the organiser can look past the area and the time window (for example a neighbour who leaves a little later), but never past free seats or preferences. Both people get an e-mail and must accept on their page before their contact details are shared. Export CSV downloads every leg with trip, date, role, contact details, area, window, seats, status and who the person is matched with; a cell that a spreadsheet could run as a formula gets a leading apostrophe. Add existing entries turns entries that have no sign-up yet into sign-ups. A “Carpool” link also appears in the form list.

Reminders

Once an hour the add-on looks for accepted rides that leave within the reminder window (24 hours by default; 0 switches reminders off) and sends both people one reminder with the trip and the other person’s contact details. Each ride is reminded once, even if two scheduled runs overlap. The departure time is the trip date at the start of the driver’s departure window, in your site’s time zone.

Data and privacy

Sign-ups, legs and matches live in three tables of your own WordPress database. Once an hour, the data of every trip whose date is more than the clean-up days in the past (30 by default) is deleted: sign-ups, legs and matches. The personal links of those people stop working. If you ticked Also delete the form entries, the form entries of those people are deleted too; otherwise they stay in Gravity Forms. Delete past trips now on the board deletes the data of all trips whose date has passed straight away. Deleting a form entry permanently also removes its sign-up and cancels its rides, telling the other people.

Contact details and exact locations are never on a public page, never in a URL and never shown to someone who has not accepted a ride with that person. The add-on makes no outside connection apart from the GravityExtra licence and update checks. Uninstalling the add-on through Gravity Forms removes its settings, its tables and its scheduled event; your forms and entries stay.

Troubleshooting

  • No suggestions: check that both people chose the same trip and leg, that their postcodes or towns are filled in, and that their time windows overlap. A driver with no free seats left is not suggested.
  • The Role, Trip or Which way field shows the wrong choices: make sure the right fields are picked in the form’s Carpool settings and that the trip date is today or later.
  • Women-only matches never appear: map the gender field and check that the value meaning “woman” matches its choice exactly.
  • Reminders arrive late: WP-Cron runs when your site has visitors. On quiet sites, set up a real server cron job that calls wp-cron.php.
  • “This link is not valid”: the link was cut off or changed, or the trip’s data was already deleted after the event.

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