How to Set Up Marketing Campaign Tracking in Google Analytics

How to Set Up Marketing Campaign Tracking in Google Analytics

Google Analytics doesn’t automatically label all of your incoming traffic the way you’d expect. Email clicks show up as direct. Social media posts get lumped together by platform. Traffic from PDFs or offline documents? Invisible — unless you tell Google Analytics where to look.

UTM parameters fix this. They’re small tags you add to the end of any URL so Google Analytics knows exactly which campaign sent each visitor. In this guide, I’ll walk you through how to build UTM-tagged campaign URLs and where to find the reports.

In This Article:

Google Analytics Doesn’t Automatically Track Marketing Campaigns

If you want to optimize your marketing campaigns and boost conversions, you need to track them properly.

While Google Analytics can automatically identify the source and other parameters of most online marketing campaigns, it often doesn’t categorize certain campaigns the way you’d like. That makes it harder to optimize those campaigns and measure your success.

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

Here are some common scenarios where Google Analytics can’t identify your campaigns:

  • Email marketing: Google Analytics often fails to identify clicks from your email newsletters.
  • Offline documents: Traffic from lead magnets like PDF eBooks gets misattributed as direct traffic.
  • Mobile apps: Analytics can’t identify the exact traffic source if it originates from mobile social media apps.
  • Social media posts: Analytics groups all traffic from each social platform into one bucket (facebook.com, linkedin.com, etc.), so you can’t see how much traffic came from each individual post.

What’s the Solution to Track Marketing Campaigns?

To track any marketing campaign in Google Analytics — paid ads, guest posts, social media campaigns, or any other type — you can build a custom URL with UTM parameters.

UTM parameters, also known as UTM codes, are short text snippets added to the end of a URL that help Google Analytics track your marketing campaigns.

For example, if you want to track the performance of your email campaigns, you can build a custom URL and include it in your emails:

http://www.example.com?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

When subscribers click that link, Google Analytics identifies the campaign and tracks its performance. Using UTM parameters, you can track any campaign and get a detailed breakdown of how each one performs.

How to Track Marketing Campaigns in Google Analytics

Here’s how to build custom campaign URLs with UTM codes using MonsterInsights — the best Google Analytics plugin for WordPress.

new mi overview graph

MonsterInsights sets up advanced tracking like eCommerce tracking, file download tracking, forms tracking, and more — and includes a built-in URL builder and Campaigns report so you never have to leave WordPress to check performance.

Step 1: Install MonsterInsights on Your WordPress Site

Install and activate the MonsterInsights plugin on your WordPress site.

monsterinsights wordpress plugin

Once the plugin is active, connect it to Google Analytics using the setup wizard — no code editing, no developer required. For help on this step, see how to properly connect Google Analytics to MonsterInsights.

Step 2: Create Campaign URLs With UTM Codes

Go to Insights » Tools and open the URL Builder tab. Enter your website URL and campaign details. Only the Website URL and Campaign Source are required — everything else is optional but useful.

