Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    UTM Parameters Explained and How to Clean a Link Before You Share It

    Updated December 2026

    Written by the Toolpuffin team. Tools in this guide are tested in the browser.

    Links you copy from a newsletter, an ad or a social app often end with a long tail such as ?utm_source=newsletter&utm_medium=email. That tail is there for measuring, not for the page. This guide explains what the parts mean, how to build such links for your own campaigns and when to remove them.

    Try the tool: URL Cleaner

    What a UTM parameter is

    UTM stands for Urchin Tracking Module. UTM parameters are variants of URL parameters that marketers use to track how well online campaigns do across traffic sources. When someone clicks a link that has them, analytics software such as Google Analytics reads them and files the visit under that campaign.

    Source: Wikipedia: UTM parameters

    ParameterMeaningExample
    utm_sourceWhere the traffic comes fromgoogle, newsletter4, billboard
    utm_mediumThe marketing mediumcpc, banner, email
    utm_campaignThe product, slogan or promotionspring_sale

    Google Analytics says that when you add parameters to a URL, you should always use utm_source, utm_medium and utm_campaign. There are more, such as utm_id and the optional utm_term and utm_content.

    Source: Google Analytics Help: URL builders

    How the link is built

    The parameters come after a question mark. Each parameter and its value is a pair with an equals sign, and the pairs are separated by an ampersand. They can be in any order. For example: https://www.example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=summer-sale

    The values are case sensitive: utm_source=google is not the same as utm_source=Google, and SpringSale and Spring_Sale are counted as two campaigns. Choose one spelling, such as all lower case, and keep to it, or your reports will split one campaign in two.

    When to remove them

    • When you share a link with a friend or put it on a page of your own, the tail adds nothing for the reader.
    • A link to your own site that still carries a campaign tail files the visit under that campaign in your analytics. Clean the link first if you do not want that.
    • Some parameters change the page itself, such as ?id=7 or ?page=2. Keep those.
    • Do not clean the links you use in your own campaigns, because they need the tags to be measured.

    The URL cleaner removes known tracking parameters and keeps the others. It only edits text: it does not open or check the link, so open the cleaned link yourself to see that it still works.

    More guides