Illustration of a person tying a small blank tag to a framed picture, with a chain of tied links leading to a large magnifying glass.

How to Write Alt Text for SEO (Plus the UTM Tags Your Links Need)

Photos with no alt text and links with no tracking are two small gaps on most small business sites. Here's how to write alt text that helps, and how to tag links so GA4 knows where leads came from.

Your site has photos of your work, your team and your shop. To Google, a lot of them are just files called IMG_4471.jpg.

And the links you share in emails and social posts? When someone clicks one, Google Analytics often can't tell where they came from.

Two small tags fix both: alt text on your images, and UTM tags on your links. Neither takes long. Most small business sites skip both.

The quick answer

  1. Give every meaningful image alt text: one short, plain sentence describing what's in it, in the context of the page.
  2. Don't stuff keywords into it. Describe the image. Add the town or service only when it's actually what the photo shows.
  3. Rename image files before you upload them: epoxy-garage-floor-evans.jpg, not IMG_4471.jpg.
  4. Add UTM tags to links you share outside your site, with at least utm_source, utm_medium and utm_campaign.
  5. Write the tags in lowercase, the same way every time, and keep them in one shared sheet.

What alt text is, and why Google cares

Alt text (short for alternative text) is a written description attached to an image in your site's code. Screen readers read it out loud to people who can't see the image, and browsers show it when the image doesn't load.

Google reads it too. Google's image SEO guidance says it uses alt text, along with computer vision and the content of the page, to understand what an image is about. The same page says alt text "improves accessibility for people who can't see images on web pages."

So one sentence does two jobs: it helps a customer using a screen reader, and it helps Google show your photos for the right searches.

How to tell if your images have alt text

Pick your three most important pages: the homepage, your main service page, and the page with your best photos.

  1. Open the page in Chrome.
  2. Right-click an image and choose Inspect (Chrome's DevTools guide).
  3. Look at the highlighted line of code for alt="...".

What you'll find usually falls into one of four groups:

  • No alt at all. Nothing after the image file name.
  • Empty alt (alt=""). Fine for decorative images, a problem for photos of your work.
  • The file name or junk: alt="IMG_4471", alt="image", alt="banner".
  • A keyword pile: alt="roofing roofer roof repair Augusta best roofer GA".

Only the first, third and fourth need fixing. Write down what you find on each page; it makes the next step quicker.

How to write alt text that helps

Describe what's in the picture, the way you'd describe it to a customer on the phone.

Google's own example is a good model. A missing alt is bad, alt="puppy" is better, and alt="Dalmatian puppy playing fetch" is best.

Here's what that looks like for a local business:

  • Weak: alt="garage"
  • Stuffed: alt="epoxy floor epoxy coating garage floor Augusta GA epoxy contractor"
  • Good: alt="Gray epoxy coating with color flakes on a two-car garage floor"
  • Good, with location, when it's true: alt="Finished epoxy garage floor in a new home in Evans"

A few rules that keep it simple:

  • One short sentence. Say what matters about the picture, then stop.
  • Skip "image of" and "photo of." Screen readers already announce that it's an image.
  • Use your service words only when they fit. Google's guidance says to avoid filling alt attributes with keywords, because it makes for a bad experience and "may cause your site to be seen as spam."
  • If the image is a link or a button, the alt text should say where it goes or what it does ("Book an inspection"), because Google treats it like the text of a link.
  • If the image has words in it (a flyer, a sign, an offer graphic), put those words in the alt text or in the page itself.
  • Decorative images (background textures, divider lines) can have empty alt text, so screen readers skip them.

Name the file before you upload it

The same Google page recommends file names that are "short, but descriptive." So rename IMG_4471.jpg to epoxy-garage-floor-evans.jpg before it goes into your website builder. Lowercase, words separated by hyphens.

It takes ten seconds per image, and it's much harder to fix later.

Where to add it

Most website builders have an alt text field on every image. Click the image in your editor or media library and look for a box labeled Alt text or Alternative text. If you can't find it, your builder's help pages will show where it lives.

Start with the images on your homepage and main service pages. Then do every new image as you upload it.

UTM links: so you know which post brought the lead

You post on Facebook, send a newsletter, update your Google Business Profile. A lead comes in.

Which one sent it?

Without UTM tags, Google Analytics often can't say. A UTM tag is a bit of text on the end of a link that labels where the click came from. The page doesn't change; your reports do.

Google's campaign URL help page says to always use three:

  • utm_source: where the click came from (newsletter, facebook, flyer).
  • utm_medium: what kind of traffic it is (email, social, print).
  • utm_campaign: what you were promoting (summer_sale).

So a newsletter link looks like this:

https://yourwebsite.com/?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale

Two details trip people up.

The medium decides the channel. GA4 sorts visits into channels using fixed rules, and Google's default channel group page says a medium of email lands in the Email channel and social in Organic Social. A made-up medium like newsletter matches no rule, so the visit ends up in "Unassigned."

Spelling counts. Google's page says parameter values are case sensitive, so Facebook and facebook show up as two different sources.

You don't have to type these by hand. Google links to a free Campaign URL Builder: paste the page, fill in the boxes, copy the link.

The full naming sheet, with templates for every channel, is in our UTM codes guide.

Why these get skipped

Neither tag shows up on the page. Your site looks exactly the same with or without them, so nobody notices they're missing.

That's also why they're quick wins. Nothing about your design changes. You're just filling in labels that were left blank.

Keeping it working in a business

  • One rule for images: no image goes on the site without a renamed file and a one-sentence description.
  • One rule for links: no link goes out in an email, post or QR code without a tag from the shared sheet.
  • One owner for the UTM sheet. Everyone else asks before inventing a new value.
  • Once a quarter, spot-check three pages for alt text and scan GA4's source / medium list for spellings that don't match the sheet.

When to get help

  • Your site has hundreds of images and no practical way to add alt text in bulk.
  • Your theme or builder doesn't offer an alt text field at all.
  • GA4 still shows most visits as Unassigned or Direct after a month of tagged links.

If you'd like a hand with it, get in touch.

Related reading

No comments yet

Managed Nerds Weekly

Get the week's posts in one email

New IT, security and SEO posts every Monday. That's it.