Developers

Developers

Campaign Tags

Tag your links with utm_ codes and see what each campaign brought: visits, sales, quotes and calls.

What It Does

Stattery reads the utm_ tags on the address a visitor first lands on, and groups those visits by source, medium and campaign under Advertising, Campaigns. Beside each campaign: visits, engaged visits, sales, quotes (kept apart from sales) and phone calls, with the period before for comparison. Paid campaigns also show what the ad account charged.

Nothing to install or switch on: the tag and the WordPress plugin already send the full first address. Every visit Stattery has kept since the site was added is in the report, not only ones after today.

Tagging Your Links

TagWhat to put in itExample
utm_sourceWho sent the visitor: the site, newsletter or network.newsletter, facebook, google
utm_mediumThe kind of link.email, social, cpc, qr
utm_campaignThe campaign’s name, the same on every link of that campaign.black-friday-2026
utm_termOptional. The keyword, for paid search.welding table
utm_contentOptional. Which link or ad, when one campaign has several.header-button
https://example.com/tables/?utm_source=newsletter&utm_medium=email&utm_campaign=black-friday-2026&utm_content=header-button
  • Capital letters don’t matter. Newsletter and newsletter are one source.
  • Ad clicks without tags still count. A Google ad click (gclid, gbraid, wbraid, gad_source) shows under google / cpc, with the campaign’s id when Google sends one; Microsoft (msclkid) under bing / cpc; Facebook (fbclid) under facebook / social.
  • Only the first page of a visit counts. Tags on a later page of the same visit don’t move it to another campaign.

The report’s Link Builder tab makes tagged links for you and copies them.

What Each Row Counts

Sales and quotes are the orders and quotes from those visitors within 30 days; calls are calls from them. Download CSV on the report gives every row with its numbers.

Ad Spend

When a Google Ads or Microsoft Advertising account is connected (Advertising, Accounts), each paid campaign shows its Ad spend for the same dates, the Cost per sale (spend divided by orders) and Sales per $1. Emails, social posts and other links you tag show their visits and sales as usual, without spend.

  • Untagged ad clicks always match. Their campaign id comes from the ad platform, and the report shows the campaign’s name from the ad account under it.
  • Tagged ad links match by name. Use the network as utm_source (google, bing), a paid medium such as cpc, and the campaign’s name in the ad account (or its id) as utm_campaign. Capital letters don’t matter.
  • Spend that matches no visit is listed on its own under Ad Spend Not Matched To Visits, so nothing the ads cost goes missing.