背景
今天无意间看到一个URL,https://www.instagram.com/_n/user?username=jw3679&target_user_id=6705753558&utm_campaign=find_friend_activity_email&click_source=user&utm_source=instagram&utm_medium=email&token=nT6y2XxwNi&uid=32wfkk6&bypass=1
有几个参数是utm开头的,就是好奇这几个参数是干嘛的,下面是wiki的解释:
Urchin Tracking Module (UTM) parameters are five 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. The UTM parameters in a URL identify the campaign that refers traffic to a specific website,[[1]](https://en.wikipedia.org/wiki/UTM_parameters#cite_note-GAHelp-1) and attributes the browser's website session and the sessions after that until the campaign attribution window expires to it. The parameters can be parsed by analytics tools and used to populate reports.[2]
简单说就是:UTM共有5个参数,用来追踪在线营销活动在流量来源和发布媒体上的有效性。
顺便还了解到Urchin是google收购的一家公司,也就是形成了后来的GoogleAnalytics
5个参数
UTM parameters
There are five different UTM parameters, which may be used in any order:[1]
Parameter | Purpose | Example |
---|---|---|
utm_source | Identifies which site sent the traffic, and is a required parameter. | utm_source=google |
utm_medium | Identifies what type of link was used, such as cost per click or email. | utm_medium=cpc |
utm_campaign | Identifies a specific product promotion or strategic campaign. | utm_campaign=spring_sale |
utm_term | Identifies search terms. | utm_term=running+shoes |
utm_content | Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. It is often used for A/B testing and content-targeted ads. | utm_content=logolink or utm_content=textlink |
怎么用
通过URL传递的UTM参数可以被GoogleAnalytics和AdobeAnalytics等工具解析,用于生成分析报告。