How to Track Emails in Google Analytics
Figuring out which of your emails actually drives traffic, sign-ups, and sales can often feel like guesswork. You spend hours crafting the perfect newsletter, hit send, see open rates and click rates in your email platform, but the story ends there. This guide will walk you through setting up email tracking in Google Analytics step-by-step, using a simple but powerful technique to see exactly how your campaigns perform once people land on your site.
Why Connect Your Email Marketing to Google Analytics?
Your email service provider (like Klaviyo, Mailchimp, or HubSpot) gives you one-half of the picture: who opened your email and who clicked a link. But that's where their data stops. Google Analytics gives you the other, more critical half: what those people did after they clicked.
Without proper tracking, traffic from your carefully crafted email campaigns often gets dumped into the "Direct" traffic bucket in Google Analytics. This means GA4 has no idea where those visitors came from, lumping them in with people who typed your URL directly into their browser. It effectively makes your email efforts invisible.
When you correctly link email clicks to Analytics, you can answer essential business questions like:
- Which specific email campaign generated the most revenue?
- Do subscribers from our welcome series spend more than users from our weekly newsletter?
- How many email subscribers actually signed up for our new product waitlist?
- What's the conversion rate for our holiday sale email versus our "abandoned cart" flow?
Connecting these two platforms turns your email marketing from a standalone activity into a measurable part of your growth strategy, showing you exactly what’s working and what isn't.
The Key to Email Tracking: Understanding UTM Parameters
The magic behind tracking campaigns in Google Analytics is a little bit of text you add to the end of your website links. These bits of text are called “UTM parameters,” and they act like descriptive tags that tell Google Analytics exactly where a visitor came from.
When someone clicks a link with UTM parameters, Google Analytics reads these tags and uses them to categorize the traffic in your reports. Think of it as leaving a breadcrumb trail so you can trace your visitors' steps back to the source.
There are five standard UTM parameters, but for most email tracking, you only need to focus on three:
- utm_source: This identifies the source of the traffic. For email, you might use the name of your email platform (e.g.,
klaviyo,mailchimp) or a more general term likenewsletter. The key is to be consistent. - utm_medium: This tells you the marketing channel. For all email traffic, this should always be
email. This consistency is vital for grouping all of your email campaigns together in your reports. - utm_campaign: This is where you identify the specific email you're sending. Use a descriptive name like
may-2024-newsletterorspring-flash-sale. This allows you to differentiate the performance of one email from another.
The Optional Duo: Content and Term
While source, medium, and campaign are the workhorses, there are two other parameters you might find useful:
- utm_content: Use this to track different links within the same email. For example, if you have a big call-to-action button and a simple text link pointing to the same page, you could label them
cta-buttonandheader-text-linkto see which one gets more clicks and conversions. It’s perfect for A/B testing your email's design. - utm_term: This one is traditionally used to identify paid keywords in search campaigns. For email marketing, it's less common, but you could use it to differentiate audience segments if you were sending a promotion to different customer groups.
How to Build Your Tracking URLs (Step-by-Step)
Creating these tagged links sounds technical, but it’s quite easy once you do it once or twice. You don’t need to write them by hand. The easiest method is to use a free tool to build them for you.
Method 1: Google's Campaign URL Builder
Google provides a simple tool specifically for this purpose. Let's walk through an example for a fictional online plant shop's April newsletter.
- Go to Google’s Campaign URL Builder.
- Fill in the fields with your link information:
- As you type, the builder will generate the full campaign URL at the bottom of the page. It will look like this:
That's it! This is your trackable link. You’ll now copy and paste this new URL into your email. It might look long and a bit messy, but most modern email apps and browsers hide these parameters from the user view, so it won’t look unprofessional.
A Quick Note on Naming Consistency
Google Analytics is case-sensitive and sees Mailchimp, mailchimp, and mail-chimp as three different sources. The most common mistake new trackers make is inconsistency. To avoid messy reports, create a simple system and stick with it.
- Keep everything lowercase. It’s just easier.
- Use dashes (-) or underscores (_) instead of spaces.
spring_saleworks,spring saledoes not. - Document your system. A simple spreadsheet with your common naming conventions for
utm_sourceandutm_campaigncan save a lot of headaches later on.
Method 2: Check Your Email Platform's Built-in Tools
Before you get too comfortable with the URL builder, check if your email service provider (ESP) can do this work for you automatically. Many platforms like Mailchimp, Klaviyo, ConvertKit, and HubSpot have a built-in feature for adding UTM tags to your campaigns.
You can usually find this in your email or campaign settings under a heading like "Google Analytics Tracking" or "UTM Tagging." When enabled, the platform will automatically add the utm_source, utm_medium, and even a dynamic utm_campaign tag (often using the internal name you gave your email) to every link. This is a huge time-saver and the best way to ensure every link is tracked consistently.
Finding Your Email Data in Google Analytics 4
Okay, you’ve built your tracking URLs and sent your email. Now for the payoff: seeing the data in GA4. After people have had time to click your links (give it at least a few hours), you can find your data in the acquisition reports.
- Log in to your Google Analytics 4 property.
- On the left-hand navigation menu, go to Reports > Acquisition > Traffic acquisition.
- This report initially shows traffic grouped by the "Session default channel group". To see your campaign data, click the small dropdown arrow right above the first column of the table (where it probably says "Session default channel group") and change the dimension to Session campaign.
You'll now see a list of your campaign names - including the exact utm_campaign name you created (april-24-newsletter from our example). From here, you can see all the valuable engagement and conversion metrics tied to that specific email:
- Users and Sessions: How many people came to your site from that email.
- Engaged sessions: How many visitors actually interacted with your site.
- Conversions: How many times visitors from that email completed a key action, like a purchase or a form submission.
- Total revenue: The ultimate measure of marketing ROI. You'll see precise revenue generated from each email campaign.
Suddenly, you’re not just guessing. You can see with certainty that your april-24-newsletter drove 450 users, led to 20 sales, and generated $950 in revenue, giving you clear insight into what works.
Common Email Tracking Mistakes to Avoid
As you get started, keep an eye out for these common slip-ups. They're easy mistakes to make but can quickly compromise the quality of your data.
1. Using UTMs for Internal Links
Never, ever use a UTM link to connect pages on your own website. For example, don't create a tagged link from your homepage to your blog page. Doing so will overwrite the original traffic source. A user who came from Facebook could click the internal UTM link and Google Analytics would suddenly believe they came from your "homepage-campaign." This completely breaks attribution.
2. Forgetting to Tag All the Links
Modern emails often have multiple clickable elements pointing to the same place - a main button, a hero image, and maybe a text link in the intro. Make sure you apply the same UTM-tagged link to every single element that leads back to your website. Many people only tag the button and inadvertently let the other clicks fall into "Direct" traffic.
3. Inconsistent Naming Conventions
We mentioned it before, but it’s worth repeating. fall_sale, Fall_Sale, and fall-sale will all show up as separate campaigns in GA4, splintering your data and making it hard to see the big picture. Be robotic in your consistency.
4. Confusing Source and Medium
Remember, the medium is the general category (email), and the source is the specific platform sending the traffic (klaviyo). Keeping medium=email standard across all your emails is the only way Google Analytics will correctly bucket all this activity into your main "Email" channel report.
Final Thoughts
Getting clean, actionable data from your email marketing doesn't require complex tools or a data science degree. By consistently applying UTM parameters to your links, you bridge the gap between your email platform and Google Analytics, allowing you to see which campaigns are actually driving revenue and conversions.
Once you get comfortable analyzing this data in GA4, you might find yourself wanting an even faster way to get answers. This is where we built Graphed to simplify the entire process. Rather than digging through GA4 reports, you can connect your data sources - like Google Analytics and Klaviyo - and ask questions in plain English, like "Compare revenue from my newsletter vs my abandoned cart flow last month." We instantly build a real-time dashboard for you, making it simple for anyone on your team to see what's actually working.
Related Articles
How to Enable Data Analysis in Excel
Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.