Small SEO Tools

Why a Unicode Domain Looks Different in a Campaign Link

A campaign link can look different after an application parses it: a domain containing ü may appear in an ASCII form beginning with xn--. Check the hostname separately from the path and campaign values before deciding that the link was damaged.

This walkthrough uses the fictional address https://münchen.example/über-uns/. The examples inspect URL text and native browser serialization; they do not request that domain or establish that a landing page exists there.

Build the campaign link and read the actual output

  1. Open the UTM Campaign URL Builder and enter the fictional address in Website URL.
  2. Set Campaign source to partner, Campaign medium to email and Campaign name to city-preview.
  3. Leave the optional fields empty. Keep Lowercase all parameter values and Replace spaces with hyphens checked. The supplied values already use that form.
  4. Select Build URL and inspect the result.

The current tool returns:

https://münchen.example/über-uns/?utm_source=partner&utm_medium=email&utm_campaign=city-preview

The Unicode domain and path remain in that output. The builder adds campaign text; it does not perform the domain conversion described below. For choosing campaign values, see the separate newsletter UTM workflow.

Compare the hostname with the serialized URL

Parse the result with the browser URL API. This console example makes no network request:

const link = new URL(
  "https://münchen.example/über-uns/?utm_source=partner&utm_medium=email&utm_campaign=city-preview"
);
console.log(link.hostname); // xn--mnchen-3ya.example
console.log(link.pathname); // /%C3%BCber-uns/
console.log(link.searchParams.get("utm_campaign")); // city-preview

MDN’s hostname reference documents the URL interface and demonstrates an internationalized domain appearing in its ASCII form. In our example, münchen.example becomes xn--mnchen-3ya.example.

Node’s domain conversion documentation describes the Punycode ASCII serialization and its Unicode counterpart. The worked hostname round-trips to münchen.example in our independent check. This is a representation check, not a domain registration, ownership or destination test.

Keep domain conversion separate from path encoding

The path changes representation too, but it uses percent encoding rather than the hostname’s domain conversion:

Component Tool output text Native parsed value
Hostname münchen.example xn--mnchen-3ya.example
Path /über-uns/ /%C3%BCber-uns/
Campaign name city-preview city-preview

We executed two current Build URL workflows: one with the Unicode base and one with the ASCII hostname and percent-encoded path. The outputs differ as text. When inspected as native Chrome anchors, both have the same serialized destination:

https://xn--mnchen-3ya.example/%C3%BCber-uns/?utm_source=partner&utm_medium=email&utm_campaign=city-preview

A separate Python check confirmed this simple composed-umlaut example, the UTF-8 path encoding and all three campaign values. No anchor was activated. These observations concern URL serialization, not browser address-bar display policies or analytics attribution.

The filename path-segment guide covers encoding a name within a path. Do not apply a filename-encoding operation to an entire hostname and expect it to perform domain conversion.

Verify the intended address before sharing

Keep the original spelling from the site owner or publishing system. Removing the umlaut to make munchen.example creates a different hostname; our native control confirms that it does not equal xn--mnchen-3ya.example. Do not substitute that spelling merely to make the address look simpler.

For a real campaign, compare the hostname, path and decoded campaign values with the approved destination. Open the final link, follow any redirects and confirm the intended landing page. Successful parsing alone does not establish availability or correct routing.

Keep the approved Unicode spelling, serialized address and campaign values together. That makes a later representation change easier to distinguish from an actual change to the destination.