Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Setup WordPress Email Tracking (Opens, Clicks, and More)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to set up WordPress email tracking on your site?

WordPress email tracking will help you see whether your users receive, open, and click your emails.

In this article, we will show you how you can easily set up WordPress email tracking to gain new insights.

How to setup WordPress email tracking (opens, clicks, and more)

Note: This article is specifically for emails sent from your WordPress site, such as order receipts, password reset emails, contact form follow-ups, and more. These are not marketing emails that you send with your email marketing service because those already have open and click tracking built-in.

Why Set Up Email Tracking in WordPress?

By tracking your WordPress site emails, you will see who opens and clicks your emails. Plus, you can get detailed reports about email deliverability.

This helps to make sure that all of your website emails are reaching your users. You can even resend emails that weren’t delivered to improve the overall user experience.

There are all kinds of reasons to track your WordPress emails:

  • See which links in your emails are clicked.
  • Make sure important membership site and online course emails are sent.
  • Check if emails being sent by a certain plugin are delivered.
  • Ensure online store order and confirmation emails get to your users.

Whether you are running a WordPress blog or small business website, WordPress will send all kinds of automatic email notifications to your users.

These can be new user registration information, password reset emails, comments, WordPress updates, and much more.

You need to make sure all of the emails sent from your website go to your user’s email inbox and not to the spam folder.

The best way to do this is by using an SMTP service provider to improve email deliverability. For more details, see our guide on how to fix WordPress not sending email issue.

With that said, let’s look at how to set up WordPress email tracking step by step.

Setting Up Email Tracking in WordPress

For this tutorial, we will be using the WP Mail SMTP plugin. It’s the best WordPress SMTP plugin on the market, used by over 3 million websites.

It lets you easily send all of your WordPress emails using an SMTP server and improves email deliverability for your WordPress website.

How WP Mail SMTP works

Step 1: Install and Set Up WP Mail SMTP

The first thing you need to do is install and activate the WP Mail SMTP plugin. For more details, see our beginner’s guide on how to install a WordPress plugin.

Upon activation, you need to go to WP Mail SMTP » Settings to configure your plugin settings.

Then, you need to enter your license key and click the ‘Verify Key’ button.

Enter WP Mail SMTP license key

You can find this information in your account on the WP Mail SMTP website.

Once you have done that, you need to scroll down the page to the ‘Mailer’ section. Here, you will choose how you want to send your WordPress emails.

The WP Mail SMTP plugin works with any SMTP service.

There are easy setup options for the most popular providers, including SendLayer (recommended),, Brevo, Gmail, Outlook, SendGrid, Amazon SES, and more.

Select an SMTP mailer

Simply click on the mailer you want to use, and there will be detailed instructions on how you can set it up properly.

The default option is using the PHP mailer. However, we don’t recommend this method since it’s not reliable.

Most WordPress hosting servers aren’t configured to send emails. So, your WordPress emails may never even reach your users or end up in their spam folders.

For more details on setting up your SMTP server, see our guide on how to use a free SMTP server to send WordPress emails.

Step 2: Enable WordPress Email Tracking

Now that you have set up the plugin, it’s time to turn on the email logging and email tracking features.

Once activated, the plugin will automatically add a tracking pixel to every email that you send from WordPress.

To do this, go to WP Mail SMTP » Settings and then click the ‘Email Log’ menu option.

After that, you will want to make sure that the ‘Enable Log’ box is checked for email records.

If it isn’t, then check the box now. This will keep a record of basic details about your emails and store them in your WordPress database.

On email log tracking

You will also need this enabled if you want to resend emails in WordPress.

Next, you will see a few more checkboxes that let you turn on additional email tracking options. We recommend checking every box so that you have more email tracking data available.

First, you can choose to save a copy of the email body. This lets you search the content of emails and also resend the entire email if it doesn’t send.

Simply check the ‘Log Email Content’ box to enable this.

Check log email content box

Next, you can save a copy of the attachments sent from your site. This can be helpful if an email isn’t sent and you need to resend the attachment.

To enable this, you need to check the ‘Save Attachments’ box.

Check save email attachments box

After that, you can track when an email is opened and which links get clicked.

Just check the ‘Open Email Tracking’ and ‘Click Link Tracking’ boxes.

Enable email opens and click tracking

Then, you can set the time period for how long you will save your email logs. If you are concerned about disk space, then you can change the setting here.

Simply select the time period from the ‘Log Retention Period’ dropdown.

Choose log retention period

Make sure to click the ‘Save Settings’ button before you leave the page.

Step 3: Check Email Tracking Analytics Data in WordPress

Once you have set up the plugin and sent out WordPress emails, you can view your email tracking and analytics data.

To do this, head over to WP Mail SMTP » Email Log in your WordPress admin panel.

View email log opens and clicks

This screen will show you basic email data, like opens and clicks, giving you a quick overview of your audience engagement.

Next, you can open up individual email logs to see in-depth email information.

Simply hover over an email and click the ‘View Log’ link, and the email details will open on a new screen.

View individual email log

This shows you when the email was sent, the email subject, if the email was opened, and more.

Resend New User Emails in WordPress

Another great feature of WP Mail SMTP is the ability to resend emails.

To do this, go back to WP Mail SMTP » Email Log to bring up your email logs.

This page shows you every email you have sent and whether or not it was delivered. The red dot means not sent, and the green dot means delivered.

To resend an email, simply click the ‘View Log’ link on the email that wasn’t sent.

View email logs for resend

This brings you to the email log screen for that individual email.

Then, click the ‘Resend’ button in the ‘Actions’ tab.

Click resend button

This brings up a popup that will confirm the email address.

Simply click the ‘Yes’ button to resend the email.

Click yes to resend email

If there are multiple failed emails, then you can use the bulk resend feature from the email log screen.

Simply check the box next to the emails that weren’t sent, then select ‘Resend’ from the dropdown list, and click the ‘Apply’ button.

Resend multiple emails

This brings up a similar popup as above.

Simply click the ‘Yes’ button to resend the email to multiple users.

Click yes to resend multiple emails

View WordPress Email Engagement Statistics

You can also view your full email tracking and reporting data by going to WP Mail SMTP » Email Reports.

This brings you to a screen with detailed statistics about your open rates and email deliverability.

View WordPress email reports

Under the main graph, you will find a breakdown of how your individual emails are performing.

You will see open rates, click-through rates, deliverability breakdowns, and more.

View WordPress email stats

We hope this article helped you learn how to set up WordPress email tracking. You may also want to see our other WordPress guides to help improve your website and email deliverability.

Best WordPress Guides for Emails

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

1 CommentLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.