Campaigns

How to Track UTM Campaigns in WordPress

Live Traffic Analytics

How to Track UTM Campaigns in WordPress

When you share the same page in a newsletter, on LinkedIn and in a social post, a plain referrer report cannot always tell you which message brought people in. UTM tags solve that by labeling each link, and you can track UTM campaigns in WordPress without leaving your dashboard. This guide covers what each UTM field means, how to build tagged links, and how to read the campaign report sensibly.

What UTM tags are and why they help

UTM tags are short labels added to the end of a URL. When someone clicks a tagged link, the labels travel with the visit, so your analytics tool can group that visit under the campaign you defined. The page itself does not change.

Without tags, you rely on the referrer, which is the site the visitor came from. Referrers are useful, but they have gaps. Email apps often send no referrer at all, so newsletter clicks can look like direct visits. And if you post the same link in two places on one network, the referrer cannot tell them apart. Tags fill those gaps because you decide the labels.

The five UTM fields

  • utm_source: where the link lives, such as linkedin, x or newsletter.
  • utm_medium: the type of channel, such as social, email or cpc.
  • utm_campaign: the name of the effort, such as spring-launch.
  • utm_content: optional, used to tell versions apart, such as header-button versus footer-link.
  • utm_term: optional, often used for a keyword or audience label in paid campaigns.

Source, medium and campaign are the core three. Content and term are there when you need finer detail.

Examples for common channels

Here is how a single page, https://example.com/webinar/, might be tagged for four different channels.

  • LinkedIn post: ?utm_source=linkedin&utm_medium=social&utm_campaign=webinar-may
  • X post: ?utm_source=x&utm_medium=social&utm_campaign=webinar-may
  • Newsletter: ?utm_source=newsletter&utm_medium=email&utm_campaign=webinar-may&utm_content=top-banner
  • Paid campaign: ?utm_source=google&utm_medium=cpc&utm_campaign=webinar-may&utm_term=wordpress-webinar

Notice that the campaign name stays the same across all four. That lets you see the total effort and then compare each channel inside it.

Step 1: Open Traffic Analytics → Campaign / UTM

Install Live Traffic Analytics from WordPress.org if you have not already. Then, in your WordPress sidebar, go to Traffic Analytics and click the Campaign / UTM tab.

This tab has two jobs. It helps you build tagged links, and it reports on visits that arrived through tagged links. Both are included in the free plugin. You can read a summary on the campaign features section.

Typing UTM parameters by hand is where most mistakes happen: a missing &, a typo in a source name, or mixed capital letters. The built-in campaign link builder avoids that.

  1. Paste the page URL you want to promote.
  2. Fill in source, medium and campaign. Add content and term if you need them.
  3. Copy the generated link.
  4. Use that exact link in your post, email or ad.

Create one link per placement. If a newsletter has a banner and a text link, give them different utm_content values so you can see which one people used.

Tip: Keep a simple spreadsheet of every tagged link you create, with the date and where it was used. When you review results a month later, you will know exactly what each label means.

Step 3: Read the campaign report

Once tagged visits start arriving, the Campaign / UTM report captures the source, medium, campaign, content and term for each one. Sessions are grouped by their UTM combination, so linkedin / social / webinar-may appears as its own row, separate from newsletter / email / webinar-may.

The report also records tagged visits that happen inside an existing session. If someone is already browsing your site and then clicks a tagged link in your newsletter, that tagged visit is still reported.

How to compare channels and messages

Start with the campaign as a whole. Is it bringing people in at all? Then look at each source and medium pair to see which channel sent more sessions. Finally, use the content field to compare versions of a message, such as two subject lines or two button labels.

After you know which channel sent the visit, check what those visitors did next. The Top Pages report shows whether the campaign page climbed the list, and the visitor funnel in the Overview shows how many sessions became engaged or multi-page visits.

What a session is, and what it is not

This is the most important point when reading any campaign report. A campaign session is a visit to your site that carried UTM tags. It is not the same as:

  • An ad click. Some people click and leave before the page loads, and some block trackers. Your ad platform counts clicks; this report counts recorded visits.
  • A sale or sign-up. The report shows that a tagged visit happened. It does not attribute purchases or revenue to a campaign.

Keep those three numbers separate in your head: clicks in the ad or email tool, sessions in your site analytics, and sales in your shop or CRM. They answer different questions.

A UTM naming convention you can copy

Consistent naming matters more than clever naming. UTM values are usually treated as case-sensitive, so LinkedIn and linkedin can end up as separate rows. Pick a convention and stick to it.

Field Rule Good examples Avoid
utm_source Lowercase platform or list name linkedin, x, facebook, newsletter LinkedIn, Linked_In, twitter.com
utm_medium Small fixed set of channel types social, email, cpc, referral post, blast, Social-Media
utm_campaign Short name plus month or year webinar-may, black-friday-2026 campaign1, test, final-final
utm_content Describe the placement or version top-banner, footer-link, version-a link, click-here
utm_term Keyword or audience label, paid only wordpress-webinar, small-business Long phrases with spaces

Habits that keep data clean

  • Use hyphens instead of spaces.
  • Never tag internal links between your own pages. It splits one visit into extra campaign sessions.
  • Agree on the medium list with anyone else who creates links for your site.
  • Reuse the link builder instead of editing old links by hand.

For more on untagged traffic, including what “Direct” really means, see our guide to WordPress traffic sources. The documentation also covers the Campaign / UTM tab in detail.

Frequently asked questions

Is the Campaign / UTM report included in the free plugin?

Yes. The link builder and the campaign reports are both part of the free version of Live Traffic Analytics.

Will the campaign session count match my ad platform’s click count?

Usually not. Ad platforms count clicks, while this report counts visits recorded on your site. Some clicks never become a recorded visit.

Can I see which campaign led to a sale?

No. The report shows tagged visits and sessions. It does not track purchases or attribute revenue to campaigns.

No. Tag only links placed outside your site, such as social posts, emails and ads. Internal tags create misleading campaign sessions.

Start tracking your next campaign

Pick one upcoming post or email, build a tagged link for each channel, and check the report a few days later. Install Live Traffic Analytics free and use the Campaign / UTM report to see which tagged visits reach your WordPress site. When you want visitor-level detail such as User Journeys, compare plans on the pricing page.

Free on WordPress.org

See who is on your site right now

Install the free plugin and your first live visit appears in the dashboard within minutes.

Download free plugin