How to use ClickPatrol if you’re already using Hubspot
Table of Contents
If you’re using Hubspot to track lead sources and campaign performance, and you want to add ClickPatrol, a few changes are necessary to make sure both tools operate smoothly without conflicting.
Step 1: Understand how Hubspot uses UTM parameters
Hubspot often uses a long UTM tracking string in the tracking template field in Google Ads. A typical Hubspot UTM setup looks like this:
{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={ID of account/customer}&hsa_net=adwords&hsa_kw={keyword}&hsa_tgt={targetid}&hsa_ver=3
This is often placed at the account level, but it can also appear on campaigns, ad groups, or ads.
Step 2: Check where the Hubspot tracking is applied
- Go to Google Ads
- Check the Settings tab at account, campaign, ad group, and ad level
- Look for a Tracking template
- If you see a URL starting with
{lpurl}?
and containing UTM parameters likeutm_source
,hsa_cam
, orutm_campaign
, that is Hubspot’s tracking template
Step 3: Move Hubspot tracking to Final URL Suffix
To allow space for ClickPatrol’s tracking template, you’ll need to move the Hubspot UTM parameters to the Final URL Suffix.
- Copy everything after
{lpurl}?
- Paste it into the Final URL Suffix field Example:
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={ID of account/customer}&hsa_net=adwords&hsa_kw={keyword}&hsa_tgt={targetid}&hsa_ver=3
- Remove the entire tracking template from the interface
- Ensure Hubspot isn’t automatically reinserting the template via API or sync (check Hubspot settings or automation rules)
Step 4: Add ClickPatrol’s tracking template at the account level
Once the Hubspot UTMs are moved, you can now safely install ClickPatrol’s tracking template.
ClickPatrol’s standard template:
https://trck-001.clckptrl.com/?uid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&adp={adposition}&lpm={loc_physical_ms}&lim={loc_interest_ms}&adi={adgroupid}&k={keyword}&n={network}&ci={campaignid}&d={device}&p={placement}&u={lpurl}&ma={matchtype}&ta={target}&cr={creative}
Replace the uid=
value with your personal ClickPatrol user ID.
Apply this only at the account level, and ensure no lower-level templates exist, as Google prioritizes them in this order:
- Ad > Ad group > Campaign > Account
If a lower-level tracking template exists, it will override the ClickPatrol one.
Step 5: Use our template checker script
If you manage many campaigns and want to check for conflicting tracking templates, we’ve created a tracking template script that:
- Scans all campaigns, ad groups, and ads
- Reports where a tracking template field is filled in
This allows you to quickly identify and resolve conflicts before setting ClickPatrol live.
Contact our support team to receive the script and instructions for use.
If you’re still experiencing issues with tracking templates, we recommend visiting the following page for advanced troubleshooting.
Summary
Tool | Where it should go |
---|---|
Hubspot | Final URL Suffix |
ClickPatrol | Account-level tracking template |
Once correctly configured, ClickPatrol and Hubspot can work together without any interference.
Still need help? Reach out via the Support button in your ClickPatrol dashboard. We’re happy to assist.