How do I track revenue per UTM campaign?

Tag every campaign link with utm_source, utm_medium and utm_campaign, keep the DataFast script on your pages and pass the visitor ID through checkout. DataFast stores the UTM values of the visit that first brought the visitor and attributes later payments to them, so the dashboard shows revenue per campaign next to visitors.

Steps

  1. Tag your links. Build links with utm_source, utm_medium and utm_campaign. DataFast has a free UTM builder at /tools/utm-builder.
  2. Keep tracking installed. The script reads the UTM values on the landing visit.
  3. Connect revenue. Pass the visitor ID through checkout and report payments (see the Stripe and LemonSqueezy guides).
  4. Compare campaigns. Read revenue by campaign in the dashboard, or ask an assistant connected over MCP for get_traffic_sources.

Limits

  • Untagged links appear as their referrer or as direct traffic, not as a campaign.
  • Check the pricing page for which plan includes revenue per source and campaign.

FAQ

Does DataFast read UTM parameters automatically?

Yes, the script records utm_source, utm_medium and utm_campaign from the landing URL.

Is the UTM builder free?

Yes, it is a free tool on datafast.app.

Related

Markdown version: /solutions/utm-campaign-revenue-tracking.md