how to create a utm code in google analytics
Home » Analytics » Google Analytics » UTM Code Creation in Google Analytics

UTM Code Creation in Google Analytics

by

in

Learn how to create a UTM code in Google Analytics and drive data-driven success with ease.

Cracking the Code: UTM Parameters

What’s the Deal with UTM Codes?

UTM parameters, or Urchin Tracking Module parameters, are like little tags you add to your URLs. Think of them as secret agents that help you track how well your marketing stuff is doing. A typical UTM code might look like this: http://yourwebsite.com/your-post-title/?utm_source=google (Agency Analytics). By using these codes, you can figure out where your website traffic is coming from and see if your marketing campaigns are actually working.

You can create UTM codes by hand or use tools like Google’s URL builder. These codes include things like source, medium, campaign, term, and content. Each one gives you a different piece of the puzzle about your campaign’s performance (Agency Analytics). For more details on what each part does, check out our section on .

Why Bother with UTM Parameters?

UTM parameters are a big deal in digital marketing. They give you a clear picture of how your marketing efforts are paying off. Here’s why you should care:

  1. Track Campaign Performance: UTM parameters let you see how your campaigns are doing. By looking at the data in Google Analytics, you can find out which campaigns are bringing in the most traffic and conversions.

  2. Spot Traffic Sources: With UTM parameters, you can pinpoint exactly where your website traffic is coming from. This means you can tell if people are finding you through search engines, social media, email newsletters, or other places.

  3. Fine-Tune Your Marketing: Detailed data on campaign performance helps you tweak your strategies. You can put more effort into the channels and campaigns that are working best, making sure you get the most bang for your buck.

  4. Measure Content Success: UTM parameters help you see which pieces of content are hitting the mark. You can track which blog posts, videos, or social media updates are getting the most attention and driving traffic.

  5. Custom Reports: Google Analytics lets you create custom reports to see how your UTM codes are performing. This means you can focus on the metrics that matter most to you (Agency Analytics).

UTM ParameterWhat It Does
utm_sourceTells you where the traffic is coming from (e.g., Google, Facebook)
utm_mediumDescribes the type of traffic (e.g., email, CPC)
utm_campaignNames the campaign
utm_termShows the paid search keyword (optional)
utm_contentDifferentiates similar content or links in the same ad (optional)

By using UTM parameters, SEOs and digital marketers can get a better grip on their audience and how well their marketing is working. For more on setting up and using UTM tracking in Google Analytics, check out our guide on how to track UTM codes in Google Analytics.

Knowing why UTM parameters matter is key if you want to make the most of Google Analytics as a tool for measuring performance. For more tips and tricks, take a look at our articles on and what is a metric in Google Analytics.

Breaking Down UTM Codes

If you’re into SEO or digital marketing, knowing your UTM codes is like having a secret weapon. These little snippets of text help you track where your traffic is coming from and how your campaigns are performing. Let’s break it down.

Source

The utm_source parameter tells you where your traffic is coming from. Think of it as the “who” in your marketing story. It could be Google, Facebook, or even your email newsletter. Here are some common examples:

UTM Source ExampleDescription
googleTraffic from Google search
facebookTraffic from Facebook
newsletterTraffic from email newsletters

Want to know more? Check out sources available in Google Analytics.

Medium

The utm_medium parameter is all about the “how.” It tells you what kind of marketing channel brought the traffic. Is it organic, paid, or something else? Here are some examples:

UTM Medium ExampleDescription
cpcPaid search traffic
emailEmail marketing traffic
socialSocial media traffic

Curious about filtering data? See the options for filtering data in Google Analytics.

Campaign Name

The utm_campaign parameter is the “what.” It identifies the specific campaign that brought in the traffic. Whether it’s a spring sale or a new product launch, this parameter has you covered. Examples include:

UTM Campaign ExampleDescription
spring_saleSpring Sale Campaign
product_launchNew Product Launch Campaign
brand_awarenessBrand Awareness Campaign

Learn how to track UTM codes in Google Analytics.

Term

The utm_term parameter is mainly for paid search campaigns. It helps you track which keywords are bringing in traffic. For example, if you’re running ads for “running shoes,” you might use utm_term=running+shoes.

UTM Term ExampleDescription
running+shoesTraffic from the keyword “running shoes”
digital+marketingTraffic from the keyword “digital marketing”

Want to dive deeper? Check out what is paid search in Google Analytics.

Content

The utm_content parameter helps you differentiate between similar content or links in the same ad. It’s super useful for A/B testing. For example, you might use utm_content=logolink to track clicks from a logo link.

UTM Content ExampleDescription
logolinkTraffic from a logo link
textlinkTraffic from a text link
bannerTraffic from a banner ad

For more details, see how to see UTM parameters in Google Analytics 4.

