Skip to content

Free UTM builder

Tag every ad so each sale shows its campaign.

A sale with no campaign name tells you nothing about where to spend next. Paste your landing page URL, pick the ad platform and copy a tracking template that fills in campaign, ad set and ad names on its own.

  • Facebook, Google, TikTok, Reddit
  • Platform macros included
  • No signup

Build your tracking template

1Your landing page URL

We’ll add https:// if you skip it.

2Your ad platform
3Tagging options
utm_medium

paid_social is the standard for social feeds - keep it forever.

utm_campaign
{{campaign.name}}

Name macros freeze at first publish - the IDs ride along below.

utm_term

Optional on Meta - leave empty or use it for your audience name.

utm_content
{{ad.name}}

The ad name - use it to split-test creatives.

Your tagged URL

Meta Ads
Enter your landing page URL to see the full link…

Paste this into URL parameters (ad level):

utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&campaign_id={{campaign.id}}&adset_id={{adset.id}}&ad_id={{ad.id}}

Ads Manager → ad → Tracking → URL parameters.

Parameter breakdown:

  • utm_sourcefacebook

    Where the click came from - keep it lowercase and canonical.

  • utm_mediumpaid_social

    Channel type - paid_social vs cpc. Pick one per channel and never vary it.

  • utm_campaign{{campaign.name}}

    Name macros freeze at first publish - the IDs ride along below.

  • utm_content{{ad.name}}

    The ad name - use it to split-test creatives.

  • campaign_id{{campaign.id}}

    Meta campaign ID - survives renames

  • adset_id{{adset.id}}

    Meta ad set ID

  • ad_id{{ad.id}}

    Meta ad ID

fbclid is appended automatically by Meta Ads - never add it manually.

Changing URL parameters after publish may restart the ad set learning phase - tag before you publish.

Prefer reading? Jump to the platform cheat sheet

What it costs

An untagged click is a sale you cannot repeat.

Every ad platform speaks its own macro language. One wrong bracket and a week of orders lands under "direct", so the campaign that sold them looks like it sold nothing.

  • No tag

    means the order shows up as direct or untracked

    You see the revenue, but not the campaign, ad set or ad that earned it.

  • Typed names

    drift from what the ad platform calls the campaign

    Macros are filled in by the platform at click time, so every ad reports its real campaign without you editing links by hand.

  • Click IDs

    added by hand break conversion matching

    Every platform appends its own fbclid, gclid or ttclid. The builder never includes them.

How to use the UTM builder

Three steps, one field to type.

  1. Paste your landing page URL

    The page the ad sends people to. It is the only field you have to type.

  2. Pick the ad platform

    Facebook, Google, TikTok or Reddit. Source, medium, campaign, content and term arrive prefilled with that platform's dynamic macros.

  3. Copy the result into the ad

    Paste the parameter string into the platform's URL parameters field (Final URL suffix on Google Ads), or open the full tagged link to test it in your browser.

Frequently asked questions

Something else on your mind? Ask us directly

Is the UTM builder free?

Yes. There is no signup and no limit. The builder runs in your browser and produces the tracking template straight away, so you can tag as many campaigns as you need.

Why use dynamic macros instead of typing campaign names?

Macros such as {{campaign.name}} on Meta or __CAMPAIGN_NAME__ on TikTok are filled in by the ad platform at click time, so every ad reports its real campaign, ad set and ad without you editing links by hand. Google Ads only offers ID macros such as {campaignid}, which is why the Google template uses IDs.

Should I add fbclid, gclid or ttclid to the template?

No. Every platform appends its own click ID automatically. Adding one by hand duplicates or overwrites it and breaks conversion matching, so the builder never includes click IDs.

See the campaign behind every order.

AxiTrace reads the tags you just built and shows the campaign, ad set and ad behind each order, with its real ROAS. Free up to 10,000 visits a month.

Start Free

An agency, or more than 3M visits a month? Talk to us

  • Data stored in the EU
  • GDPR, with a DPA
  • On the Shopify App Store
  • Plugin on WordPress.org
  • In ChatGPT and Claude

AxiTrace demoSample store

Store revenue$42,300last 30 days
Ad spend$9,9755 campaigns on 3 ad platforms
Store ROAS4.24revenue over ad spend
Orders1,223from every source

ROAS next to profit after costs

Store ROAS4.24 Campaign profit+$3,015

Store ROAS counts all revenue. Campaign profit subtracts the product costs and the ad spend of each campaign.

Axi, morning briefing

Two campaigns lose money after costs: Google Shopping and TikTok Video. Meta Prospecting holds a steady profit and is the one to scale in steps.

Sample data. In your own account you see your own store.

Start Free