Skip to content

Measuring marketing · How-to

UTM parameters: tag your links so you know what brings patients

UTM parameters explained for medical practices: how to tag Google listing, ads, email and social links, a naming convention, and what never to put in a URL.

By Medfy Editorial TeamUpdated Facts verified 6 min read

UTM parameters are labels you add to the end of a link so your analytics knows where each visit came from. UTM guides are usually written for marketing teams running dozens of campaigns. A practice needs to tag about ten links: your Google listing, your ads, your newsletter and a few others. This page gives copy-ready examples, a naming convention your front desk can keep, and the one rule that matters most in healthcare: patient details never go in a URL.

People search for this constantly: "utm parameters" gets 2,900 searches a month and "utm tracking" 1,900 (Google Ads Keyword Planner data via DataForSEO, US, 12-month average to Sep 2026).

What UTM parameters are

A UTM-tagged link looks like this (on an illustrative domain):

https://www.example-practice.com/?utm_source=google&utm_medium=organic&utm_campaign=gbp-website

Everything after the ? is labels. The page loads normally; your analytics reads the labels and files the visit under that source. Calls, forms and bookings that follow can then be credited to it.

Without tags, many visits arrive as "direct" or get lumped into broad buckets. That's the gap UTM tracking closes, and it's a building block of marketing attribution and of measuring marketing ROI.

The five parameters and when to use each

Google Analytics Help lists the campaign URL parameters (opens in a new tab) it reads. The classic five:

ParameterWhat it recordsUse it
utm_sourceWhere the visit came from: google, facebook, newsletterAlways
utm_mediumThe type of channel: organic, paid-social, emailAlways
utm_campaignYour campaign or placement nameAlways
utm_contentWhich version of an ad or linkWhen you test two creatives or two buttons
utm_termThe paid keywordRarely; Google Ads handles this for you

Google says you "should always use utm_source, utm_medium, and utm_campaign," and that missing parameters produce "(not set)" values in reports. It also strongly recommends utm_id (a campaign ID) and utm_source_platform (the platform directing the traffic). Two newer ones, utm_creative_format and utm_marketing_tactic, exist but Google says they aren't currently reported in Analytics, so skip them.

Google Ads doesn't need UTM tags. Auto-tagging (opens in a new tab) adds a click ID (GCLID) to ad clicks automatically and is on by default for new accounts; Google says GA4 prioritizes auto-tagging over manual tags.

A naming convention you can keep

Write the rules down and stick them next to whoever edits links:

  • Lowercase only. Mixed capitals ("Facebook" vs "facebook") can split one source into two rows in reports.
  • Hyphens, not spaces. new-patients, not new patients.
  • Fixed source names: google, facebook, instagram, newsletter, qr, and each directory's short name.
  • Fixed mediums: organic, paid-social, email, referral, print.
  • Campaigns start with the year and month for anything time-bound: 2026-11-new-patients. Evergreen placements get a plain name: gbp-website.
  • Neutral campaign names. Describe your marketing (an offer, a month, a placement), not a patient or a condition.
  • One shared sheet listing every tagged link, where it lives and when it was created.

Illustrative example. A fictional two-provider family practice keeps a six-row sheet: listing website link, listing appointment link, the November Meta ad, the monthly newsletter, the front-desk QR card and one insurer directory. Each row has the full tagged URL and the date it went live.

Seeing UTM data in GA4

GA4 files tagged visits automatically. To find UTM data in GA4:

  1. Open Reports → Acquisition → Traffic acquisition. Google's help describes this Traffic acquisition report (opens in a new tab) as showing where new and returning users come from.
  2. Change the table's dimension to Session source / medium to see google / organic, facebook / paid-social and so on.
  3. Switch to Session campaign to compare gbp-website with gbp-appointment.
  4. Add your key events (calls, bookings) as columns to see which tagged links produced actions.

New tags can take up to a day to appear in standard reports; the Realtime report shows them sooner.

Medfy's first-party analytics attributes visits and actions (calls, forms, bookings and directions) by source on your own site; tagged Business Profile links make that attribution clearer.

What never to put in a URL

URLs travel. They're stored in analytics, server logs, browser history and, when a pixel is present, sent to ad platforms. HHS's guidance on online tracking technologies (opens in a new tab) warns that tracking tools on pages where patients schedule appointments or log in can receive protected health information, and that vendors who receive it need a Business Associate Agreement.

Never put these in a URL or a UTM value:

  • names, email addresses or phone numbers;
  • dates of birth, insurance member IDs or account numbers;
  • conditions, symptoms or reasons for visit;
  • appointment dates, times or provider-plus-patient combinations;
  • anything a patient typed into a form.

Common mistakes that leak or muddle data:

  • Forms that submit with GET, which put field values into the address bar. Forms should submit with POST.
  • Thank-you pages that echo details in the URL, like ?name=…&service=….
  • Tagging internal links between your own pages, which muddles the original source of the visit.
  • Inconsistent spelling, which splits one source into three rows.

Not sure what counts? See what counts as PHI. This is general information, not legal advice. Confirm how it applies to your practice with a qualified advisor.

A free marketing audit checks your site's tracking setup, including pixels on patient forms.

Frequently asked questions

What are UTM parameters used for?

UTM parameters are short labels added to the end of a link that tell your analytics where a visit came from, such as your Google listing, a Meta ad or your newsletter. When someone clicks the tagged link, the labels travel with the visit, so calls, forms and bookings that follow can be credited to the right source instead of showing up as direct or unknown traffic.

Yes. Without a tag, visits from your listing usually blend into ordinary Google search traffic, so you can't see how many patients the listing itself sends to your website. Add a tag such as utm_source=google, utm_medium=organic and utm_campaign=gbp-website to the website link, and a separate campaign value to the appointment link if you use one.

Do UTM parameters affect Google rankings?

They are not a ranking tool. UTM parameters only label visits for your analytics; they don't tell Google anything about the quality of your page. Use them on links you place elsewhere, such as listings, ads and emails, not on links between pages of your own site, and keep your site's canonical tags pointing to the clean version of each page.

Can UTM parameters create HIPAA problems?

They can if you put patient information in them. URLs, including their parameters, are collected by analytics tools, server logs and sometimes ad platforms. Never include names, emails, phone numbers, conditions or appointment details in a URL or a UTM value. Tag links with the source, medium and campaign only, using neutral campaign names that describe your marketing, not your patients.

Sources

  1. URL builders: Collect campaign data with custom URLs (opens in a new tab) — Google Analytics Help. Accessed October 22, 2026.
  2. Default channel group (opens in a new tab) — Google Analytics Help. Accessed October 22, 2026.
  3. About auto-tagging (opens in a new tab) — Google Ads Help. Accessed October 22, 2026.
  4. Traffic acquisition report (opens in a new tab) — Google Analytics Help. Accessed October 22, 2026.
  5. Use of Online Tracking Technologies by HIPAA Covered Entities and Business Associates (opens in a new tab) — HHS Office for Civil Rights. Accessed October 22, 2026.
  6. Guidelines for representing your business on Google (opens in a new tab) — Google Business Profile Help. Accessed October 22, 2026.
All pages

Free AI marketing audit

See how your practice shows up — free

Scores for your website, SEO, Google listing, AI visibility, social and ads, with your top five fixes. It reads public information only.