How to Send Quick Access Links after Successful Gravity Forms Submission

PPWP Forms Integration extension enables you to sell password protected content via Gravity Forms. Once submitting, your customers will receive a quick access link allowing them to access protected content directly. What’s more, you have full control over access link restriction, such as expiring them after a period of time or a number of clicks automatically. This helps prevent your premium content from being shared without your permission.

In this guide, we’ll take you through generating a quick access link automatically after successful form submission.

Requirements:

From your admin dashboard, navigate to Forms and click on the form that you want to create a quick access link for.

At the top menu, hover over Settings and click on PPWP Pro. You should now see our PPWP Quick Access Links configuration now.

Step 1: Attach a protected page to a form

Select the content to attach to this form by inputting its ID.

Please make sure the content is password protected by our PPWP Pro. If not, no quick access link is generated after submission.

Step 2: Restrict link access by clicks or time

In order to prevent the customers from sharing your content, you should restrict access link usage by time or clicks. Leave these fields empty to create never-expiring links.

Set usage limit based on the product quantity

Tick this checkbox if you want to increase the usage limit based on the product quantity.

Let’s say you set the usage limit to 1. If the customer buys 2 items of the product, they can access the link twice.

Set expiration date based on product quantity

Tick this checkbox in case you intend to increase the expiration time based on the product quantity.

Let’s say you set the link expires after 1440 minutes (1 day). If the customer buys 2 items of the product, they can access the link within 2 days.

Set expiration date after the first click or usage

Tick this checkbox to start the expiration time since the first click of usage instead of right after the submission.

Let’s say you set the link expires after 1440 minutes (1 day). If the customer submits the form on Jun 01 but clicks the link a week later (Jun 08), he is still able to access the link within 1 day after that.

Once enabling this option, you must not change the password’s label, which is used for updating the expiration date right after the first click.

Note: Usage limit and Expiration time help to restrict quick access links, not protected content. Let’s say you set a link to auto-expire after 1 click. Once a customer clicks his quick access link, the others will see the 404 page when attempting to access that link.

Technically, when the customer clicks on the quick access link, our plugin will store the password as a cookie on his browser. So the customer still accesses the protected content without entering the password until the cookie expires.

Step 3: Customize the message showing the access link

Gravity Forms use merge tags to display dynamic content in the Confirmations page and Notification email.

Below is the custom merge tags supported by our plugin. You can use them to display password, quick access link as well as restriction information to your users after submission.

  1. {page_url} will be replaced with the protected content URL
  2. {password} refers to the password used to unlock the protected content
  3. {access_link} refers to the quick access link
  4. {usage_limit} will be replaced with the maximum number of times the link is clicked
  5. {expiration_time} will be replaced with the time when the link expires

Below is a sample message.

The following screenshot demonstrates how this message is shown to customers.

If you want to embed access link into anchor text, please use the format as below:

This is your <a href="{access_link}">access link</a>.

WordPress ‘Insert/edit link” function will automatically add http:// to any link if it doesn’t exist by default. It might cause our quick access links to display improperly on the user’s side. So it’s better to embed links in the Text editor.

How PPWP Forms Integration works

  • A password or quick access link is associated with one form. In other words, the number of passwords/quick access links doesn’t depend on the number of product fields.
  • In case a form contains multiple products, only the quantity of the first product is count.
  • When a form is deactivated, all associated passwords still work as normal. If you need to deactivate all associated passwords too, you can handle it under our configuration popup. Simply search all labels containing the form’s ID and then click on the “deactivate” button.
  • In case you enable Set expiration date after the first click or usage option, the expiration time will be updated after the first click under the Confirmation page, but not in the Email Notification.
Lasted updated on June 18, 2020