How do I tag campaign links so I know which one brought visitors?

Add utm_source and utm_campaign to every link you place outside your own site, for example ?utm_source=newsletter&utm_campaign=spring-sale. PostDeploy Analytics keeps only those two parameters, strips every other query parameter, and reports visitors, conversions and revenue by source and by campaign. Links between your own pages need no tags.

Last updated 26 November 2026. By Paul Badarau.

A fictional baking blog sends a monthly newsletter, posts in two forums and pays for one podcast mention. The author wants to know which of them brings readers who join the mailing list. Forum links already arrive with the forum's hostname as the referrer. The newsletter and the podcast need tags, because links opened from email apps often carry no referrer and a link read out on a podcast never does. Without tags, both would land under Direct.

  1. Pick one spelling for each source and write it down, such as newsletter and podcast. Use lowercase. Analytics groups by the exact value, so Newsletter and newsletter become two rows.
  2. Use utm_campaign for the specific send or offer, such as 2026-12-issue or winter-sponsor, and keep the same value on every link of that campaign.
  3. If you need the detail you would put in utm_medium or utm_content, put it in the campaign value, for example winter-sponsor-show-notes. The tracker removes every other parameter before it sends the page address.
  4. For a link someone has to type, make a short address on your own site that redirects to the tagged one, and check that the redirect keeps the query string.
  5. Tag only links outside your site. A visit keeps the source it arrived with, so tags on your own internal links change nothing.
  6. Open each link in a browser that sends no Do Not Track or Global Privacy Control signal, since new Projects drop those visits. Then open the Project report for Today and find the campaign in the campaign breakdown.

In PostDeploy Analytics, the source breakdown lists newsletter and podcast beside the referring sites, and the campaign breakdown splits them by send. Compare conversion rates as well as visitor counts. A podcast mention with 90 visitor-days and 9 mailing-list signups did better than a forum thread with 600 visitor-days and 12.

Tags travel with the link. When a reader forwards the newsletter link or pastes it into a chat, those visitors arrive tagged as newsletter too. The tag also labels only the visit that lands on it, so a reader who comes back the next day by typing the address is Direct.

The product page for this is Analytics.

Start your 14-day free trial