WordPress email tracking

How To Enable WordPress Email Tracking (The EASY Way)

Editorial Note: We may earn a commission when you visit links on our website.

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

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 copies of email attachments sent from WordPress.

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 SendLayer, SMTP.com, or Brevo (formerly Sendinblue) for your site.

WP Mail SMTP Pro pricingWe 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.

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.

Select your SMTP mailer

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, transactional mailers can also tell you if it was Delivered.

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

Email Service Failed Sent Waiting Delivered
SendLayer
SMTP.com
Brevo
Amazon SES
Gmail / Google Workspace
Mailgun
Microsoft 365 / Outlook.com
Postmark
SendGrid
SparkPost
Zoho Mail
Other SMTP

So for the best possible visibility, we recommend one of the following:

  • SendLayer
  • SMTP.com
  • Brevo
  • Mailgun
  • Postmark
  • SparkPost

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 Mailers in WP Mail SMTP Pro
SendLayer Amazon SES
SMTP.com Microsoft 365 / Outlook.com
Brevo Zoho Mail
Google Workspace / Gmail
Mailgun
Postmark
SendGrid
SparkPost
Other SMTP

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

Once you’ve chosen your mailer, you’ll be asked to select which features you want to enable in WP Mail SMTP. Improved Email Deliverability and Email Error Tracking are required and turned on automatically.

You’ll need to make sure Detailed Email Logs is selected here.

Enabling email logs and email alerts in the WP Mail SMTP Setup Wizard

Turning on this feature will automatically turn on Complete Email Records as well. You can choose to turn on the Weekly Email Summary option if you want to receive a report with an overview of your email logs each week.

The Instant Email Alerts option will notify you if an email fails to send from your WordPress site.

Once you’ve enabled all the features you want to use, move to the next step in the Setup Wizard.

3. Enable WordPress Email Tracking

Once you’ve turned on email logging, you’ll be able to see if your emails delivered successfully. However, there are a few more options you can enable to make your logs even more useful.

In the next step of the Setup Wizard, you have the option to:

  • Store the content for all sent emails. This saves the content of your WordPress emails in your site’s database and lets you resend emails.
  • Save file attachments sent from WordPress. Enable this to save file attachments in your WordPress site’s Uploads folder.
  • Track when an email is opened. This feature lets you see when recipients open your emails.
  • Track when a link in an email is clicked. Turn on this option to see when recipients click on the links in your emails.

Configuring email log settings in the WP Mail SMTP Setup Wizard

Once you’ve configured these settings, you can finish the Setup Wizard.

If you ever need to change your email log settings, go to WP Mail SMTP » Settings.

WP Mail SMTP settings menu

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

Email log settings tab

One option that isn’t available in the Setup Wizard is the Log Retention Period, which 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 after your chosen amount of time 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, Check Out the Best WordPress 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.