How do I track opens for all emails with a Tag?
Postmark allows you to assign Tags to your emails for grouping and analytics purposes. Tags make it easy to track performance or behavior for specific types of messages—such as all your “Welcome” emails, “Receipts,” or “Password Reset” messages.
Once tagging is set up, you can also enable open tracking for specific tags to monitor engagement for those message groups.
What are Tags?
A Tag is a label you can attach to each email you send through Postmark. Tags let you:
-
Group and analyze similar messages (for example, all “Welcome” emails).
-
Filter message activity in your Postmark dashboard.
-
Enable or disable open tracking for specific groups of emails.
You can assign a tag when sending via the Email API or SMTP headers.
Example tag usage:
Enabling Open Tracking for a Tag
You can enable open tracking for any specific tag using the Tag Trigger endpoint in the Postmark API.
Once activated, Postmark will automatically track opens for all messages sent with that tag.
Example request
Replace the following values:
-
YOUR-SERVER-TOKEN— your actual Server API Token. -
receipt— the name of the tag you want to enable tracking for.
Once Enabled
After enabling open tracking for a tag:
-
All future messages with that tag will automatically include open tracking.
-
You can view open statistics in your Postmark dashboard under Activity → Opens or via the Stats API.
You only need to activate this once per tag — open tracking remains active for all future emails using that tag until you disable it.