Google Ads · Tracking template
HubSpot + ClickPatrol → Google Ads tracking template
HubSpot base with ClickPatrol query keys appended. Replace [[CLICKPATROL_ID]].
Use this recipe on Google Ads. Open it in the builder to merge, validate tokens, or combine with other tools.
{lpurl}?utm_term={keyword}&utm_source=adwords&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&uid=[[CLICKPATROL_ID]]&adp={adposition}&lpm={loc_physical_ms}&lim={loc_interest_ms}&adi={adgroupid}&k={keyword}&n={network}&ci={campaignid}&d={device}&p={placement}&ma={matchtype}&ta={target}&cr={creative}&vd={gclid}&source=g
How to install
- Open Google Ads → Admin → Account settings → Tracking.
- Paste the template into the Tracking template field.
- Click Test, then Save.
- Replace any placeholders (account IDs, domains) before going live.
Why this stack
HubSpot base with ClickPatrol query keys appended. Replace [[CLICKPATROL_ID]].
This HubSpot + ClickPatrol → Google Ads recipe is built for Google Ads with hubspot, clickpatrol_params. Paste into Tracking template. If you also need UTMs beside a redirect, put UTMs in Final URL suffix instead.
Common pitfalls
- Wrong field ownership — redirects must own Tracking template; UTMs / tw_* / nbt= usually belong in Final URL suffix (Google / Microsoft).
- Duplicate keys (two
utm_sourcevalues) silently overwrite each other in analytics. - Leaving placeholders like account IDs or domain tokens unreplaced breaks the click path.
Before you go live
- Replace placeholders such as account IDs, tracker IDs, and domains.
- Click through once from the ad preview and confirm the landing URL.
- Confirm analytics or call-tracking tools still receive the expected query parameters.
- Cross-check macros in the Google Ads parameter guide.
Need a variation? Open this stack in the template builder to merge another tool or validate tokens.
FAQ
Where do I paste the HubSpot + ClickPatrol → Google Ads template?
Paste into the Tracking template field in Google Ads account (or campaign) settings.
Will this break my landing page URL?
Templates that start with {lpurl} or include u={lpurl} / url={lpurl} preserve your final URL. On Meta/TikTok/LinkedIn, you append macros to the destination URL directly. Always click-test after saving.
Where are the Google Ads macros documented?
See the Google Ads parameter reference on this site.