Skip to content
5pixel

Web and marketing

UTM generator

Tag the links in your campaigns, newsletters and posts so you can see in Google Analytics where visits and sales came from.

UTM generator in the client zone

You use the tool after logging in. The account is free and you get 20× link free every month.

How it works

You share links to your site in newsletters, Facebook posts, email signatures, on flyers via a QR code or on partner sites. Without UTM parameters, clicks from a newsletter, for example, often show up in Analytics as direct traffic. Google Ads handles this itself; for other sources, fill in the address and parameters and you get a ready-made link.

What UTM parameters are

UTM parameters are tags at the end of a link that tell Google Analytics where a visitor came from. The required ones are utm_source (the source, e.g. facebook), utm_medium (the type, e.g. social or email) and utm_campaign (the campaign name). The optional utm_content and utm_term tell variants apart, for example two buttons in the same email.

How to write them

Always write them the same way and in lower case. "Facebook" and "facebook" are two different sources for Analytics. Use a hyphen or underscore instead of spaces, and agree on a simple list of values that everyone in the company sticks to.

Where not to use UTMs

You do not need UTMs for Google Ads; auto-tagging is enough. Never put UTMs on internal links between pages of your own site. Analytics would start a new session and lose the real source of the visit.

Where to find the results

In Google Analytics 4, in the Traffic acquisition report. Switch the dimension to Session source/medium or Session campaign. If you also want to see sales, you need conversions set up, which the tracking check will verify.

A long link with UTM parameters is awkward in a text message or on a flyer. Shorten it with the link shortener, which also shows its own click stats, or turn it into a QR code.

How to do it

  1. 1

    Paste the address of the page the link should lead to.

  2. 2

    Fill in utm_source, utm_medium and utm_campaign in lower case.

  3. 3

    If you need to tell variants apart, add utm_content or utm_term.

  4. 4

    Copy the finished link and use it in your campaign.

  5. 5

    After a few days, check the results in Google Analytics 4.

Frequently asked questions

Which UTM parameters are required?

utm_source, utm_medium and utm_campaign. The rest are optional.

Do I need UTMs for Google Ads?

No, not if auto-tagging is switched on. Google Ads sends the data to Analytics itself.

Can I put UTMs on a link in my own site's menu?

No. UTMs on internal links overwrite the real source of the visit and spoil your statistics.

Where do I see UTMs in Google Analytics 4?

In the Traffic acquisition report, with the Session source/medium or Session campaign dimension.

How do I tag a QR code on a flyer?

Create a link with utm_medium=print and your own utm_source, for example flyer-spring, and turn it into a QR code with the QR code generator.

Why can I not see campaign sales in Analytics?

You probably do not have conversion tracking set up. Check it with the tracking check.

Missing something in UTM generator?

Suggest an improvement or a new feature. If a completely different tool would help you, tell me that too. Send your request from your free 5pixel account under Requests.

Log in and write

News by email

Tips, news and special offers by email

Choose what interests you. I only send that, and not often. You can unsubscribe with one click in every email.

By submitting, you agree to your email address being processed so that I can send you the selected news. You will confirm your subscription by email.