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 email on the success message.

Thank you! We've sent a confirmation email to {email}.

Example 2: Show the number of current subscribers on your subscription form.

[[noptin before_fields="<p>Join {subscriber_count} other subscribers already on our newsletter</p>"]]

The following smart tags are available for you to use.

Smart TagReplaced With
{cookie name='my_cookie' default='Default Value'}Data from a cookie.
{email}The email address of the current visitor (if known).
{current_url}The URL of the current post/page.
{current_path}The path of the current post/page.
{date}The current date. Example: November 4, 2021.
{time}The current time. Example: 10:41 am.
{language}The current language. Example: en_US.
{ip}The visitor’s IP address. Example: 8:8:8:8.
{subscriber field='first_name' default='there'}A custom field’s value of the current subscriber (if known).
{user property='first_name' default='Jon' }The property of the currently logged-in user.
{post property='ID' default='0' }Property of the current page or post.
{response}The form response (error or success messages).
{data key='UTM_SOURCE' default='Default Source'}Data from the URL or a submitted form.
{subscriber_count}Replaced with the total number of subscribers

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. 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 writing any…

    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

  • 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

  • Creating Custom Newsletter Subscription Forms

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

    Read More

  • Redirect Users after Subscription

    Learn how to redirect users to a different page, website or downloadable file after they subscribe to you newsletter.

    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