WordPress email tracking

How To Enable WordPress Email Tracking (The EASY Way)

Do you want to enable WordPress email tracking on your site?

Email tracking lets you see whether your recipients are receiving and opening your emails from WordPress.

In this article, we’ll explain how to track email opens in WordPress so you can get these extra insights.

Track Your WordPress Emails Now

Do I Need an Email Log Plugin to Track Emails?

No. If you have WP Mail SMTP Pro, you don’t need a separate email log plugin to track opens and clicks.

WP Mail SMTP lets you track all sent emails when you enable email logging.

It makes sense to use 1 plugin for WordPress SMTP and tracking so you avoid any plugin conflicts that might affect email deliverability.

How Does Email Tracking Work in WP Mail SMTP?

WP Mail SMTP adds an invisible 1×1 pixel image to the email content so that it can detect when it’s opened.

This link points back to a WP REST API endpoint on your WordPress site. In less technical terms, that means your WordPress site receives a signal when the email is opened. That’s what updates the open tracking data. The image won’t elevate your email spam score.

WP Mail SMTP click link tracking works by replacing your website links with a unique, trackable URL automatically. This allows the plugin to detect the click, and it won’t interfere with the functionality of your website.

Link tracking doesn’t replace special links (like mailto: links for email addresses).

How To Enable WordPress Email Tracking

Wondering how to track email opens in WordPress? We’ll show you the easy way to enable WordPress email tracking in the tutorial below.

  1. Install WP Mail SMTP Pro
  2. Choose an Email Provider
  3. Enable WordPress Email Tracking
  4. Check Email Tracking Analytics in WordPress

If you already have WP Mail SMTP Pro installed, you can skip right to the enable email tracking section.

1. Install WP Mail SMTP Pro

First, you’ll want to install WP Mail SMTP. To track your WordPress emails, you’ll need the Pro license or higher.

The Pro version includes email logging. It works like a ‘Sent’ folder for WordPress emails and lets you optionally save the content and the attachments.

If you want someone to set everything up for you, the Elite license is a better choice because it includes White Glove Setup. That means an expert from the WP Mail SMTP support team will set up SMTP.com or Mailgun for your site.

WP Mail SMTP Pro pricing

We took this screenshot during a sale. Click here to see if these prices are still available!

If you’re ready to install the plugin by yourself, first grab the plugin zip file from the Downloads page in your WP Mail SMTP account.

Click the orange Download WP Mail SMTP button to save a copy to your computer.

Download the WP Mail SMTP plugin

Next, open your WordPress dashboard and head to Plugins » Add New.

Add new plugin in WordPress

Now click the Upload Plugin button at the top of the screen.

Add plugin button

Click Choose File to select the plugin zip file from your Downloads folder. Then click Install Now to install it.

Install WP Mail SMTP

Once you’ve installed and activated the plugin, the WP Mail SMTP Setup Wizard will open.

If you want to come back to this tutorial later, you can head to WP Mail SMTP » Settings and click the Launch Setup Wizard button to open the Setup Wizard manually.

Launch Setup Wizard button

Now we’re ready to choose an email service provider for your WordPress site.

2. Choose an Email Provider

Before you go ahead with the Setup Wizard, it’s worth thinking about the features you want from your email service provider.

Let’s click Let’s Get Started to view the options.

Start the WP Mail SMTP setup wizard to fix Elementor form not sending email

WP Mail SMTP will display a list of email providers supported in the plugin.

Choose an email service provider for WordPress SMTP

Before choosing one, let’s define what we mean by ’email tracking’ so you can make the right choice here.

WP Mail SMTP supports 2 different types of tracking for your sent emails:

  • Open and click tracking tells you if your emails are being opened and the links are being clicked. This works with all mailers in WP Mail SMTP Pro.
  • Delivery status tracking tells you if the email was successfully sent. In addition, SMTP.com, Sendinblue, and Mailgun also tell you if it was Delivered.

To make this clear, here’s a chart to illustrate the delivery status you’ll see.

Email Service Failed Sent Waiting Delivered
Gmail/ Workspace
Zoho Mail
Amazon SES
Other SMTP

So for the best possible visibility, we recommend SMTP.com, Sendinblue, or Mailgun.

If you go with a different mailer (like Gmail or Other SMTP), your tracking link and email open tracking will still work fine. You’ll just miss out on being able to see if emails were Delivered.

All set? When you’re ready to proceed, click the mailer you want to use. You can follow our documentation to complete the connection to your chosen SMTP server or API.