custom url builder
  • Website URL: The page you want visitors to land on.
  • Campaign Source (utm_source): Where the traffic is coming from — e.g., Facebook, newsletter, google.
  • Campaign Medium (utm_medium): The type of marketing channel — e.g., email, cpc, social.
  • Campaign Name (utm_campaign): The specific campaign name — e.g., spring_sale, reengagement_june.
  • Campaign Term (utm_term): Optional. For paid search campaigns, tag the keyword your ad targets.
  • Campaign Content (utm_content): Optional. Use this for A/B testing — it differentiates ads or links that point to the same URL.
  • Use Fragment: Builds UTM codes using fragments instead of query strings (e.g., example.com#utm_source=google). Not recommended for most sites.

Pro Tip: Use descriptive utm_campaign names from the start. What looks clear today (“campaign2”) becomes meaningless in three months when you’re comparing quarter-over-quarter performance. Names like “spring_sale_2026_email” are much easier to work with later.

Scroll to the bottom of the URL builder to get your finished URL. If you want clean, short links, MonsterInsights integrates with Pretty Links to shorten them.

url builder link

Once you have the campaign URL, add it to your emails, social posts, ads, or any other marketing material. Google Analytics will start tracking clicks automatically.

How to Find Your Marketing Campaigns Report

In MonsterInsights, go to Reports » Traffic » Campaigns to see which campaigns drove traffic and which performed best:

MonsterInsights Campaigns report for marketing campaign tracking

In Google Analytics 4, go to Acquisition » Traffic Acquisition and change the dimension dropdown to Session campaign:

GA4 campaigns report

To add Source and Medium alongside your campaign names, click the blue plus icon next to the dropdown and select Session source/medium:

Email campaign reporting in GA4

Campaign Naming Matters

The utm_campaign value you set is exactly what appears in your reports. Use consistent, descriptive names like “spring_sale_2026” instead of “campaign1” — you’ll thank yourself when comparing campaigns six months from now.

Beginners’ Guide to UTM Parameters →

Understanding Campaign Analytics for Small Businesses

Campaign analytics means tracking, analyzing, and interpreting data from your marketing campaigns. It gives you a clear picture of how your marketing efforts are performing so you can make decisions based on data, not gut feeling.

For small businesses, understanding marketing performance isn’t optional — it’s how you figure out what to scale and what to cut. Campaign analytics provides that clarity by surfacing data on customer behavior, conversion rates, and overall campaign effectiveness.

Why Small Businesses Need Campaign Analytics

Small businesses often operate with limited budgets and resources, making it essential to maximize the effectiveness of every campaign. Tracking and analyzing campaigns can be challenging without the right tools — but campaign analytics makes it manageable by turning raw data into decisions you can act on.

  • Better budget allocation: Campaign analytics shows you which marketing channels deliver the best results. That insight helps you put your budget behind what actually works.
  • Targeted marketing: By understanding which campaigns resonate with your audience, you can tailor your messaging to meet customer needs — which leads to better conversion rates.
  • Improved ROI: Tracking campaign returns lets you identify high-performing campaigns and stop investing in ineffective ones. That’s how businesses improve their overall ROI over time.

A thorough campaign analysis includes evaluating metrics like click-through rates, conversion rates, engagement levels, and return on investment. By identifying what worked and what didn’t, you can refine future campaigns and optimize how you allocate your marketing budget.

Use Charlie Chat to Compare Campaigns Across Channels

Once your campaigns are tagged and running, you have performance data spread across email, social, paid, and more. The challenge is comparing all of it without jumping between GA4 reports for each channel.

Charlie Chat solves that. It’s MonsterInsights’ AI assistant, built into your WordPress dashboard. Instead of filtering by campaign name in one tab and adjusting the date range in another, you can ask questions like “Which campaign had the highest conversion rate this month?” or “How did my spring sale email compare to my paid ads?” and get a direct answer.

Charlie Chat - compare marketing campaigns

Charlie Chat pulls directly from your connected GA4 data, so the answers reflect your actual campaign performance — not generic benchmarks. It’s the fastest way to get from “I wonder which channel is working” to a real answer.

Charlie Chat is available on all MonsterInsights plans, including the free Lite plan. Find it in the bottom-right corner of your Reports screen.

Track Every Campaign in One Place

Build UTM campaign URLs, view your Campaigns report inside WordPress, and use Charlie Chat to ask cross-channel questions about your marketing performance — all included on every plan.

Get MonsterInsights Today →

Video Walkthrough

Subscribe to our YouTube Channel

Marketing Campaign Tracking FAQ

How do I track my marketing campaign in Google Analytics?

To track marketing campaigns in Google Analytics, build custom campaign URLs with UTM parameters. Add UTM tags to the links in your emails, social posts, ads, or any other campaign materials. When someone clicks, Google Analytics reads those tags and records the campaign source, medium, and name separately — so you can see exactly how each campaign performed.

Why is marketing campaign tracking important?

Without campaign tracking, Google Analytics can’t tell the difference between a visitor who came from your email newsletter and one who found you through a paid ad. Tracking helps you identify which channels drive the most traffic and conversions, so you can optimize your marketing spend and improve your overall ROI.

How do I create URLs with UTM parameters?

Use a campaign URL builder tool — MonsterInsights has one built into the WordPress dashboard under Insights » Tools » URL Builder. Enter your destination URL and campaign details, and the tool generates the full tracked URL for you. You can also manually append UTM parameters: add ?utm_source=source&utm_medium=medium&utm_campaign=campaign to the end of any URL.

Where do I find my campaign reports in Google Analytics?

In Google Analytics 4, go to Acquisition » Traffic Acquisition and change the dimension dropdown to “Session campaign.” In MonsterInsights, go to Reports » Traffic » Campaigns for a summary view directly inside your WordPress dashboard.

How do you keep track of campaigns over time?

Google Analytics stores campaign data over time, so you can always go back and compare historical performance. The key is establishing a consistent naming convention for your utm_campaign values from the start — that way, related campaigns are easy to identify and group when you’re reviewing performance months later.

Can I track email campaigns with UTM parameters?

Yes. Add UTM parameters to every link in your email newsletters and campaigns. Use utm_medium=email so that traffic is correctly identified as email — not lumped into “direct.” For a detailed walkthrough, see How to Set Up Google Analytics Email Tracking.

That’s it! I hope this guide helped you set up marketing campaign tracking in Google Analytics. Here are a few related articles worth bookmarking:

Follow us on Twitter, Facebook, and YouTube for more Google Analytics tips.

How useful was this post?

Click on the stars to rate

Average rating 0.0/5

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.