What is a UTM Code?

What is a UTM code in digital marketing and where did these magical tracking technologies come from? More importantly, how do you use them and why you would be crazy not to.

AFFILIATE RESOURCES

Kent Hopkins

2/23/20253 min read

In the late 1990s, during the early days of web analytics, a small company called Urchin Software Corporation was founded in San Diego by Paul Muret and Scott Crosby. The company developed Urchin, one of the first sophisticated web analytics tools that could process server log files to provide insights into website traffic and user behavior.

What made Urchin particularly innovative was its ability to handle large volumes of log file data efficiently. At a time when websites were becoming more complex and traffic was growing exponentially, Urchin's processing capabilities set it apart from competitors. The software could be installed on-premise and provided detailed analytics about website visitors, their behavior, and traffic sources.

One of Urchin's most lasting contributions to web analytics was the development of the UTM (Urchin Tracking Module) parameter system. UTM parameters were designed to help marketers track the effectiveness of their campaigns by adding specific tags to URLs. These parameters - utm_source, utm_medium, utm_campaign, utm_term, and utm_content - allowed websites to understand exactly where their traffic was coming from and which marketing efforts were most effective.

Google acquired Urchin Software Corporation in April 2005 for an undisclosed amount, though industry estimates placed the deal between $30-50 million. The acquisition was a strategic move that would fundamentally shape the future of web analytics. Google saw the potential in Urchin's technology and expertise, particularly as it aligned with their vision of making web analytics more accessible to everyone.

Following the acquisition, Google transformed Urchin's software into Google Analytics, launching it as a free service in November 2005. This was a revolutionary move that democratized web analytics - what was once an expensive enterprise tool became available to anyone with a website. The UTM parameter system was retained and standardized, becoming the de facto standard for campaign tracking across the internet.

The impact of this acquisition continues to resonate today. The UTM system that Urchin pioneered is now an essential part of digital marketing, used by millions of websites to track their marketing efforts. Every time a marketer adds campaign parameters to a URL or analyzes traffic sources in Google Analytics, they're using a system that originated with Urchin.

The shift from Urchin to Google Analytics also marked a broader transformation in web analytics - from server-log based tracking to JavaScript-based tracking. This change made analytics implementation simpler and provided more accurate user behavior data, though it also raised new questions about user privacy and data collection that continue to be debated.

Paul Muret, one of Urchin's founders, went on to become Vice President of Engineering at Google, leading the Analytics and Display Advertising products. The technology and expertise that came with the Urchin acquisition helped Google build what would become the most widely used web analytics platform in the world, with an estimated market share of over 80% among websites that use analytics tools.

The story of Urchin and its acquisition by Google represents a pivotal moment in internet history, demonstrating how a small company's innovative approach to solving technical challenges can lead to the development of tools and standards that become fundamental to how we understand and measure online behavior.


Understanding UTM Parameters

A UTM code is like a special tag you add to your link that helps track where your traffic comes from. Here's how to build one:

Basic Structure

Your affiliate link will look like this:

https://example.com/product?utm_source=platform&utm_medium=affiliate&utm_campaign=spring_sale

Step-by-Step Instructions

1. Start with Your Base Link

  • Take your regular affiliate link

  • Add a question mark (?) at the end if it doesn't have any existing parameters

  • If it already has parameters, add an ampersand (&) instead

2. Add These Essential UTM Parameters

utm_source
utm_source=platform_name
Use this to identify where you're sharing the link

Examples: instagram, youtube, blog, newsletter

Replace "platform_name" with your platform

utm_medium
utm_medium=affiliate`

This identifies the type of marketing method

For affiliate links, usually keep this as "affiliate"

utm_campaign
utm_campaign=campaign_name
Use this to identify specific promotions or efforts
Examples: summer_sale, black_friday, product_launch

3. Optional Parameters

utm_content
utm_content=banner_1
Useful when testing different versions of the same link

Examples: blue_button, sidebar, footer_link

utm_term
utm_term=running_shoes`

Helpful for paid search campaigns
Use to track specific keywords

Complete Example

Here's how to build a full UTM-tagged affiliate link:

1. Start with your affiliate link:

https://store.example.com/product123?ref=your_affiliate_id

2. Add UTM parameters:

https://store.example.com/product123?ref=your_affiliate_id&utm_source=instagram&utm_medium=affiliate&utm_campaign=summer_sale&utm_content=story_link

Tips for Success
1. Keep naming consistent

Use lowercase letters
Replace spaces with underscores
Stay consistent with your naming conventions

2. Document your UTM structure

Keep a spreadsheet of all your UTM combinations
Track which links are used where

3. Use a UTM builder

Google's Campaign URL Builder is free and reliable
Many affiliate platforms have built-in UTM builders

4. Common Mistakes to Avoid

Don't use spaces in parameter values
Don't use special characters
Don't make parameters too long
Don't use personal information in UTMs

Tracking Results

1. Connect your UTM-tagged links to your analytics platform
2. Look for the "Campaigns" or "Acquisition" section
3. Monitor which sources and campaigns perform best
4. Use this data to optimize your affiliate marketing strategy

Remember: The key to successful UTM tracking is consistency and organization. Start simple and expand your tracking as you become more comfortable with the system.