How to Use Smart Tags for Dynamic Text Replacement in OptinMonster?

Do you want to display the different campaigns with dynamic content to readers?

If that is possible, then it will increase the leads for your website. In addition, OptinMonster’s smart tag feature will help you create a campaign that will dynamically change the content.

OptinMonster is the best WordPress plugin for lead generation, increasing conversion, and growing your email list. You can create an attention-grabbing campaign that will help your business to make more sales.

OptinMonster plugin has many other features like Mobile Exit Intent, Multi-Step Popups, Content Locking, Notification Bars, Spin To Win Campaign, etc. This will help you grow your email list.

In this article, I will explain how we can use the smart tag feature of OptinMonster to increase leads.

Install And Activate OptinMonster

OptinMonster is paid WordPress plugin. Therefore, if you want to use the OptinMonster, then you would have to purchase it.

OptinMonster is available in four different plans viz basic, plus, pro and growth. The smart tag feature is available in the pro and growth plan.

Once you purchased, you can activate the plugin and create the campaign.

Create Campaign

Once you purchase the OptinMonster, then log in to the OptinMonster account and open the dashboard. Click on the Create Campaign button.

You will get different types of campaigns. You can choose which is required for your website.

The smart tag feature will come in the picture in the customization part. You can use our predefined smart tags or define your own custom Smart Tags.

OptinMonster offers almost all types of customization. You can customize your campaign in all aspects.

Add Smart Tag

When you edit the campaign, you can add text and other customization fields. For example, you can add the smart tag by selecting the { } curly braces button to choose from the predefined smart tags.

You can select any smart tag as per your campaign requirement, and once you saved it, it will show you the dynamic words against the smart tag.

Choosing the smart date tag will show you the current date when you see the campaign. You can also set the default value for tags. If it can not find the actual value, it will show the default one.

Smart Tag Syntax

The smart tag is defined like this {{SMART_TAG_NAME}}

To set the default value {{date|DEFAULT_TEXT}}

The OptinMonster provides all the necessary smart tags which are required for campaigns. If you want to create your smart tag, you can, but it will require some coding efforts.

Predefined Smart Tags

Form Data Tags

  • {{form_name}}: The full name submitted in the name field
  • {{form_first_name}}: The first name submitted in the name field
  • {{form_last_name}}: The last name submitted in the name field if the last name was submitted
  • {{form_email}}: The email address submitted in the form
  • {{form_phone}}: The phone number submitted in the phone field

Date & Time Tags

  • {{day}}: The current day of the week
  • {{month}}: The current month (e.g. “January”)
  • {{year}}: The current year (e.g. “2019”)
  • {{date}}: The current date

Geographical Tags

  • {{city}}: The visitor’s city
  • {{state}}: The visitor’s current state if it exists
  • {{region}}: The visitor’s current region which would include states, provinces, etc.
  • {{region_code}}: The current region’s abbreviation (e.g. “CA” for “California”)
  • {{postal_code}}: The same as {{zip}}
  • {{zip}}: The visitor’s current zip code
  • {{country}}: The visitor’s current country
  • {{country_code}}: The current country’s abbreviation (e.g. “US” for “United States”)

Customer Journey Tags

  • {{page_url}}: The URL of the current page
  • {{referrer_url}}: The URL of the previous page
  • {{pages_visited}}: The number of pages the user has visited
  • {{time_on_site}}: The amount of time the user has spent on the site in milliseconds
  • {{visit_timestamp}}: The current timestamp
  • {{page_title}}: The title of the current page

Campaign Name Tags

{{campaign_name}}: The name of the current campaign

Here is the video tutorial for the smart tag from the OptinMonster team.


You’ll love to read


Leave a Reply

Your email address will not be published. Required fields are marked *

Free Worldwide shipping

On all orders above $50

Easy 30 days returns

30 days money back guarantee

International Warranty

Offered in the country of usage

100% Secure Checkout

PayPal / MasterCard / Visa