HubSpot's Hub ID is the unique number that identifies your HubSpot account, often called your portal ID. It connects your tracking code, forms, and integrations to the correct account. It does not, by itself, tell you who is visiting your website. For a small B2B sales team, the practical value comes from a correct Hub ID setup combined with a visitor identification tool that names the person behind each anonymous session, so reps can act on real accounts.

What the HubSpot Hub ID Actually Does
Every HubSpot account has a numeric Hub ID. When your team installs the HubSpot tracking code on your site, that code sends page views and form submissions to your account using this identifier. Integrations and API calls also reference it. In short, the Hub ID routes data to the right place.
What it does not do is identify individuals. Tracking an anonymous visit still leaves you with a session, not a name. Teams that expect the Hub ID to surface prospects often end up with a full analytics dashboard and no one to contact. Treat the Hub ID as plumbing, and plan separately for identification.
Where to find your Hub ID
Your Hub ID appears in your HubSpot account settings, typically under the account information section. Confirm it matches the portal your website tracking code uses. A mismatch is one of the most common reasons visits appear in the wrong account or not at all. Check this before you change anything else.
Related: HubSpot to Salesforce Switch: Spot It Early
Why the Hub ID Matters for B2B Pipeline
For a team of one to a few hundred people, the question is rarely whether HubSpot collects visit data. The question is whether that data turns into conversations. A correct Hub ID means the visits you collect land in the contact and company records your sales process already uses, which keeps reporting, routing, and follow-up in one system.
- Confirm the routing: Make sure visit and form data reach the account your reps actually work in.
- Connect identification: Add a visitor identification layer so anonymous visits can be matched to a person or company.
- Act on the match: Route identified accounts to the right owner and set a clear follow-up step.
Step-by-Step: Setting Up Hub ID for Visitor Identification
- Step 1: Verify the Hub ID. Confirm the portal number in HubSpot matches the tracking code installed on your site, including staging and production.
- Step 2: Test a visit. Load a few key pages from a browser you control and check that the activity appears in the expected HubSpot account.
- Step 3: Connect a visitor identification tool. Link your identification platform to HubSpot so identified visitors create or update contact and company records. For a detailed walkthrough, see our guide on HubSpot and Salesforce Visitor ID setup for small B2B teams.
- Step 4: Define ownership rules. Decide who receives identified accounts, which pages count as high intent, and how quickly a rep should respond.
- Step 5: Review weekly. Check that matched records look right and that reps are working the accounts you expected.
Related: HubSpot and LinkedIn Integration for Small B2B Sales Teams
Turning Identified Visits Into Pipeline
Once visits are tied to people and companies in HubSpot, the work shifts to prioritization. A small sales team cannot chase every session, so focus on signals that suggest buying intent, such as visits to pricing or integration pages, repeat visits from the same account, or a return visit after a demo request. Score these signals and send the strongest matches to a named rep first.
Happierleads is a B2B website visitor identification platform that reveals the exact person behind each visit. Its products include website visitor identification, AI lead scoring, intent data integration, email outreach automation, and CRM integrations. Teams use these to move from anonymous traffic to a short list of accounts worth contacting, while keeping the record inside their existing CRM workflow.
Choosing the right identification approach
Not every identification method delivers the same accuracy or the same compliance posture. IP-based lookups and person-level identification work differently, and the difference affects both match quality and what your team can legally do with the data. Review this before you commit, using our explainer on visitor ID vs. IP reverse lookup.
Compliance Basics Before You Identify Visitors
Identifying website visitors touches privacy law in the US, UK, and EU. Before you turn on identification in HubSpot, confirm what data you collect, how it is disclosed in your privacy notice, and how you respond to opt-out or deletion requests. Your legal or compliance adviser should review your specific setup. Our overview of GDPR and CCPA rules for visitor ID covers the main questions to raise.
A Simple Scenario for a Small B2B Software Team
Imagine a small B2B software company that uses HubSpot for marketing and sales. The team verifies its Hub ID, connects an identification tool, and sets one rule: any identified visitor from a target account who views the pricing page goes to the account executive the same day. Other visits stay in HubSpot for nurture. The benefit is not a larger traffic number. It is a clearer list of named conversations for a team that has limited time.
Common Mistakes to Avoid
- Assuming the Hub ID identifies people. It routes data to your account. Identification needs a separate layer.
- Mixing portals. Staging and production tracking codes with different IDs scatter your data.
- Skipping ownership rules. Identified accounts with no owner rarely get a follow-up.
- Treating every visit as a lead. Prioritize by fit and intent, not volume.
- Ignoring compliance. Confirm disclosure and opt-out handling before you scale.
Get Started With Visitor Identification in HubSpot
If your team already runs HubSpot and wants to know which accounts are visiting your site, book a free demo with Happierleads. We will walk through how identification, AI lead scoring, and CRM integrations can fit your current HubSpot setup.
Frequently asked questions
What is the HubSpot Hub ID?
The Hub ID is the unique number that identifies your HubSpot account, also called your portal ID. It routes tracking data, forms, and integrations to the correct account.
Does the HubSpot Hub ID identify website visitors?
No. The Hub ID routes data to your account but does not reveal who is visiting. To identify people or companies, you need a separate visitor identification tool connected to HubSpot.
Where do I find my HubSpot Hub ID?
It appears in your HubSpot account settings, typically in the account information section. Confirm it matches the tracking code installed on your website.
Why would visits show up in the wrong HubSpot account?
The most common cause is a tracking code that references a different Hub ID, such as a staging site using another portal. Verify the code on each environment.
Is visitor identification compliant with GDPR and CCPA?
It can be, but it depends on your data practices, disclosures, and opt-out handling. Review your setup with a qualified legal or compliance adviser.




