Google Ads search_term_matchtype: How to Track AI Max Clicks

Google Ads has added a new ValueTrack parameter, {search_term_matchtype}, that tells you in the click URL itself whether a search reached your ad through your own keyword or through an AI Max expansion. Until now, an AI Max broad expansion on an exact match keyword arrived on your website labelled as an ordinary exact match click. Your analytics, call tracking and CRM had no way to tell the two apart.

Google added the parameter to its ValueTrack help documentation without a formal announcement or a launch date, and advertisers started noticing it in mid-November 2026. If your Search campaigns were upgraded to AI Max in September, or you switched AI Max on yourself, this is the simplest way to see which leads AI Max actually brought in. Here’s what the search_term_matchtype parameter returns, how to add it, and how local service businesses can use it.

Key takeaways

  • {search_term_matchtype} returns the match type of the search term: “e” exact, “p” phrase, “b” broad, or “a” for AI Max broad expansions and keywordless matches.
  • The older {matchtype} reports the match type of your keyword, so AI Max broad expansions still show “e”, “p” or “b” there.
  • Use both together: if {matchtype} is e, p or b but {search_term_matchtype} is “a”, the click came from an AI Max broad expansion.
  • Add it to your tracking template next to {lpurl}, test it, and allow 24 to 48 hours for the change to reach your ads.
  • Pass the values into hidden form fields or your call tracking tool so you can judge AI Max on booked jobs, not just clicks.

What is the search_term_matchtype parameter?

ValueTrack parameters are placeholders in braces that you add to a tracking template, final URL or custom parameter. When someone clicks your ad, Google Ads swaps each placeholder for a real value, such as the device, the campaign ID or the keyword that matched. Whatever reads your landing page URL afterwards, whether Google Analytics, a form plugin or a call tracking script, can store those values with the visit or lead.

Google’s help page now lists two match type parameters side by side:

ParameterWhat it describesValues
{matchtype}The match type of the keyword that triggered the ade, p, b, or a for AI Max keywordless
{search_term_matchtype}The match type of the search term that triggered the ade, p, b, or a for AI Max broad expansions and keywordless matches

The difference is in the “a” value. A keywordless AI Max click returns “a” in both. An AI Max broad expansion, where AI Max matches a search to one of your existing keywords beyond its normal reach, keeps your keyword’s match type in {matchtype} but returns “a” in {search_term_matchtype}.

What changed and why it matters

Google’s guidance on tracking AI Max matches shows the problem the new parameter solves. For an AI Max broad expansion, {matchtype} returns the keyword’s own match type, {targetid} returns the normal keyword ID and {keyword} returns your matched keyword. Those are exactly the same values a standard keyword click produces, so URL-based tracking couldn’t separate them.

Here is how to read the values together:

Traffic type{matchtype}{search_term_matchtype}{targetid}
Standard keyword matche, p or be, p or bkwd-[keyword ID]
AI Max broad expansione, p or bakwd-[keyword ID]
AI Max keywordless (default expansion)aakwl-3500001
AI Max keywordless (your URL rules)aakwl-[URL rule ID]

For keywordless matches, {keyword} comes back empty. Google hasn’t published a date for the new parameter, and its Performance Max compatibility table doesn’t list either match type parameter, so treat this as a Search and AI Max for Search tool.

The Google Ads interface already shows AI Max in the search terms report, where the Match type column can be filtered to “AI Max”. That view stays inside Google Ads, though. The new parameter carries the same label out to your website, your forms and your phone tracking, where a lead turns into a booked job or not.

How to add it to your tracking template

  1. Pick the level. Tracking templates can be set at account, campaign, ad group, ad, keyword and sitelink level. For most local accounts, the account or campaign level is easiest.
  2. Add the parameters. If you don’t use a template yet, a simple one is: {lpurl}?matchtype={matchtype}&search_term_matchtype={search_term_matchtype}&keyword={keyword}&targetid={targetid}. If you already have a template, append &search_term_matchtype={search_term_matchtype} to it.
  3. Keep {lpurl} at the start. Google recommends the {lpurl}? pattern. Templates with a static URL or {lpurl} buried inside another parameter can break the dynamic landing pages that AI Max final URL expansion creates.
  4. Test before saving. Use the Test button next to the template, then click a test ad or use the ad preview to check the parameters appear on the landing page.
  5. Wait for it to apply. Google says tracking template changes take 24 to 48 hours to show in serving ads.
  6. Capture the values. Map the URL parameters to hidden fields in your forms and to custom fields in your call tracking or CRM, so every lead carries the label.

What it means for local service businesses

Most local accounts don’t measure success by clicks. They measure booked appointments and jobs. That makes this parameter more useful for a dentist or contractor than for many ecommerce stores.

  • Dental practices: tag form leads and calls with the parameter, then compare new-patient bookings from AI Max expansions against your own keywords. If AI Max brings in “free dental checkup” style searches that never book, you’ll see it. More in our Google Ads guide for dentists.
  • Painting and home services: AI Max can find new service-plus-town searches, but it can also pull in DIY and job-seeker traffic. Separating the leads lets you add negatives with evidence instead of guessing. See our Google Ads guide for painting contractors.
  • Call-heavy accounts: most call tracking tools can store landing page parameters against each call. Add the new parameter as a column in your reporting, as in our Google Ads and call tracking dashboard guide, and you get cost per booked job by traffic type.
  • Budget planning: once you know what AI Max leads cost compared with keyword leads, you can set a realistic budget per service. Our Google Ads budget estimator is a good starting point.

PPCTAG’s take

This is a small change with a big payoff for anyone who reports on leads outside Google Ads. Since the September 2026 upgrades, many local accounts are running AI Max without the owner knowing, and “exact match” numbers have quietly included expanded traffic. We covered what changed in our AI Max for Search guide.

What I’d do this week:

  • Add {search_term_matchtype} to the account-level tracking template of every account with AI Max on.
  • Check one test click per campaign so you know the template doesn’t break any landing pages.
  • After 30 days, compare booked jobs and cost per booked job for “a” traffic against standard keyword traffic.
  • If AI Max leads book at a similar cost, leave it running. If they don’t, switch off search term matching in the weakest ad groups before cutting the whole feature.

One caution: the parameter only labels traffic. It doesn’t change how AI Max matches searches, how you’re charged or how Smart Bidding works. Judge it on real outcomes, not on the share of “a” clicks.

FAQs

What does search_term_matchtype return in Google Ads?

It returns the match type of the search term that triggered your ad: “e” for exact, “p” for phrase, “b” for broad, or “a” for AI Max broad expansions and keywordless matches.

How is it different from the matchtype parameter?

{matchtype} reports the match type of your keyword, so AI Max broad expansions still show “e”, “p” or “b”. {search_term_matchtype} reports how the search actually matched, so those same clicks show “a”.

Does search_term_matchtype work in Performance Max?

Google’s Performance Max compatibility table for ValueTrack parameters doesn’t list it, so use it for Search campaigns, including AI Max for Search.

Will adding the parameter affect my ads or landing pages?

It doesn’t change targeting or bidding. Keep {lpurl} at the start of your template and test it, because a badly built template can break AI Max dynamic landing pages. Changes take 24 to 48 hours to apply.

Get Your Audit Report

About the author

Mohit Bannatwala is a Google Ads & Local Services Ads specialist. For 8+ years he has managed Google Ads, Performance Max and LSA campaigns for agencies and local service businesses, including dental practices, salons and home service companies. He shares lessons from real accounts on the PPCTAG blog.

Sources

Leave a Comment