Companies often use the same sending domains or IP addresses to send various types of messages. While this is a really convenient way to send messages, it can be hard to figure out how each discrete message type is performing. This is where the idea of tagging or categorizing your emails comes into play.
What Is A Tag?
A tag is a particular label you attach to a message to identify or categorize it. By assigning a tag, you’re able to organize your email analytics so you have access to more precise and detailed insights. The great thing about tags is that you have complete control over what categories you use. You can label an email “45729” or “Shipping Notification B” – it doesn’t matter how you organize your messages as long as it’s meaningful to you.
Tags are created on the fly with a simple
o:tag parameter. You don’t have to worry about setting up a tag in Mailgun before you use it. As soon as you send an email with a new tag, Mailgun automatically begins tracking the performance for each and every message that follows. Here are the docs you need to start adding tags to your emails.
By default, every Mailgun sending domain can have up to 5,000 active tags (with more available upon request). This allows you to track each message type and version you send through the platform. Each email can be associated with up to three different tags, giving you multiple levels of segmentation.
Tracking Your Messages with Tags
Everyone likes to measure the impact of their marketing campaigns, but transactional emails usually don’t get as much love. Many businesses are missing an opportunity by not monitoring the impact of their transactional messages or planning tests to improve performance.
Common transactional messages such as signup confirmations, password resets, and receipts are an extension of your product. So it makes sense to ensure that they’re performing at an optimal level. With tags, you can see how users are engaging with these notifications and experiment with different variations to refine the content of these messages.
Tags give you a simple way to start measuring the success of every email you send. Because the tagging system is extremely flexible, you can implement it in the way that best suits your needs. To take advantage of Mailgun’s analytics features, we recommend adding at least one tag to every message. You’ll be able to track your delivery rate, unique opens, unique clicks, and a number of other metrics for each tag in the analytics tab.
Now that you know what tags are and how they help you track performance, let’s dive into some possible ways to use them effectively.
How to Create Meaningful Segmentation with Tags
Tags make it possible to A/B test your messages, compare variants to one another, and determine the winner. Through the use of tags, you can experiment with button placement, call-to-action text, color, font sizes, or anything else you might wish to split test in your emails.
If you’d like to test multiple variants of the same type of email, you can tag the message with both a category and version identifier. With both of these tags in place, you’ll get stats that show the performance of the category as a whole as well as the performance of each variant.
For transactional messages, we suggest that you create descriptive tags such as "password-reset". When you version a message, simply add another tag, like "password-reset-ver1". This lets you review the analytics for all password resets and for the different versions you may be testing.
Tagging for Service Providers
Tagging is an especially useful tool for service providers that send millions of emails each month on behalf of their customers. Much like an email service provider (ESP), these companies have to ensure their customers are adhering to acceptable sending practices and are not in violation of the AUP.
If you’re a service provider, we recommend that you tag messages with a unique identifier specific to each customer. These tags give you the ability to report on individual customers, even when you’re having to use shared sending domains.
Better Insights with Flexible Uniqueness
As of today, we’ve introduced a more flexible uniqueness calculation so you can get more useful insights from tags. A unique open or click was previously recorded once per recipient and tag pair. In other words, if you were using the same tag across multiple messages, only a single unique open or click would have been recorded for a given recipient.
We have updated the uniqueness calculation to take into account the message identifier. This allows unique opens and clicks to be tracked on a per message basis, which means you’ll get to review tag performance with a great deal of accuracy and granularity.
Choosing A Winner
When you tag your messages correctly, it’s easy to find out which message type is performing best. Using the comparison feature in the analytics section of the dashboard, you can compare the performance of one or multiple tags and choose the version that drives the best results.
For more info on tagging, check out this section of our user manual or this part of our API reference.
Don’t yet have an account? Sign up now and send up to 10,000 emails for free every month.
If you need some help getting up and running with Mailgun, watch our training and Q&A session, Getting Started with Mailgun! In this live webcast, Chris Hammer, Mailgun's Team Lead of Customer Support, walks you through the setup process and helps you find the resources you need to send, receive, and track your messages.