Google Ads · Tracking template

HubSpot → Google Ads tracking template

HubSpot maps Google Ads clicks into CRM reports with hsa_* query keys. The important fixed value is hsa_acc=YOUR_GOOGLE_ADS_CUSTOMER_ID — your Ads customer ID without dashes. Everything else is ValueTrack.

Also running ClickCease or another redirect? Do not overwrite this template — use the HubSpot + ClickCease split-field recipe.

Was this recipe useful? 4.5 (23)

Tap a star to rate (1–5). You can change your rating later.

Tracking template
{lpurl}?utm_feeditemid={feeditemid}&utm_device={device}&utm_term={keyword}&utm_source=google&utm_medium=ppc&utm_campaign={_utmcampaign}&hsa_cam={campaignid}&hsa_grp={adgroupid}&hsa_mt={matchtype}&hsa_src={network}&hsa_ad={creative}&hsa_acc=YOUR_GOOGLE_ADS_CUSTOMER_ID&hsa_net=adwords&hsa_kw={keyword}&hsa_tgt={targetid}&hsa_ver=3

How to install

  1. Open Google Ads → AdminAccount settingsTracking.
  2. Paste the template into the Tracking template field.
  3. Click Test, then Save.
  4. Replace any placeholders (account IDs, domains) before going live.

What hsa_acc means

  • hsa_acc — Google Ads customer ID (digits only, no dashes). HubSpot uses it to join the click to the right ad account.
  • hsa_cam / hsa_grp / hsa_ad — campaign, ad group, creative IDs via ValueTrack.
  • hsa_src / hsa_mt / hsa_kw / hsa_tgt — network, match type, keyword, target.
  • hsa_net=adwords and hsa_ver=3 — HubSpot’s network + template version constants.

If reports show the wrong account or empty Ads data, the usual cause is a typo in hsa_acc or a lower-level template that dropped the hsa_* block.

Field ownership

Paste into Tracking template (must start with {lpurl}). Put classic UTMs in Final URL suffix if you still need GA4 Paid Search dimensions beside HubSpot.

Related

FAQ

What is hsa_acc in a HubSpot tracking template?

hsa_acc is your Google Ads customer ID with dashes removed. HubSpot needs it to attribute the click to the correct ad account. It is not a Google ValueTrack token — you type the ID yourself.

Where do I find the value for hsa_acc?

In Google Ads → Admin → Account settings (customer ID looks like 123-456-7890). Paste 1234567890 into hsa_acc with no dashes.

Can I put HubSpot parameters in Final URL suffix only?

HubSpot’s documented Google setup uses a full {lpurl}?…hsa_* Tracking template. Suffix-only is for tools that need query keys beside a redirect — not a drop-in for this string.