How to set up a UTM template in Meta Ads so every lead shows its ad: Konektor (1 minute, Indonesian narration)

1:11

How to set up a UTM template in Meta Ads so every lead shows its ad: Konektor (1 minute, Indonesian narration) • 1:11

Tonton di YouTube

UTM template for Meta ads: every lead recorded down to campaign and ad in Konektor (1 minute, Indonesian narration)

1:10

UTM template for Meta ads: every lead recorded down to campaign and ad in Konektor (1 minute, Indonesian narration) • 1:10

Tonton di YouTube

UTM Parameters Guide

UTM parameters tell Konektor the campaign, ad set, and ad that each lead comes from. Put the same template on every ad that opens a website or a landing page.

Get the template from Konektor

Konektor prepares a template for each platform. Copy the template from the dashboard. Do not write it yourself.

  1. Open Iklan & Konversi > Tracking Website (Ads & Conversions > Website Tracking).
  2. In the Template link iklan (Ad link templates) card, select the platform tab, for example Meta Ads.
  3. For TikTok Ads, LinkedIn Ads, and ChatGPT Ads, enter the Landing page first.
  4. Click Salin (Copy).

The Template link iklan card in Tracking Website with the Meta Ads tab selected, the UTM parameters, and the Salin button

The parts in curly brackets are dynamic values. The ad platform fills them in automatically when someone clicks the ad. Do not replace those parts with a campaign name that you type yourself.

Meta Ads

The Meta Ads template:

utm_source=meta&utm_medium=paid&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{ad.name}}&campaign_id={{campaign.id}}&adset_id={{adset.id}}&ad_id={{ad.id}}

Add the template to each ad:

  1. In Meta Ads Manager, select the ad at the Ads level, then click Edit.
  2. Scroll to the Tracking section.
  3. Paste the template into the URL parameters field. In Meta in Indonesian, this field is called Parameter URL.
  4. Click Publish.

The Tracking section in Meta Ads Manager with the URL parameters field and the Build a URL parameter link

Check before the ad goes live

  • Do not write a question mark (?) in front of the template. Meta adds it.
  • Write dynamic values in lowercase with a dot, exactly like {{campaign.name}}. Meta does not fill other forms, for example {{CAMPAIGN_NAME}}.
  • Do not also write UTM parameters in the Website URL field. The URL parameters field overrides the same parameters in Website URL.
  • Do not write fbclid. Meta adds it when someone clicks the ad.

What to know about Meta dynamic values:

  • Meta fills the campaign, ad set, and ad names with the names used when the ad first went live. If you rename them later, the values keep the old names.
  • Campaign, ad set, and ad IDs do not change. Konektor matches ad spend to leads through campaign_id.
  • A change to the parameters of a running ad can put the ad set back into the learning phase. Add the template before the ad goes live.
  • Click-to-WhatsApp (CTWA) ads do not open a website, so they do not need the template. Konektor reads the ad source from the WhatsApp message. See Meta CTWA.
Dynamic valueContentExample
{{campaign.name}}Campaign name when the ad went liveEid_Promo
{{adset.name}}Ad set name when the ad went liveJava_Bali_25-50
{{ad.name}}Ad name when the ad went liveTestimonial_Video_1
{{campaign.id}}Campaign ID120210000000000001
{{adset.id}}Ad set ID120210000000000002
{{ad.id}}Ad ID120210000000000003
{{site_source_name}}Platform where the ad was clickedfb, ig, msg, an, th

Do you want to know if a lead came from Facebook or Instagram? Add &site_source_name={{site_source_name}} to the end of the template. Konektor keeps the value with the lead.

The full list of dynamic values is in Meta's guide Specifications for URL dynamic parameters.

Other platforms

The steps for other platforms are in their own guides:

For LinkedIn ads, see also LinkedIn ads tracking software.

ChatGPT Ads Template

ChatGPT Ads replaces the curly brackets with the real values when the ad runs. ChatGPT adds the click ID automatically, so you do not need to write it.

How Konektor.id uses that click ID is explained in ChatGPT ads tracking software.

https://your-landing-page.com/?utm_source=chatgpt-ads&utm_medium=paid&utm_campaign={campaign_id}&campaign_id={campaign_id}&ad_group_id={ad_group_id}&ad_id={ad_id}

Parameters that Konektor reads

The templates from Konektor already contain the parameters you need. This list is for people who build their own links.

  • Main UTM: utm_source, utm_medium, utm_campaign, utm_term, utm_content.
  • Click IDs: gclid, wbraid, gbraid, fbclid, ttclid, li_fat_id. The ad platforms add them.
  • Campaign and ad IDs: campaign_id, adset_id or ad_group_id, ad_id, creative_id, ad_account_id.
  • Campaign and ad names: campaign_name, adset_name or ad_group_name, ad_name, creative_name.
  • Platform source: site_source_name.

UTM is a Google Analytics standard. Google also suggests utm_id, utm_source_platform, utm_creative_format, and utm_marketing_tactic. These four are for Google Analytics reports, and Konektor does not use them. Reference: Google Analytics.

How to check the template

  1. After the ad is live, click the ad from your phone or browser.
  2. Look at the page address in the browser. It must contain utm_source=meta and campaign_id= followed by digits.
  3. If the address contains {{campaign.name}} as plain text, the template is in the wrong field. Move it to the URL parameters field.
  4. Open the detail of the new lead in Konektor. Check the Attribution Parameters section.

Need More Help?

Our team is ready to help you maximize ad tracking and business attribution.

Wulan answers your questions and sends tutorial videos. Session scheduling is available through Wulan if you still need it.

© 2026 Konektor. All rights reserved.