全球免费使用

UTM 推广链接生成器

为 HTTP(S) 网址添加推广参数,同时保留已有的查询参数。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

UTM parameters tell analytics tools where a visit came from: which newsletter, which social post, which ad. Without them, many campaign clicks show up as "direct" or "referral" and you cannot tell what worked. This builder adds utm_source, utm_medium and utm_campaign to a web address, keeping any parameters the address already has.

Consistency matters more than the exact words. Decide on lowercase names such as "newsletter" and "email" and use them every time, because analytics treats "Email" and "email" as different mediums.

使用方法

  1. Paste the full landing page address, starting with https://.
  2. Enter the source (where the link is placed, e.g. facebook or newsletter).
  3. Enter the medium (the type of channel, e.g. email or paid_social) and the campaign name.
  4. Build the link and use it wherever you publish the campaign.

计算原理

The address is parsed with the browser’s URL parser. utm_source, utm_medium and utm_campaign are set (replacing any existing values for those keys) and other parameters are preserved. Empty fields are skipped. Addresses must be http or https without embedded user names or passwords.

URL + utm_source + utm_medium + utm_campaign

计算示例

For a Black Friday ad on Facebook pointing to https://shop.example.com/sale?ref=home, entering source facebook, medium paid_social and campaign black_friday_2026 produces https://shop.example.com/sale?ref=home&utm_source=facebook&utm_medium=paid_social&utm_campaign=black_friday_2026. The existing ref=home is kept.

示例输入和结果

?utm_source=newsletter&utm_medium=email&utm_campaign=launch

局限性

  • Source, medium and campaign only.
  • Does not shorten links.
  • Requires a full http or https address.

最后更新:

常见问题

Which mediums does Google Analytics recognize?

GA4 groups traffic into default channels using medium values such as email, cpc, paid_social, organic_social, affiliate and referral. Using these helps channel reports.

Should I add UTMs to internal links?

No. UTMs on links within your own site start new sessions and distort reports.

What about utm_term and utm_content?

They are optional and not built here; add them by hand if you test different ads or keywords.

故障排除

It asks for a complete web address.

Include https:// at the start; "example.com/page" alone is not a full address.

Visits still show as direct.

Some apps strip parameters or open links in a way that loses them. Check the landing page URL after clicking.

Campaigns are split into several rows in analytics.

Capitalization or spelling differs between links. Standardize names.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步