Noptin allows you to redirect users to another page or website after they subscribe to your newsletter.

This feature is very useful when you want to:-

  1. Display a custom “thank you” page to new subscribers.
  2. Redirect customer to a URL where they can download an e-book or other content upgrade.

You can either set a redirect URL in the sign-up form shortcode or directly in the form builder.

Set a Redirect URL in the Shortcode

If you are using the [noptin] shortcode to display your newsletter sign-up form, you can supply a redirect URL via the “redirect” attribute.

For example,

[noptin redirect="http://example.com/thank-you"]

When a user subscribes, he/she will be redirected to the URL “http://example.com/thank-you”. Please note that you have to use a full URL as relative URLs won’t work.

You can also pass in the URL to a downloadable item as shown below.

[noptin redirect="http://example.com/downloads/e-book.pdf"]

Any redirect URL passed via the shortcode will override the one that you set in the form builder.

Set a Redirect URL in the Form Builder

You have to use the form builder to set a redirect URL for forms displayed in a Gutenberg block or subscription widget.

To do this:-

First, click on a form to open it in the form builder…

edit form link

… then provide a redirect URL and save the form.

The {email} part in the above screenshot is known as a smart tag and is explained in the next section.

Using Smart Tags in Redirect URLs

You can include a smart tag such as {email} in your redirect URL. Before redirecting new subscribers, Noptin will replace the smart tag with the actual value of the tag.

This allows you to pass data about the subscriber to the redirect URL.

For example, the redirect URL “https://example.com/thank-you/?email={email}” will turn into https://example.com/thank-you/[email protected] if the subscriber passes [email protected] as their email address.

Learn more about smart tags.

Related Guides

  • Creating Subscription Forms

    Learn how to create newsletter subscription forms using our form builder

    Read More

  • Newsletter Subscription Shortcode

    Learn how you can display a newsletter subscription form in your posts, pages and text widgets using a shortcode.

    Read More

  • Newsletter Subscription Widget

    Our newsletter subscription widget allows you to add a newsletter sign-up form to your header, footer, sidebar, Elementor, or any other place that supports widgets.

    Read More

  • Newsletter Subscription Block

    If you’re using the new WordPress editor, you can use our Newsletter Block to add a subscription form to your posts and widgets.

    Read More

  • Pop-up Forms

    This guide shows you how to create a newsletter subscription pop-up form in WordPress for free. Unlike normal newsletter sign-up forms, pop-up forms have significantly higher conversion rates. In fact, the average conversion rate is 3.09%. Below is an example of an “exit-intent coupon code pop-up“. Noptin allows you to create such a system without…

    Read More

  • Sliding Forms

    Learn how to create sliding newsletter sign-up forms. Forms can slide in from the bottom left, top left, bottom right, or top right.

    Read More

  • Creating Custom Newsletter Subscription Forms

    Learn how to add a newsletter subscription checkbox to any custom form

    Read More

  • Preventing Spam Sign-Ups

    Noptin uses several methods to prevent spam signups while keeping the forms easy to use for non-spammers. If, however, you are still getting spam sign-ups, you can install any of the following plugins to fight spammers. La Sentinelle antispam This plugin uses the following techniques to block spam:- Honeypot – this adds a hidden input…

    Read More

  • Smart Tags

    You can use smart tags in your form messages, welcome emails, or subscription shortcodes to add dynamic content to the form. Noptin will detect the smart tag and replace it with the appropriate value. If the value is not known, Noptin will replace the smart tag with an empty string. Example 1: Display the subscriber’s…

    Read More

  • Unsubscribe Forms

    Noptin allows you to create a newsletter unsubscribe form so that existing subscribers can unsubscribe from your newsletter.

    Read More

  • Change subscription confirmation messages

    Check out the default newsletter subscription confirmation messages and how to edit them

    Read More