Mailers available in all versions Additional Mailers in Pro
SMTP.com Microsoft Outlook
Sendinblue Amazon SES
Mailgun Zoho Mail
Gmail / Google Workspace
Other SMTP

If you have any trouble, check out this guide on how to configure your WordPress SMTP settings.

After completing the Wizard, we’re ready to turn on open and click tracking.

3. Enable WordPress Email Tracking

Great! Now WP Mail SMTP Pro is installed and the hard work is done.

From this point, enabling email tracking requires zero configuration. The plugin will automatically add a tiny tracking pixel to every HTML email sent from WordPress.

Now we’ll show you how to track email opens and clicks in WordPress.

To start, open up WP Mail SMTP » Settings.

WP Mail SMTP settings menu

Now click the Email Log tab at the top of the Settings screen to open your email logging settings.

Email log settings tab

First, you’ll want to make sure Email Log is checked. If it isn’t, click the checkbox now.

This will keep a record of the basic details about emails, which means the header information will be stored in your WordPress database.

Enable WordPress email logging

Underneath, you’ll see more logging options. Be sure to turn on one or both of these, depending on what you’d like to track:

  • Open Email Tracking tells you if the email was opened in an email client or webmail by embedding a pixel-sized image.
  • Click Link Tracking turns every web link into a trackable link.

Open and click tracking in WordPress

That’s all you need to do to configure your new email tracking tool.

Right below these settings, there are a few more things you might want to turn on so you get the best possible insights:

  • Log Email Content saves a copy of the email body. This lets you search the content of emails. You can also resend the entire email if it fails.
  • Save Attachments saves a copy of email attachments that are sent from your WordPress site. Again, this is optional. But if you have this enabled, you can resend the attachments if the email fails, so it’s super helpful to have it turned on.
  • Log Retention Period lets you choose how long sent emails should be saved. If you’re concerned about the email log taking up disk space, change this setting here.

Log Retention period

If you set any Log Retention Period other than Forever, your email logs will be deleted to avoid taking up space. Keep in mind that this also deletes any attachments associated with them.

Now click Save Settings at the bottom to enable WordPress email logging on your site.

That’s it! From this point on, every HTML email that’s sent will be tracked.

Next, we’ll put it to the test.

4. Check Email Tracking Analytics in WordPress

Now we’ve set up email tracking in WordPress, your email log is logging open and click activity using an invisible image.

To see how this works, you can send an HTML test email from WP Mail SMTP, or fill in your contact form. When you receive the email, open it up in your email application.

Now let’s check your open and click analytics in WordPress.

See Opens and Clicks in the Email Log

You can view email open and click analytics right from the Email Log page. This gives you a quick overview of audience engagement.

Head to WP Mail SMTP » Email Log in the admin dashboard.

Open the email log in WP Mail SMTP

You’ll now have 2 new columns for open and click tracking. This gives you a handy overview of email interaction at a glance.

Opens and clicks in WordPress email log

Remember: if you see N/A here, the email was text-only rather than HTML.

See Opens and Clicks in the Email Details Screen

Next, we can try opening up any email log in its own window to see the email tracking information.

This is a super convenient way to get all of the information about an email in 1 place.

Everything’s listed on the right hand side:

Open and click details in WordPress email log

Remember how we talked about the Delivered status? This email log shows us that information with a color-coded icon.

Export Email Opens and Click Data From WordPress

Finally, here’s an awesome feature that’ll really help you out if you want to analyze your opens and clicks in a 3rd party dashboard.

You can export email log data from the Tools menu in WP Mail SMTP.

WP Mail SMTP Tools menu

From the tabs across the top, click Export.

Export tab in WP mail SMTP

EML export will export a copy of the email itself (including the body and attachments if you’re logging those).

So to export the open and click data, you’ll want to choose CSV or XLSX format under Export Type.

Export email log as CSV

Now scroll down and click the checkboxes next to Opened and Clicked.

Enable export of open and click data

When you download the file, you can see open and click data in the email log export. Each one is reported in its own column.

Open and click information in email log export CSV

And that’s it! Now you know how to track email opens and clicks in WordPress emails and export the data whenever you need to!

Track Your WordPress Emails Now

Next Up, Check Out the Best Email Plugins

Do you want to improve email deliverability or send newsletters from WordPress?

We put together a list of the best email plugins that you should definitely check out!

Ready to fix your emails? Get started today with the best WordPress SMTP plugin. WP Mail SMTP Elite includes full White Glove Setup and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.