What Is a URL Parameter? Types, How to Add Them, and Measurement Use in GA4
Published:
Last Updated:
Category: Web Analytics
Authors:
Published:
Last Updated:
Category: Web Analytics
Authors:

Indispensable for accurately analyzing traffic from ads, SNS, and newsletters is the "URL parameter." The string like "?utm_source=..." attached to the end of a URL is exactly that, but surprisingly few people grasp its types, how to add it, and how to read the data in GA4. This article clearly explains everything from the basics of URL parameters to their types, the correct way to add them, measurement use in GA4, and cautions.
A URL parameter is a variable added to the end of a web page's address (URL). Written in the "key=value" format after "?", it serves to pass additional information to servers and analytics tools. For example, in a URL like the following, the bold part is the parameter.
unknown nodeThe first symbol connecting the URL and the parameter is always "?", and the second and subsequent parameters are joined with "&". By using this mechanism to pass source information to an analytics tool, you can accurately distinguish "where the user came from."
URL parameters are broadly divided into two types based on differences in their roles.
What you use when you want to measure the effect of marketing measures in analytics is the latter, passive parameters—and among them, the "UTM parameter."
A UTM parameter is a string added to the end of a URL to classify a visitor's traffic path. UTM stands for "Urchin Tracking Module," a name originally derived from the analytics software of Urchin, the company before its acquisition by Google. By adding it to links in ads, SNS posts, and newsletters, you can accurately track in GA4 which path a visit came from.
UTM parameters are important because without them, the traffic source can be misclassified. For example, even a user who came from a Yahoo! ad may be recognized as "yahoo / organic (organic traffic)" without parameters. With correct settings, it can be distinguished as "traffic from an ad," letting you accurately visualize the effect of each measure.
There are mainly the following five UTM parameters. GA4 officially recommends setting the three of source, medium, and campaign in particular.
The three of source, medium, and campaign are the basics of analysis. term and content are enough if you add them only when needed.
To set UTM parameters, there is the method of writing them manually and the method of using Google's free tool.
When actually assembled, it becomes a URL like the following.
unknown nodeSince manual work is prone to mistakes, using Google's free tool "Campaign URL Builder" is recommended. Just by entering the website URL and the value of each parameter into the form, a URL with parameters is automatically generated. It prevents input errors, so it is convenient especially when there are many items.
The measurement results of the parameters you set can be checked in GA4's reports and explorations. The basic steps are as follows.
Values set in utm_term or utm_content may not appear in standard reports. In that case, specify the relevant dimension in the "Explore" report to check. Since it takes time for data to be reflected right after setting, use the "Realtime" report rather than standard reports when you want to check immediately.
To measure accurately, keep the following points in mind.
A URL parameter is a variable added to the end of a URL, divided into active parameters that change the page display and passive parameters (UTM parameters) used for measurement. In traffic analysis, UTM parameters play the lead role; set the three of source, medium, and campaign as the basis, and using Campaign URL Builder lets you create them without mistakes. While checking the effect in GA4's "Traffic acquisition" report and keeping operational rules—unifying in lowercase, not using them on internal links, and not including personal information—you can accurately visualize the cost-effectiveness of your marketing measures.

Learn how to create an access analysis report that gets read—the basic "acquisition to behavior to results" structure, h...

A clear explanation of GA4's average engagement time: its definition, formula, how to view it in GA4, and tips for impro...

A beginner-friendly guide to what a DMP (Data Management Platform) is, its mechanism, the public/private types, data-use...