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.
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.
- Install WP Mail SMTP Pro
- Choose an Email Provider
- Enable WordPress Email Tracking
- 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.
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.
Next, open your WordPress dashboard and head to Plugins » Add New.
Now click the Upload Plugin button at the top of the screen.
Click Choose File to select the plugin zip file from your Downloads folder. Then click Install Now to install it.
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.
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.
WP Mail SMTP will display a list of email providers supported in the plugin.
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.
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|
|Gmail / Google Workspace|
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.
Now click the Email Log tab at the top of the Settings screen to open your email logging settings.
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.
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.
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.
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.
You’ll now have 2 new columns for open and click tracking. This gives you a handy overview of email interaction at a glance.
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:
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.
From the tabs across the top, click Export.
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.
Now scroll down and click the checkboxes next to Opened and Clicked.
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.
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!
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.