Docs
Docs contents

Google Ads

Google Ads fills in most values on each click, but not the campaign name. You type the name into the string once for each campaign. Each campaign type has its own string.

Before you begin

  • Access to edit campaign settings in Google Ads.
  • Tag your ads explains each parameter.

1. Copy the string for your campaign type

Replace MANUAL_CAMPAIGN_NAME with the campaign’s name. Use + for a space, for example Spring+Sale.

You can also get the strings in Numbat. Open Advertise > UTM Tagging and choose Get the tag for Google Ads. Type the campaign name into the box and copy the finished string.

utm_source=google&utm_medium=cpc&utm_campaign=MANUAL_CAMPAIGN_NAME&utm_id={campaignid}&utm_content={creative}&utm_term={keyword}&numbat_group_id={adgroupid}&numbat_ad_id={creative}

Performance Max

utm_source=google&utm_medium=cpc&utm_campaign=MANUAL_CAMPAIGN_NAME&utm_id={campaignid}&numbat_group_id={assetgroupid}

Google has no macro for asset group names, so asset groups show in Numbat by ID.

Demand Gen

utm_source=google&utm_medium=cpc&utm_campaign=MANUAL_CAMPAIGN_NAME&utm_id={campaignid}&utm_content={creative}&numbat_group_id={adgroupid}&numbat_ad_id={creative}

Demand Gen has no keywords, so do not add utm_term={keyword}.

2. Paste it into Google Ads

  1. Open the campaign, then its Settings.

  2. Expand Campaign URL options.

  3. Paste the string into Final URL suffix, then save.

Repeat for each campaign, with that campaign’s name in the string.

A tracking template instead

A campaign tracking template works too. Keep {lpurl} at the front, so the click still lands on your page.

{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign=MANUAL_CAMPAIGN_NAME&utm_id={campaignid}&utm_content={creative}&utm_term={keyword}

We recommend the suffix. A broken tracking template can stop your ads serving, and a suffix cannot.

3. Check that it works

  1. Set up one campaign and click one of its ads. The landing page URL should show the campaign name, and numbers where the macros were.
  2. Open Advertise > UTM Tagging in Numbat. A click shows there up to 30 minutes after the visit ends. The headline gives the share of paid clicks with a correct tag.

Google says a change to tracking settings can take 24 to 48 hours to reach your ads.

The UTM Tagging page in Numbat, headed 73% of 27,207 paid clicks arrive with a correct tag, above a bar split into Correct and Needs a fix: 7,214 clicks

Troubleshooting

Every campaign shows as MANUAL_CAMPAIGN_NAME

The campaign name was not typed in. Replace the words with the campaign’s name in that campaign’s suffix.

A value shows as a placeholder like {campaignid}

Google did not fill in the macro. Check that the string is in Final URL suffix under Campaign URL options, not in another field.

Some ads arrive tagged and others do not

A final URL suffix on an ad group or ad replaces the campaign’s suffix. Look for a suffix set lower down.

Dynamic Search Ads and AI Max match without keywords, so utm_term arrives blank. Nothing needs fixing.

Next steps