Documentation

gwp_eeid

The gwp_eeid merge tag enables the retrieval of entry properties using the encrypted entry ID (eeid) URL parameter. This powerful feature allows for secure, dynamic content display based on entry data. The gwp_eeid merge tag is intended for use on pages/posts/confirmation messages that are displayed in the browser. It is not suitable for use in emails.

Usage

The basic syntax for the gwp_eeid merge tag is as follows:

{gwp_eeid:property}

Where property is the specific entry property you wish to retrieve, such as id, date_created, or any custom field ID.

Using custom url-parameters

The gwp_eeid merge tag supports other url parameters as well. It is also possible to pass multiple entries to a single page. For example, if you have this url-parameter string: ?eeid=encrypted-entry1&task=encrypted-entry2&entry=encrypted-entry3

You can access field 1 from the task entry (encrypted-entry2) by using:

{gwp_eeid_task:1}

How to pass an entry via the url

Use the gwp_encrypt modifier on an entry id to encrypt it for passing the entry via the url.

Using merge tag modifiers

It is possible to apply regular or advanced modifiers to the gwp_eeid merge tag, like it is possible with normal field merge tags.

Examples

This will output the value of the field with ID 1 for the entry that is passed by the encrypted eeid parameter in the URL:

{gwp_eeid:1}

This will output the value of the field with ID 2 for the entry that is passed by the encrypted task parameter in the URL:

{gwp_eeid_task:2}

This will output the date_created for the entry that is passed by the encrypted eeid parameter in the URL:

{gwp_eeid:date_created}

Example of how to apply an advanced modifier:

{gwp_eeid_epid:7:gwp_get_matched_entry_value form_id=93 match_id=1 return_id=13}

Frequently Asked Questions

What is the gwp_eeid merge tag and when should I use it?

The gwp_eeid merge tag allows you to safely display Gravity Forms entry data on a page, based on a secure, encrypted entry ID passed via a URL. It’s ideal for situations where you want to personalize or show form data on confirmation pages or standalone WordPress pages  without exposing raw entry IDs. This tag cannot be used in emails.

Think of it like this: you encrypt the entry ID with gwp_encrypt, send it in the URL, and gwp_eeid decodes and uses it to show specific values.

{gwp_eeid:1}

This fetches the value of Field ID 1 (e.g., a user’s name) from the entry ID provided in the ?eeid= URL parameter.

How do I pass an encrypted entry ID to a page for use with gwp_eeid?

Use the {gwp_entry:id:gwp_encrypt} modifier inside your form’s confirmation redirect URL to safely send an encrypted entry ID. Then, access its data using gwp_eeid on the next page.

Here’s a working example of a secure confirmation redirect:
https://yourdomain.com/page/?eeid={gwp_entry:id:gwp_encrypt}

On that page, display the name from Field ID 1 like this:
Hello, {gwp_eeid:1}!

This setup ensures the entry ID is never exposed, keeping your form data secure.

Can I retrieve other entry data like IP address or creation date?

Absolutely! gwp_eeid supports standard entry properties such as:

-id
-ip
-date_created
-created_by
-is_approved

These are all valid values to use in your merge tag.

Example:
Submitted from IP: {gwp_eeid:ip}

Or display the date the entry was created:
Submitted on: {gwp_eeid:date_created}

These are especially useful for approval workflows or logs.

What if my encrypted entry ID is in a different URL parameter (not eeid)?

You can specify custom URL parameters by inserting the parameter name after gwp_eeid_.
Let’s say your URL looks like this:

https://yourdomain.com/page/?entry=ENCRYPTED_ID_STRING

Then your merge tag should be:
{gwp_eeid_entry:1}

This will pull the value from Field ID 1 using the encrypted ID inside the entry= parameter.
This also works if you’re passing multiple entries on the same page using different parameters like ?eeid=…&task=…&entry=….

Can I combine gwp_eeid with other GravityWP modifiers?

Yes and it’s very powerful. You can stack gwp_eeid with other advanced modifiers like gwp_get_matched_entry_value to dynamically pull related data based on a value inside the encrypted entry.
Here’s an advanced example:

{gwp_eeid_epid:7:gwp_get_matched_entry_value form_id=93 match_id=1 return_id=13}

This does the following:

-Decrypts the epid parameter
-Gets the value from Field ID 7 in that entry
-Uses that value to find a match in Form ID 93
-Returns the value from Field ID 13 of the matched entry
-It’s a dynamic chain that makes secure data linking easy and readable.

Last updated: 21-07-2025

Advanced Merge Tagsv1.9.3

To use the functionalities described in this documentation, you'll need to get the GravityWP - Advanced Merge Tags add-on.

Read more