Objective
Understand what are UTM tags and how to properly implement them.
Table of Contents
Related Resources
<aside> π‘ This guide is meant to provide basic knowledge on a complex topic in the most concise manner. Never take anything as the gospel truth, read from multiple sources before acting.
</aside>
βββββββββββββββββ
URL generic syntax
Every URL conforms to a generic syntax that consists of a hierarchical sequence of 5Β components:
URI = scheme:[//authority]path[?querystring][#fragment]
URL = protocol:[//hostname]/path/filename[?querystring][fragment]
URL allowed characters
A URL is composed from a limited set of characters belonging to the US-ASCII character set. These characters include:
0
-9
A
-Z
, a
-z
-
,Β .
,Β _
,Β ~
URL restricted characters
Some characters are not allowed to be placed directly within URLs:
|
(vertical tab), β
(horizontal tab), β
(backspace), β
(line feed)space
,Β \\
,Β <
,Β >
,Β {
,Β }
?
,Β /
,Β #
,Β :
, &
, @
, %
, +
URL encoding
URL Encoding converts reserved, unsafe, and non-ASCII characters in URLs to a format that is universally accepted and understood by all web browsers and servers:
ββββββββββ
Urchin Tracking Module (UTM) parameters are 5 variants of URL parameters used by marketers to track the effectiveness of online marketing campaigns across traffic sources and publishing media. They were introduced by Google Analytics' predecessor Urchin and, consequently, are supported out-of-the-box by Google Analytics.
URL parameters are made of a key and a value separated by an equals sign (=) and joined by an ampersand (&). The first parameter always comes after a question mark in a URL. For example, http://example.com?product=1234&utm_source=google