Developer tools

UTM builder

Add utm_source, utm_medium and the other UTM parameters to a URL. The existing query string and hash stay as they are.

Runs in your browser. Nothing you enter is uploaded.

About this tool

This builder adds utm_source, utm_medium, utm_campaign, utm_term and utm_content to a URL. The existing query string and hash are kept, an existing UTM parameter is replaced with the new value, and clearing a field removes that parameter. Values are URL-encoded for you.

Which UTM parameters do I need?
Most analytics tools expect at least utm_source, utm_medium and utm_campaign. utm_term and utm_content are optional and usually mark a keyword or a specific link.
Why does it say the URL is invalid?
The URL has to be absolute, including the scheme, for example https://example.com/page. A bare domain or a relative path is not accepted.