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

Gravity Forms Content Personalization Premium Add-on Setup Guide

Updated 6 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate the licence
  4. Step 1: open the Personalization tab
  5. Step 2: add conditions (the “if”)
  6. Step 3: add actions (the “then”)
  7. Step 4: order the rules and set the Default
  8. Step 5: confirmations, notifications and entries
  9. How the server mode works
  10. Cached pages: the cache-safe browser mode
  11. Visitor location settings
  12. Privacy
  13. Requirements

Video walkthrough

Gravity Forms Content Personalization Setup Guide: Show, Hide & Swap Fields per Visitor
Video setup guide: Gravity Forms Content Personalization Watch on YouTube

The Gravity Forms Content Personalization Premium Add-on shows, hides or swaps parts of a Gravity Form for each visitor. You write simple rules on the form’s Personalization tab — if the visitor matches some signals, then show or hide a field or a section, or swap a label, a description, a default value, a choice set or an HTML block — and the add-on applies them on the server before the form is sent to the browser. This guide covers installing the add-on, writing rules, every signal and operator, priority and the Default fallback, merge tags for confirmations and notifications, the cache-safe browser mode, and exactly what the add-on stores.

What you need

You need Gravity Forms 2.9 or newer, WordPress 6.5 or newer and PHP 7.4 or newer, plus a Content Personalization licence key, which you activate once after installing the add-on. Nothing else is required: every signal is read from the visitor’s own request, and the add-on makes no outside calls by default.

Install and activate the licence

Upload and activate the add-on like any plugin. Then go to Forms → Settings → Personalization and enter your licence key. The same screen holds the visitor-location and visit-cookie settings described below. Rules are applied for visitors only while the licence is active.

Step 1: open the Personalization tab

Edit a form and open Settings → Personalization. Tick Personalize this form and leave the mode on Server unless the page is served from a full-page cache (see the cache-safe mode below). Select Add rule, give the rule a name you will recognise in your entries, such as “Germany” or “Newsletter readers”, and build it from conditions and actions.

https://gravityextra.com/wp-content/uploads/2026/10/gfpers-rules-scaled.png

Step 2: add conditions (the “if”)

Each condition compares one visitor signal with a value. Choose whether all conditions must match (AND) or any condition is enough (OR). The signals are:

  • Country and Region / state — two-letter country codes such as US or DE, and region codes such as CA.
  • Referrer domain — the site the visitor came from. google.com also matches news.google.com; your own site counts as no referrer.
  • URL parameter — any query parameter, such as utm_source, utm_campaign or your own ref. Enter the parameter name, then the value.
  • First visit or returning — based on a small first-party cookie (see Privacy).
  • Logged in (yes / no) and User role, such as editor or customer.
  • Device — mobile, tablet or desktop.

Operators are is, is not, is one of and is not one of (comma-separated lists), contains, does not contain, starts with, ends with, is empty and is not empty. Comparisons ignore upper and lower case. A rule with no conditions never matches.

Step 3: add actions (the “then”)

Each action targets one field of the form:

  • Show — the field is hidden for everyone else and shown only when this rule wins.
  • Hide — the field is removed when this rule wins. Hiding a section also hides the fields that follow it, up to the next section or page break.
  • Swap label and Swap description.
  • Swap default value — for list fields, enter the choice value to preselect.
  • Swap choices — for drop-down, radio, checkbox and multi-select fields: one choice per line, as Label or Label|value.
  • Swap HTML block — replaces the content of an HTML field.

Each rule also has an optional text that you can place in confirmations and notifications with a merge tag (Step 5).

Step 4: order the rules and set the Default

Rules run top to bottom, and the order is the priority. Use the arrow buttons to move a rule up or down. When several rules match, the highest one wins for each field and each aspect, while a lower rule can still change something the higher rule left alone. The Default card at the bottom applies only when no rule matches; give it its own actions and text so every visitor gets a sensible version of the form. Select Save rules when you are done.

The result for a default visitor and for a visitor who matches several rules:

https://gravityextra.com/wp-content/uploads/2026/10/gfpers-default.png

https://gravityextra.com/wp-content/uploads/2026/10/gfpers-personalized.png

Step 5: confirmations, notifications and entries

Two merge tags are added to the merge tag picker: {personalize:text} prints the text of the rule that matched (or the Default text), and {personalize:rule} prints the rule’s name. Use them in confirmation messages and notification emails to thank each visitor in the right way. The name of the matched rule is also saved with every entry as Personalization rule, which you can add as a column in the entries list and use as an entry filter.

https://gravityextra.com/wp-content/uploads/2026/10/gfpers-entries.png

How the server mode works

In the default Server mode the rules are evaluated before the form is rendered, and hidden fields are removed from the form for that visitor. Their markup never reaches the page, so there is no flash of content and nothing to find in the page source. Because a hidden field is not part of the form for that visitor, it is not validated and not saved: a hidden required field never blocks a submission. Personalization works the same way with AJAX forms, multi-page forms and validation errors. The signals of the first view are signed and carried with the form, so the referrer and URL parameters a visitor arrived with still apply on page two, after an AJAX submission, or when the form is shown again with an error.

Cached pages: the cache-safe browser mode

A full-page cache serves the same HTML to every visitor, so it cannot hold a server-personalized form. In Server mode the add-on marks the page as not cacheable for caching plugins that respect the standard DONOTCACHEPAGE flag. If you need the form page to stay cached, switch the form to Cache-safe browser mode. The server then sends the same neutral form to everyone, and the add-on’s small script evaluates the rules in the browser and applies them before the form is shown. The browser can read the referrer, URL parameters, first visit or returning and the device; rules that use country, region, login or role never match in this mode, and the editor warns you about them. The signals are sent with the submission, so validation, the saved rule name and the merge tags follow the same rules.

Visitor location settings

Under Forms → Settings → Personalization you choose how country and region are found. By default the add-on reads the visitor-location header that many hosts and CDNs already add, such as Cloudflare’s country and region headers. If no header is present, it can use a local IPv4 country database file: place a free IP-to-country CSV in the start,end,country layout at wp-content/uploads/gfpersonalize/ip-country.csv. Only if you turn it on and enter your own token, it can also ask the IPinfo Lite API; answers are cached for 12 hours under a hashed key, and visitor IP addresses are never stored. If your site is behind a proxy, tick the proxy option so the forwarded visitor address is used.

Privacy

The add-on stores only the name of the matched rule with each entry — never the country, referrer, parameters or device. The first-visit signal uses a first-party cookie named gfpersonalize_seen that holds only the value 1; it is set only on pages whose form has a first-visit rule, and you can switch it off or allow it only after consent through the WP Consent API. No outside calls are made unless you enable the IP lookup API yourself; the add-on otherwise only contacts gravityextra.com to check your licence and for updates.

Requirements

Gravity Forms 2.9 or newer, WordPress 6.5 or newer, and PHP 7.4 or newer. A Gravity Forms Content Personalization licence key is required to personalize forms for visitors.

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