HubSpot logo

HubSpot

Lead attribution for HubSpot

See which channels, campaigns, and keywords drive leads into HubSpot.

Your website

Script installed

SourceTag

Captures attribution

Your forms

Hidden fields sent

HubSpot

Data arrives tagged

The problem

You open HubSpot and see a new lead. But where did they come from? Was it the Google Ads campaign you increased budget on, or the blog post your team spent a week on? HubSpot stores leads but doesn't track what brought them in.

How to set it up

SourceTag sits on your website and tracks how visitors arrive. When someone fills out a form, attribution data flows into HubSpot through hidden fields. Every contact gets tagged with the channel, source, campaign, and keyword that created it.

1

Install SourceTag on your website

Add the script tag to your site header, or install the WordPress plugin.

2

Create custom fields in HubSpot

Add custom contact or lead fields in HubSpot for the SourceTag data (st_fc_channel, st_fc_detail_1, etc.).

3

Add hidden fields to your forms

Add hidden fields to your form builder matching the SourceTag field names. See the setup guide for your specific form builder.

4

Test with UTM parameters

Visit your site with ?utm_source=test&utm_medium=cpc, submit a form, and check the contact record.

How data gets into HubSpot

SourceTag doesn't connect to HubSpot directly. It works through your forms. Whatever form builder you use, attribution data gets submitted alongside the lead's details and flows into HubSpot through your existing form-to-CRM connection.

Any form builder that supports hidden fields will work:

Frequently asked questions

Related integrations

Done-for-you attribution. Set up in 5 minutes.

14-day free trial. No credit card required. Every lead tagged with the source that created it.