By getting a handle on these UTM components, you can gain valuable insights into your marketing efforts, tweak your strategies, and drive better results. Happy tracking!

Making UTM Codes

Creating UTM codes is a must-have skill for anyone in digital marketing or SEO. These codes help you track how well your campaigns are doing. You can make UTM codes in two ways: by hand or with Google’s URL Builder.

Making UTM Codes by Hand

When you make UTM codes by hand, you add UTM parameters to the end of a URL. This way, you can customize them exactly how you want. It’s great for making just a few links. Here’s what you need to know:

  • utm_source: Tells you where the traffic is coming from (like Google or Facebook).
  • utm_medium: Tells you how the traffic is coming in (like email or CPC).
  • utm_campaign: Names your campaign (like summer_sale).
  • utm_term: Tells you the paid keywords (optional).
  • utm_content: Helps you tell similar ads or links apart (optional).

Example:

https://www.example.com/?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale

To make a UTM code by hand, do this:

  1. Start with your webpage’s base URL.
  2. Add a ? to start the query string.
  3. Add your UTM parameters, separating each one with an &.

For more details on UTM parameters, check out our components of UTM codes section.

Using Google’s URL Builder

Google’s URL Builder makes creating UTM codes easy. You just fill out a form, and it does the rest.

Here’s how to use it:

  1. Go to the URL Builder: Visit the Campaign URL Builder.
  2. Enter the Website URL: Type in the base URL of the page you want to track.
  3. Fill in the UTM Parameters: Enter the utm_source, utm_medium, utm_campaign, and any optional parameters like utm_term and utm_content.

Example:

ParameterValue
Website URLhttps://www.example.com
Campaign Sourcegoogle
Campaign Mediumcpc
Campaign Namesummer_sale
Campaign Termsummer_discount (optional)
Campaign Contentbanner_ad1 (optional)
  1. Generate the URL: The tool will create the URL with the UTM parameters added.

The final URL will look like this:

https://www.example.com/?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale&utm_term=summer_discount&utm_content=banner_ad1

Using Google’s URL Builder is quick and accurate, especially when you need a lot of UTM codes for big campaigns. For more advanced tracking, see our article on how to track UTM codes in Google Analytics.

By learning both manual and automated ways to make UTM codes, you can track and measure your campaigns’ success across different channels like social media, email, and PPC. For more tips on using UTM tracking, check out our section on using UTM tracking in Google Analytics.

Making the Most of UTM Tracking in Google Analytics

Checking Out UTM Performance Reports

UTM tracking in Google Analytics is like having a magnifying glass for your marketing efforts. It helps you see exactly where your website traffic is coming from, which strategies are hitting the mark, and who deserves a high-five for those conversions (Clicta Digital).

To peek at your UTM performance reports, head over to the Acquisition section in Google Analytics. Here’s what you’ll find:

  • All Traffic: A bird’s-eye view of all your traffic sources.
  • Source/Medium: A closer look at how specific sources and mediums tagged with UTM codes are doing.
  • Campaigns: Detailed data on your UTM-tagged campaigns.

These sections give you a clear picture of the traffic your UTM-tagged campaigns are pulling in, helping you tweak your strategies for better results (Agency Analytics).

Report SectionKey Data Insights
All TrafficOverview of traffic sources
Source/MediumPerformance of specific sources and mediums
CampaignsDetailed campaign performance

Want more details on tracking UTM codes in Google Analytics? Check out our guide on how to track UTM codes in Google Analytics.

Crafting Custom Reports in Google Analytics

Creating custom reports in Google Analytics is like building your own dashboard. You get to decide what data you see and how you see it, giving you a deeper dive into your campaign performance. Custom reports let you mix and match dimensions and metrics to get a detailed view of how your UTM-tagged campaigns are doing. For more on dimensions and metrics, see our articles on what is a dimension in Google Analytics and what is a metric in Google Analytics.

Here’s how to whip up a custom report:

  1. Go to Customization: Click on the Customization tab in the left-hand menu of Google Analytics.
  2. Create a New Report: Hit Custom Reports and then + New Custom Report.
  3. Set Up Your Report: Give your report a name, add the metrics you want (like Sessions, Users, Bounce Rate), and pick the dimensions (like Source, Medium, Campaign).
  4. Filter Data: Apply filters to zero in on specific UTM parameters or campaign details.

Custom reports are super handy for analyzing specific parts of your campaigns, helping you make smart decisions and fine-tune your marketing efforts. For more on filtering data, check out our article on what are the options for filtering data in Google Analytics.

By using UTM tracking and custom reports in Google Analytics, you can get a full picture of your campaign performance. This helps you double down on what’s working and ditch what’s not (Spinutech).

For more tips on setting up and using Google Analytics, explore our guides on how to set up Google Analytics 4 and how to add users to Google Analytics.