🔗

UTM Link Builder

Build trackable campaign URLs with UTM source, medium, campaign, term, and content

UTM Link Builder — what it does

Build a trackable campaign URL by adding UTM source, medium, campaign, term and content parameters to a base address. Those five parameters are what let an analytics tool tell you which newsletter, post or ad actually brought a visitor, instead of lumping everything under referral traffic.

Worked example

Three base addresses tagged for an autumn newsletter. The link updates as you type; there is no Build button.

Base URLFieldsResult
https://www.example.com/autumn-sale?ref=homepagesource newsletter, medium email, campaign “Autumn Sale 2026”, content “hero banner”https://www.example.com/autumn-sale?ref=homepage&utm_source=newsletter&utm_medium=email&utm_campaign=Autumn+Sale+2026&utm_content=hero+banner
example.com/autumn-salesame fields— (status: Failed to construct 'URL': Invalid URL)
https://www.example.com/pricing?utm_source=old&utm_medium=cpc&utm_campaign=springsource newsletter, campaign “Autumn Sale 2026”; medium and content left emptyhttps://www.example.com/pricing?utm_source=newsletter&utm_campaign=Autumn+Sale+2026

Existing parameters such as ref=homepage are kept, spaces become +, and capital letters are left as typed. Term was empty in every row, so no utm_term is added.

When this tool helps

  • Tagging links in a newsletter so each campaign's traffic is identifiable in analytics.
  • Distinguishing paid, organic social and email traffic that all land on the same page.
  • Comparing two versions of an ad or a post by giving each its own content parameter.

How to use it

  1. Enter the base URL.
  2. Fill in utm_source and utm_medium — the two that matter most.
  3. Add campaign, term and content as needed.
  4. Copy the generated tracking URL.

Accuracy, limits, and good practice

  • Agree a naming convention and stick to it: analytics treats Facebook and facebook as two different sources, and the split is invisible until you look for it.
  • Source is where the traffic came from and medium is the type of channel — newsletter and email, or facebook and cpc.
  • Never tag internal links between pages of your own site; the new campaign parameters restart the session and destroy attribution.

Frequently asked questions

Which parameters are required?

Source and medium at minimum, with campaign strongly recommended. Term and content are optional refinements.

Are UTM parameters visible to visitors?

Yes, they appear in the address bar. Keep them tidy and free of anything you would not want a visitor to read.

Do they affect SEO?

Parameter URLs can create duplicate-content variants, so use tagging for campaigns rather than for internal navigation.

What happens if the base URL already contains UTM parameters?

They are overwritten by the fields on the page, and a UTM parameter whose field is empty is removed: a link carrying utm_source=old&utm_medium=cpc&utm_campaign=spring came out with the new source and campaign and no utm_medium at all. Parameters that are not UTM, such as ref or an id, are kept untouched.

Why does the output show a dash?

The base address could not be parsed. It must be a full URL starting with http:// or https://; “example.com/autumn-sale” on its own fails with “Failed to construct 'URL': Invalid URL” and the output shows “—” until you fix the address.

Related tools on this site

Everything above runs inside this page. UTM Link Builder needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

UTM 行銷連結生成器能做什麼

在基底網址上加入 UTM 的 source、medium、campaign、term 與 content 參數,組出可追蹤的行銷連結。這五個參數讓分析工具能告訴你訪客究竟來自哪一封電子報、哪一則貼文或哪一支廣告,而不是全部堆進「推薦流量」。

實際範例

三個基底網址為秋季電子報加上追蹤參數。連結會隨著輸入即時更新,沒有產生按鈕。

基底網址欄位結果連結
https://www.example.com/autumn-sale?ref=homepagesource 填 newsletter、medium 填 email、campaign 填「Autumn Sale 2026」、content 填「hero banner」https://www.example.com/autumn-sale?ref=homepage&utm_source=newsletter&utm_medium=email&utm_campaign=Autumn+Sale+2026&utm_content=hero+banner
example.com/autumn-sale同上—(狀態:Failed to construct 'URL': Invalid URL)
https://www.example.com/pricing?utm_source=old&utm_medium=cpc&utm_campaign=springsource 填 newsletter、campaign 填「Autumn Sale 2026」,medium 與 content 留空https://www.example.com/pricing?utm_source=newsletter&utm_campaign=Autumn+Sale+2026

原有的參數(如 ref=homepage)會保留,空格變成 +,大寫字母照原樣保留。term 在每一列都留空,所以不會加 utm_term。

什麼時候用得上

  • 為電子報中的連結加標籤,讓各檔活動的流量在分析中可辨識。
  • 區分同樣落在一個頁面上的付費、自然社群與郵件流量。
  • 為兩個版本的廣告或貼文各給一個 content 參數,以便比較成效。

使用步驟

  1. 輸入基底網址。
  2. 填入 utm_source 與 utm_medium,這兩個最重要。
  3. 視需要加入 campaign、term 與 content。
  4. 複製產生的追蹤網址。

精確度、限制與實務建議

  • 訂好命名規則並嚴格遵守:分析工具會把 Facebook 與 facebook 當成兩個來源,而這種切分在你去找之前完全看不出來。
  • source 是流量來源、medium 是渠道類型——例如 newsletter 與 email,或 facebook 與 cpc。
  • 絕不要為自家網站頁面之間的內部連結加標籤;新的活動參數會重啟工作階段,摧毀歸因。

常見問題

哪些參數是必填?

至少要 source 與 medium,強烈建議加上 campaign;term 與 content 是選填的細分。

訪客看得到 UTM 參數嗎?

看得到,它們會出現在網址列。請保持整潔,別放進任何不想被訪客讀到的內容。

會影響 SEO 嗎?

帶參數的網址可能形成重複內容變體,因此標籤請用於行銷活動,而非站內導覽。

基底網址本來就帶有 UTM 參數會怎樣?

會被頁面上的欄位覆蓋,欄位留空的 UTM 參數則會被移除:帶著 utm_source=old&utm_medium=cpc&utm_campaign=spring 的連結,產生後只剩新的 source 與 campaign,utm_medium 整個消失。ref 或 id 之類不是 UTM 的參數則原封不動。

為什麼產生的位置只顯示一條橫線?

基底網址無法解析。它必須是以 http:// 或 https:// 開頭的完整網址;只填「example.com/autumn-sale」會失敗並顯示「Failed to construct 'URL': Invalid URL」,在你改正網址之前都只會顯示「—」。

本站相關工具

以上步驟全部在這個頁面內完成,UTM 行銷連結生成器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。