Free, runs in your browser

UTM link builder for Google Analytics 4.

Add campaign tags to any link so Google Analytics shows where each visit came from: an Instagram bio, a Meta ad, a newsletter or a printed QR code. The tool shows which GA4 channel the link should land in, warns about common mistakes and keeps a list of your links on this device only.

utm-builder v1.0 by media87

Your own page. Existing UTM tags in it are replaced; other parameters and #anchors are kept.

Optional fields: content, term, ID, platform
Fill in the page link, source, medium and campaign.
    Open link

    My saved links

      No saved links yet. Saved links stay in this browser only.

      Nothing you type is sent to Media87. The saved list uses your browser's local storage and disappears if you clear site data.

      How it works

      What each UTM tag means

      Google's GA4 help page says you should always use utm_source, utm_medium and utm_campaign. The other tags are optional. GA4 reads them from the address of the page a visitor lands on.

      TagWhat it answersExample
      utm_sourceWhich site, app or place sent the visit?instagram, newsletter, flyer
      utm_mediumWhat type of channel was it? GA4 uses this most when it sorts visits into channels.social, paid_social, email
      utm_campaignWhich campaign, offer or promotion?ramadan_offer_2027
      utm_contentWhich ad, button or creative inside the campaign?video_ad_a, top_button
      utm_termWhich paid keyword?dubai_dentist
      utm_idA campaign ID, useful if you import cost data into GA4.spring_01
      utm_source_platformThe buying or management platform that sent the traffic.manual

      Source: Google Analytics Help, Collect campaign data with custom URLs (checked 23 October 2026). Google also lists utm_creative_format and utm_marketing_tactic, but says GA4 does not currently report them, so this tool leaves them out.

      Illustration of one link splitting into coloured tags that flow into the bars of an analytics chart

      Which medium puts the visit in which channel

      GA4 sorts tagged visits into its default channel groups using your source and medium. Pick the medium for the channel you want to see in your reports. These are the main rules for manually tagged links; matching ignores upper and lower case.

      Medium you useGA4 channelNotes
      social, social-media, smOrganic SocialAlso when the source is a known social site, such as instagram or facebook.
      paid_social, cpc, ppc, any medium starting with paidPaid Social, Paid Search, Paid Video or Paid OtherDepends on the source: a social site gives Paid Social, a search engine Paid Search, a video site Paid Video. Otherwise Paid Other.
      email, e-mailEmailAlso when the source is email.
      display, banner, cpmDisplay
      referral, app, linkReferral
      affiliateAffiliates
      organicOrganic Search
      smsSMSAlso when the source is sms.
      Anything containing videoOrganic VideoUnless the medium is also a paid one.
      Anything else, for example qr_code or printUnassignedFine if you plan to report on the source or campaign, or set up a custom channel group in GA4.

      Source: Google Analytics Help, [GA4] Default channel group (checked 23 October 2026). GA4 recognises social, search, video and shopping sites from a long list that Google publishes as a spreadsheet; this tool checks a short sample of common ones, so treat its channel as an estimate and confirm it in your GA4 reports.

      Three rules that keep reports clean

      1. One spelling per value. GA4 treats Instagram and instagram as different sources, so keep everything lowercase. 2. Tag links that point to your site from somewhere else: ads, posts, emails, QR codes. Do not tag links between your own pages. 3. Keep a list. Save every link you create, so the whole team uses the same names. If you would rather have someone set up the tracking and run the ads, see paid ads management or our Meta Ads and Google Ads services.

      Questions

      UTM link questions

      A normal link to your website with extra tags added after a question mark, for example ?utm_source=instagram&utm_medium=social&utm_campaign=bio. The page opens as usual, and Google Analytics records where the visit came from.

      Google recommends always using utm_source, utm_medium and utm_campaign. Missing values show as "(not set)" in GA4 reports. utm_content, utm_term, utm_id and utm_source_platform are optional.

      Yes. GA4 reports utm_source=Google and utm_source=google as two different sources. Channel grouping ignores case, but your source, medium and campaign reports do not. Keep the "tidy values" option on to make everything lowercase.

      Usually not. When your Google Ads account is linked to GA4 with auto-tagging turned on, Google Ads adds its own click identifier (gclid) and GA4 gets the campaign details from it. Use manual UTM tags for other platforms, such as Meta, TikTok, email and print.

      GA4's default channels have no rule for print or QR codes, so a medium such as qr_code ends up as Unassigned. That is fine: filter your reports by the source or campaign instead, or create a custom channel group in GA4 with an "Offline" channel.

      No. The link and QR code are created by JavaScript inside your browser. Links you save are kept in your browser's local storage on this device and are never sent to Media87.

      After the tracking

      Tagged links tell you what works.
      Then you can spend more on it.

      Media87 runs Google and Meta ad campaigns for UAE businesses from AED 1,800 a month, with tracking set up before the first ad goes live.

      See ads management

      More free tools: all Media87 tools