UTM Link Builder

Add UTM parameters to a campaign URL for analytics. Set the source, medium, and campaign, then copy the link while keeping its other query parameters and fragment.

Campaign details

Filled fields replace matching UTM tags. Blank fields keep tags already in the URL.

Additional UTM fields

Campaign URL

Enter a destination URL and campaign details to build a tagged link.

Paste the destination URL and fill in the campaign values. Use Copy URL to add the resulting link to a newsletter, advertisement, or social post. Try Use sample to see an example with an existing query parameter and a page fragment.

Choose the campaign parameters

Google Analytics recommends utm_source for where the visit comes from, utm_medium for the channel, and utm_campaign for the campaign name. For a newsletter, you might use newsletter, email, and spring_launch. Add a campaign ID or source platform when your reporting uses them. Use utm_term for a paid keyword and utm_content to distinguish links or creative variants. Google Analytics campaign URL guidance

Keep existing query parameters and fragments

The builder replaces a UTM tag when you fill its matching field. Blank fields preserve existing tags. For example, a URL ending in ?category=shoes#featured keeps the category and fragment while the builder adds its campaign tags. Values such as spaces and non-ASCII text are encoded in the result.

Keep campaign names consistent

Analytics can report Newsletter and newsletter as separate values. Use a consistent spelling and capitalization across links. To compare placements in the same campaign, keep the campaign name the same and vary the content value, such as header_button and footer_link.

Show more related tools