Ads EditorHelp Center

Audiences and UTM Integrations

Apply UTMs to your campaigns

Add the project UTM pattern to the Meta ads of several campaigns in one click, without touching what is already right.

Meta Ads2 min
Where it isUTM IntegrationsMy projectsAdd to campaigns

Quick answer

In UTM Integrations, open the project under My projects and, in the Meta UTMs step, click Add to campaigns. Check the campaigns (up to 15 at a time) and click Apply UTMs. The summary shows how many ads were updated and how many already had the pattern.

Watch the walkthrough 0:23

Before you start

  • The integration project must already exist, with the ad account linked to it.
  • The list shows campaigns that are active or spent in the last 30 days.
  • Ads with URL parameters different from the pattern get those parameters replaced. If you use UTMs from another tool, review this first.

Step by step

In this example, we apply a course project UTMs to the sales campaigns.

  1. 1

    Open the project

    Under My projects, open the project Script, UTMs and webhook. The Meta UTMs step shows the pattern that goes in the URL parameters field of each ad.

    Open the project
  2. 2

    Pick the campaigns

    Click Add to campaigns. Search, use Select all or check them one by one, up to 15 campaigns at a time.

    Pick the campaigns
  3. 3

    Apply and check

    Click Apply UTMs. Ads Editor goes through the ads, skips the ones that already have the pattern and shows the summary with updated, skipped and errors.

    Apply and check

New ads already go out with UTMs

Save the UTMs in a saved preset of the Meta Ads Editor: the next ads are uploaded with the pattern, with no need to apply it later.

How to tell it worked

  • The summary shows the updated ads, with no error.
  • In Meta Ads, the ad shows the pattern in the URL parameters field.

If something goes wrong

SymptomLikely causeWhat to do
The campaign is not in the listIt is paused and did not spend in the last 30 daysActivate the campaign or paste the UTMs by hand in Bulk Edit, URL Parameters
I checked more than 15 campaignsMeta limits how many changes it accepts at onceApply in batches of up to 15

Frequently asked questions

How do I apply UTMs to my Meta campaigns automatically?

In your project, open Set up tracking and, in the step Add the UTMs to your Meta ads, click Add to campaigns. The Include UTMs in campaigns modal opens, listing campaigns that are active or have spent in the last 30 days, with a search box and the Select all and Unselect all buttons. Select the campaigns (up to 15 at a time, to stay within Meta's API limit) and click Apply UTMs. The system goes through the ads and applies the tracking pattern: ads that already have the correct pattern are skipped, and ads with different parameters are replaced. At the end a summary shows how many were updated, how many were skipped and any errors. If you use UTMs from another tool, check which campaigns you select first.

My sale does not appear in the report (or in the manager). What do I check?

When an approved sale doesn't show up in the UTM Purchases and UTM Revenue columns, go through this checklist:

  1. The integration is active and the webhook is registered on your sales platform, with the approved purchase event selected (on Hotmart, version 2.0). If the webhook doesn't arrive, no sale is recorded.
  2. UTMs were applied to your Meta campaigns with the Add to campaigns button in Set up tracking (or pasted manually). Ads without the UTM pattern don't attribute the sale to any campaign.
  3. The campaign and ad set names aren't too long. Many checkouts (Hotmart, Guru, Cakto) join the names into a single tracking field with a character limit, and the ad name, which comes last, can get cut off. If only the campaign and ad set appear and the ad is empty, this is why: rename the campaign and ad set to about 45 characters each, avoiding brackets, accents and terms like Advantage+ (you don't need to reapply the UTMs, since the pattern uses macros that Meta resolves at click time).
  4. The sale is actually approved and recent. Pending Pix (Brazil's instant payment method) and boleto (bank slip) payments only count once paid, and refunds or chargebacks are removed from the columns.
  5. The tracking script is installed on your sales page, if you use an intermediate page, so UTMs aren't lost before checkout.
  6. The report period covers the sale date.

If it still doesn't show up, contact support with your account and the approximate time of the sale.

How do I set up ad UTMs?

There are two ways:

  1. Automatic: in UTM Integrations, open the project, click Set up tracking and then Add to campaigns. The project's UTM pattern is applied to the ads in the account.
  2. Manual: in Meta Ads, click Bulk Edit, select the ads and use the URL Parameters (UTM) edit to fill in whichever parameters you want.

The UTM Integrations page is where your projects and the sales webhook live: it compares the purchases reported by Meta with the real sales tracked by UTM. Connecting an ad account doesn't happen there: use Connect Meta and Connect Google.

Can I apply UTMs manually instead of using the automatic button?

Yes. In the project, open Set up tracking and, in the step Add the UTMs to your Meta ads, copy the pattern. Paste it into the ad's URL parameters field, in Meta Ads Manager or when editing the ad in Ads Editor. The pattern uses Meta's own variables (campaign, ad set and ad name and ID), which are filled in automatically on every click. So you don't need to edit anything: just copy and paste it exactly as it is. The Add to campaigns button does exactly this in bulk. The modal that opens is called Include UTMs in campaigns.

Was this guide helpful?