Grow with us: Join Postmark's new referral partner program and start earning
x

How do I enable open tracking?

You can enable open tracking for a server, a specific email, or for all emails that belong to a tag.

⚠️ Please note, individual messages sent through the API or SMTP may override the open tracking setting set within the Postmark UI. For instance, if the Server has open tracking toggled off within the Server's settings in the Postmark UI, an individual message can still be tracked with the Postmark API at time of sending if the TrackOpens field is set to 'true'.

Tracking Emails By Server

To track all email sent through a particular server:

  1. Choose the Server you wish to track emails on.
  2. Go to the Settings.
  3. Scroll to the bottom of the page, there is an option to enable Open Tracking.

Tracking a Single Email With The API

You’ll need to enable a flag called TrackOpens by adding a new property to the JSON you send to the /email endpoint. Use TrackOpens and set it to true. Setting it to false will omit open tracking from that email.

"TrackOpens": true

Note: There is no way to disable open tracking on a per-email basis when the server's "Open tracking" setting is enabled. The server's enabled "Open tracking" setting will override an individual email's TrackOpens value to always be true.

Tracking a Single Email With STMP

To enable open tracking for a single email, add a header called X-PM-TrackOpens to your email and set it to true. Setting it to false will omit open tracking from that email.

Last updated September 1st, 2023

Still need some help?

Our customer success team has your back!