Spray and pray – that used to be the name of the email marketing game. But these days, bulk email just doesn’t cut it anymore. If only there were a way to make personalized, timely, relevant marketing emails that lead to higher engagements and more user conversions.
Lucky for you, there is a way: data-driven email programs. Most businesses collect user data through transactional emails, website engagements, and email engagements. In this article, we’ll go over five tips for using the data you already have on hand to build effective data-driven email campaigns.
Data is everywhere, and your business is constantly collecting it from users. For instance, your business probably collects user data from transactional emails, emails triggered by actions like requesting a password reset or signing up for a newsletter. These metrics provide valuable insight into your user’s demographics, behavioral patterns, and geographical distribution. However, because transactional emails are often automated, they’re usually thought of as separate from planned email campaigns with specific goals and contact lists.
In the growing world of email automation, this separation can be a problem. The lines are starting to blur, and data from transactional emails can be lost or overlooked by marketing. Transactional data should coalesce seamlessly into targeting your marketing audience. In other words, email tracking for transactional emails is a bit of a blind spot when it comes to analyzing metrics.
Let’s look at how we can use all of the user data your business collects to improve your email program. Then, we’ll zone in on two ways to make your user data work for you with Mailgun.
Before we dive into our five tips for using data in your emails, let’s talk about data privacy. We’ve gone over data privacy in depth elsewhere, as well as groundbreaking legislation like the General Data Protection Regulation (GDPR), but let’s refresh our memories.
In general, data privacy protocols revolve around three key ideas:
Data user refers to the user from whom your business has collected data. As you can see, data privacy protocols focus on protecting consumers’ rights to privacy. Besides GDPR, there are other compliance standards like the California Consumer Privacy Act (CCPA) and the Health Insurance Portability and Accountability Act (HIPAA) each stipulate specific data privacy standards to protect individuals.
Depending on your business and where it operates, you’ll have to work with your Legal Team to determine the best way to meet data privacy standards and to stay on top of changing consumer protections like Apple’s Mail Protection Program (MPP).
At Mailgun, we always work to meet the highest possible privacy standards to protect our users from data privacy problems.
So what does this all mean for email? Stay on top of your email game and use data to:
We’ll go over each of these in more detail below.
Ever wanted to get more out of your data? Does your marketing team have questions on the performance of your emails? At Mailgun, we pride ourselves on our email analytics tools. Let’s look at how you can leverage data-driven metrics to improve your email campaigns with these actionable metrics:
Segmenting your mailing list is a great way to improve your email deliverability and dodge the spam filter. But what criteria should you use for segmentation?
This is where user data comes into play.
A good practice is never to purchase user data. Instead, you can encourage subscribers to share their data with you by cross-pollinating with social media. For instance, you can have an Instagram campaign that encourages users to sign up for your mailing lists. You can also implement confirmation tools like double opt-in to ensure your users want to hear from you. This also increases your open rate.
Need help getting started with segmentation? Here are three key metrics to watch:
“Dear User” just really doesn’t cut it in the subject lines these days. If your subscribers have signed up for your email service, chances are they’ve shared their first names. “Dear Taylor” is more likely to get a response than “Dear User.”
Here are five ways you can personalize emails:
Email marketing benchmarks are pieces of marketing data that help you determine the success and health of your email marketing efforts. Two pieces of data you should be aware of include:
We’ve talked about the best time to send emails, so we’ll just give you the highlights on why send time optimization is so important.
Check out Mailgun’s Send Time Optimization tool and take the guesswork out of send-time optimization.
Let’s put some of these tips into practice with Mailgun and learn how to personalize emails with user data to improve your email metrics. One thing to keep in mind; bulk email marketing campaigns with zero personalization have lower open rates, clicks, and higher complaints.
With more data-driven email solutions than ever before, you can take your data and create a triggered marketing campaign sequence. These sequences create highly personalized content for the recipient, making it more meaningful for them. Better content leads to higher engagement and triggered marketing campaigns are a great way to do that.
This practice requires a defined plan set in motion by behavior and contextual data collected from your customer channels.
The easiest way to explain a triggered email campaign is with an example. Let’s take an e-commerce platform, like a travel booking agency, and look at the amount of customer email touchpoints and opportunities that provide useful information to users:
These touchpoints are examples of information that is required for a large percentage of users on a recurring basis, and it makes sense to automate them with Transaction Emails.
Transactional Emails integrate with your application and are sent based on triggers, or click actions the user performs. Once the triggers are in place, Mailgun tracks the email at each step of the process and provides detailed meta-data for events that occur, like metrics on email sends in real-time, and changes in your email lists while supporting A/B tests so you can ensure deliverability.
Mailgun provides a way for you to upload your HTML email templates to our platform with the Templates API. This feature gives you a lot of room to store and customize your HTML email templates, and supports templates using Handlebars v 3.0 as our template engine. These engines allow us to compile your templates into JavaScript functions for lightning fast execution.
Returning to our travel booking agency example, we can use the same behavioral data to create a Transaction Email for when a potential prospect signs up with an account but doesn’t make a purchase. You can recognize from elements they interacted with that they preferred two particular cities while browsing your website. With this data, you can create a targeted email that suggests these two cities as popular travel destinations.
To do this in Mailgun, first design or import a template to be sent to re-engage with the user. The example API request below will demonstrate some code that you can integrate into your application which will store a simple HTML template.
import requests
def send_template_message():
r = requests.post(
"https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages",
auth=("api", api_key),
data={"from": "Excited User <mailgun@YOUR_DOMAIN_NAME>",
"to": "yourrecipient@domain.com",
"subject": "Hello",
"template": "vacation_template",
"o:tracking": "yes",
"h:X-Mailgun-Variables": '{"place": [{ "city": "Tokyo", "url": "https://www.mailgun.com"}, { "city": "San Francisco", "url": "https://www.mailgun.com"}]}'})
print r.json()
return
send_template_message()
When this Transactional Email is triggered, the recipient will receive an email that features destination and travel details for their preferred two cities.. Pretty cool, right? This is just a simple example, but you can build sophisticated newsletters, re-engagement campaigns, and even welcome emails tailored to your user base. Get started with the Templates API here.
With all its metrics and nuances, personalization is a daunting task to many senders, but it doesn’t have to be that way. If you take your data and plug and play with Mailgun’s transaction tools instead of spray and pray with your entire contact list, your email programs will stand out to the right people. Better emails mean better engagement, which keeps you out of the spam folder.
Did you want more tips like our Templates API example or data-driven campaign insights? Subscribe to our Newsletter so you never miss an update!
Send me the Mailjet Newsletter. I expressly agree to receive the newsletter and know that I can easily unsubscribe at any time.