You can use email tags (also known as merge tags) to display dynamic and personalized content in your emails and success messages.
This guide shows you how to personalize your emails and success messages using merge tags.
What is a Merge Tag?
A merge tag is a placeholder that allows you to personalize email campaigns and confirmation messages. Merge tags are also known as personalization fields or personalization tags.
Noptin merge tags are usually enclosed between two opening square brackets ([[) and two closing square brackets (]]).
Each subscriber has a unique email address. When you include the [[email]] merge tag in your email campaigns, each subscriber receives an email with the merge tag replaced by the subscriber’s actual email.
Where Can You Use Merge Tags?
You can use merge tags in the success messages shown to users after they subscribe to your newsletter,
… the confirmation messages shown to subscribers who confirm their email addresses, unsubscribe from your newsletter, or re-subscribe to your newsletter,
… the double opt-in confirmation email,
Available Merge Tags
Below is a list of the available merge tags.
Displays the blog name.
Displays the blog description.
Displays the blog’s URL.
Displays the company name that you set in Noptin > Settings > Emails.
Displays a personalized link to our website.
Displays today’s date, in the format set in your WordPress settings.
Displays the current year.
Inserts a URL to unsubscribe from the newlsetter.
Inserts a URL to re-subscribe to the newsletter. Useful in cases where a subscriber unsubscribes from your newsletter and decides to resubscribe again.
Displays the subscriber’s first name.
Displays the subscriber’s last name.
Displays the subscriber’s email address.
Displays the subscriber’s avatar URL.
Displays the date which a subscriber subscribed to your blog.
Displays the subscriber’s secret confirmation key.
Replace $subscriber_field with any custom field that you’ve added to your website to display the value of that field. For example, phone in the image below.
Post Notifications Tags
These merge tags are only available when setting up a new posts notification campaign.
Displays the post’s summary.
Displays the post’s entire content.
Displays the post’s title.
Displays the featured image. Please note that this displays the entire featured image, and not just the URL.
Displays the author’s name.
Displays the author’s email address.
Displays the author’s login name.
Displays the author’s id.
Displays the date a post was published.
Displays the post’s URL.
Displays the post’s ID.
Displays a button linking to the post.
Replace $key with the actual meta key. Displays a post’s custom meta data.
These merge tags are available when sending a bulk email or notification to your WooCommerce customers.
This displays the date a customer was created (joined your store).
Displays the date a customer was last modified (updated their account details).
Shows the customer display name as set in his/her profile.
[[billing_first_name]] or [[shipping_first_name]]
Either displays the customer’s first billing or shipping name.
[[billing_last_name]] or [[shipping_last_name]]
Either displays the customer’s last billing or shipping name.
[[billing_address_1]], [[billing_address_2]], [[shipping_address_1]] or [[shipping_address_2]]
Use this to display the customer’s billing or shipping address.
[[billing_city]] or [[shipping_city]]
Displays the customer’s billing or shipping city.
[[billing_postcode]] or [[shipping_postcode]]
This displays the customer’s billing or shipping postcode.
[[billing_country]] or [[shipping_country]]
This merge tag displays the customer’s billing or shipping country.
[[billing_state]] or [[shipping_state]]
Displays the customer’s billing or shipping state / region / province.
This merge tag displays the customer’s phone number.
Displays the total amount the customer has spent on your store.
Displays the total number of orders that the customer has made on your store.
These merge tags are available when sending an email to your WordPress users.
Shows the user’s display name as set in their profile information.
This displays the date a user joined your site.
Displays the user’s nickname.
This merge tag displays the user’s description.
$user_meta_key” with an actual meta key as saved in the wp_usermeta table to display the meta value associated with the user.
Requires the Campaign Archives addon. Inserts a URL to view the campaign online.
Requires the Coupon Codes addon. Displays an automatically-generated unique coupon code.
Sections hide or show content one or more times depending on their values.
A section begins with a pound and ends with a slash. That is,
[[#subscriber_tag]] begins a “
subscriber_tag” section while
[[/ ends it.
The behavior of the section is determined by the value of the associated merge tag.
If the associated value is empty / false / 0, the content inside the merge tag won’t display. The reverse is also true.