How to Track Email Campaign in Google Analytics
Your email service provider tells you how many people opened your newsletter and clicked a link, but then what? To see if those clicks actually lead to sales, sign-ups, or loyal readers, you need to track your email campaigns inside Google Analytics. This article will show you exactly how to connect the dots between your email efforts and your website results using a simple tracking method.
Why Track Email Campaigns in Google Analytics?
The analytics inside your email platform (like Mailchimp, Klaviyo, or HubSpot) are great for understanding email-specific metrics like open rates, click-through rates, and unsubscribe rates. But this is only half the story. The moment someone clicks a link in your email and lands on your website, your email platform’s job is done - and Google Analytics takes over.
Tracking your campaigns in GA unlocks a deeper level of insight into what your subscribers do after they click. You can answer critical business questions like:
- Which specific email campaigns are generating the most revenue? See a direct line from your "Summer Sale" email to actual Shopify sales.
- How engaged are my email subscribers on my website? Find out if people from your newsletter bounce immediately or if they browse multiple pages and spend several minutes on your site.
- Are my email campaigns driving valuable actions? Track goal completions like PDF downloads, webinar sign-ups, or demo requests that originated from an email.
- How does email performance compare to other marketing channels? See how email traffic stacks up against organic search, paid ads, or social media in driving conversions and revenue.
Without this connection, you're flying blind, relying on click rates as a proxy for success. Integrating with Google Analytics gives you the full picture of your email marketing ROI.
The Key to Precise Tracking: UTM Parameters Explained
So, how does Google Analytics know that traffic is coming from a specific email campaign? The secret sauce is something called "UTM parameters" (Urchin Tracking Module parameters). Don't let the technical name scare you, the concept is quite straightforward.
UTM parameters are short snippets of text you add to the end of a URL in your email. These bits of code act like descriptive tags that tell Google Analytics exactly where the click came from. When a user clicks your tagged link, Google Analytics reads these tags and sorts that visit into the correct marketing campaign.
There are five standard UTM parameters, but for email tracking, you’ll mainly focus on three of them:
utm_source: This identifies the source of the traffic. For email, you might use your email provider's name, likeklaviyo,mailchimp, or simply something generic likenewsletter. The key is to be consistent.utm_medium: This tells you the marketing medium. For an email campaign, this should always beemail. Keeping this consistent is vital for letting Google Analytics group all your different email campaigns together.utm_campaign: This is where you identify the specific campaign, such assummer_sale_2024orjuly_monthly_update. It's the most important tag for differentiating one email from another.
Two optional (but useful) parameters are:
utm_content: This is useful for A/B testing or distinguishing between different links within the same email. For example, you could track a hero image link (hero_image_cta) separately from a link in the footer (footer_link).utm_term: This is typically used to identify paid keywords in search campaigns, so it's rarely needed for email tracking. You can usually ignore it.
What a UTM-Tagged Link Looks Like
Let's say you want to link to your website's summer collection page (https://www.yourshop.com/summer-collection) in your monthly newsletter.
Your new, tagged URL would look something like this:
https://www.yourshop.com/summer-collection?utm_source=klaviyo&utm_medium=email&utm_campaign=2024_july_newsletterWhen someone clicks this link, Google Analytics will know they came from your email medium, your Klaviyo source, and specifically from your July 2024 newsletter campaign.
How to Create UTM-Tracked URLs
Building these URLs is simple, and there are a few ways to do it depending on your workflow and tools.
Method 1: Use Google’s Campaign URL Builder
Google offers a free and easy-to-use tool for creating tagged URLs one at a time. This is perfect when you only need to create a few links.
- Navigate to Google's GA4 Campaign URL Builder.
- Enter the landing page URL in the "Website URL" field (e.g.,
https://www.yourshop.com/). - Set a Campaign source (e.g.,
newsletter). - Set the Campaign medium to
email. - Give your campaign a unique and descriptive Campaign name (e.g.,
2024_mid_year_review).
As you fill in the fields, the tool automatically generates the full campaign URL at the bottom. You can then copy this URL and use it as the hyperlink in your email campaign.
Method 2: Use Built-in Tools in Your Email Platform
The easiest option is often found right inside your Email Service Provider (ESP). Most popular platforms like Mailchimp, Klaviyo, ActiveCampaign, and HubSpot have built-in integrations with Google Analytics.
Look for a section related to "Settings" or "Integrations" in your email platform. You'll likely find a checkbox to "Enable Google Analytics link tracking" or something similar. When enabled, your ESP will automatically add UTM parameters to all the links in your emails. It often pulls the campaign name you've already set for the email blast, which is a huge time-saver.
Just be sure to customize the default settings if needed to match your preferred naming conventions.
Method 3: Build a Simple Spreadsheet Tracker
If you're managing multiple campaigns or just love the organization of a good spreadsheet, you can create your own UTM builder in Google Sheets or Excel. This promotes consistency and gives you a historical log of all your campaigns.
Create a sheet with columns for:
- Campaign Name
- Link Destination
- Source (
newsletter) - Medium (
email) - Final Tagged URL
You can then use a simple formula like CONCATENATE to automatically build the final URL. For example:
=CONCATENATE(B2,"?utm_source=",C2,"&utm_medium=",D2,"&utm_campaign=",A2)Best Practices for Naming Your UTM Campaigns
Your data in Google Analytics is only as good as the consistency of your tagging. Messy UTMs lead to fragmented, inaccurate reports. Follow these simple rules to keep your data clean:
- Be Consistent: Choose a naming convention and stick to it. If you use
mailchimpas your source one month andMailChimpthe next, Google Analytics will treat them as two separate sources. - Use Lowercase: UTM parameters are case-sensitive. To avoid issues, always use lowercase for all your tags.
- Use Underscores or Dashes, Not Spaces: Spaces can break URLs or get encoded strangely. Use underscores (
_) or dashes (-) instead. For example, usesummer_saleinstead ofsummer sale. - Be Descriptive but Concise: A campaign name like
2024_08_blog_promotion_influencer_collabis much more useful thanemail_promo. It tells you the date, the content, and the focus of the campaign at a glance.
Where to Find Your Email Campaign Data in GA4
Once your emails with tagged links are sent and people start clicking, where do you see the results? Here's how to find your data in Google Analytics 4:
- Log into your GA4 property.
- In the left-hand navigation, go to Reports > Acquisition > Traffic acquisition.
- The default report shows data by "Session default channel group." Click the small dropdown arrow and change the primary dimension to Session source / medium.
- You should now see your email source and medium in the table (e.g.,
newsletter / email). You can see the number of users, sessions, engagement rate, conversions, and total revenue for all of your email traffic combined.
To see data for specific email campaigns:
- Click the blue "+" icon next to the primary dimension dropdown to add a secondary dimension.
- Search for and select Session campaign.
- Now, the report will break down each "Source / medium" combination by the campaign name you set in your
utm_campaigntag. This is where you can compare the performance of yourjuly_newsletterdirectly against yoursummer_sale_promo.
From here, you can analyze which campaigns drove the most engaged visitors, led to the most conversions, and generated the most revenue, giving you actionable data to improve your next send.
Final Thoughts
Consistently using UTM parameters in your emails is the key to unlocking the true performance story of your marketing efforts in Google Analytics. This simple practice connects your broadcast statistics to real-world website engagement and revenue, helping you make data-driven decisions instead of guessing what works.
Setting up UTMs and digging through Google Analytics reports is a huge first step, but it still often requires manual work every week just to see the bigger picture. We built Graphed to connect directly to all your data sources – like Google Analytics, Shopify, and your email platform – so you have one unified view. Instead of remembering naming conventions and navigating GA reports, you can just ask a simple question in plain English, like, "Which email campaigns drove the most sales in the last 30 days?" and get an instant real-time dashboard that answers your question in seconds.
Related Articles
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.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.
Is Google Analytics and Data Analytics the Same?
Is Google Analytics and data analytics the same? No — Google Analytics is one tool, data analytics is the broader discipline. Here is the difference.