Overview

Integrating HubSpot with Vector allows you to send contact and company-level activity data directly into your CRM. This guide walks you through what to expect once the integration is active, how to configure your settings, and best practices for using the integration effectively.


🔐 How Do I Connect Vector to HubSpot?

A single HubSpot user (typically an admin or integration user) connects Vector to your HubSpot instance via OAuth. This connection handles all syncing across your organization — individual users do not need to log in with their own credentials.

To connect HubSpot to your Vector workspace:

Once logged in, your HubSpot instance is securely connected to Vector.
Only one connection is needed.

💡 Simply connecting HubSpot does not automatically start syncing any data. Data only flows to HubSpot when you explicitly add a HubSpot action to a segment — giving you full control over what is sent, and when.


🔁 Is the Integration Bi-Directional?

Vector is primarily a one-way integration (Vector → HubSpot) — but with limited data pulling from HubSpot → Vector to support segmentation:

🔄 So while the integration includes some limited pulling of HubSpot data, it’s not a full bi-directional sync in the traditional sense.


What Vector Sends to HubSpot

Enriched data may include:


What Vector Does Not Pull From HubSpot

Key Settings Explained

Document image

1. Create New Records and Activities

This is especially useful for:

If the contact already exists, we’ll simply add a new activity. If the contact does not exist, we’ll create both the contact and the activity.

Note: Activities are how we notify you when a contact does something from within Vector. This is also how you will be able to create a list view & score contacts leveraging vector data. It is important to enable this setting.

Example Activity Records:

Screenshot 2025-04-17 at 10.03.05 AM.pngScreenshot 2025-04-16 at 5.32.09 PM.png

Note: If you are not seeing a Vector activity on the contact record, make sure you are filtering your activities shown to include Vector!

image (9).png

2. Company Record Creation

If Vector is unable to identify a contact but can identify the company, you can allow:

Field Mapping

Screenshot 2025-09-05 at 8.02.49 AM.png

Some fields are automatically mapped:

🛠 Field Mapping Using Dynamic Variables

Vector supports dynamic field mapping using structured variables when you select "Add Mapping" > "Custom Value" as the data source.

Document image

Available Variables & Why They’re Helpful:

Variable

Description

Why It’s Helpful

{{segmentId}}

The ID of the segment

Useful if you want a unique identifier for reporting or syncing back to systems.

{{segmentName}}

The name of the segment

Great for dashboards or reporting — you’ll always know which play or segment sourced a contact, especially if you name segments meaningfully.

{{lastVisitTimestamp}}

Full timestamp of the last visit (e.g., 2025-03-05T18:01:03.735Z)

Shows exactly when a person last engaged, helpful for assessing freshness of intent.

{{lastVisitDate}}

Date of the last visit (e.g., 2025-03-05)

Lets reps quickly see if a visit was recent and worth acting on.

{{lastVisitTime}}

Time of the last visit (e.g., 18:01)

Adds precision on activity — valuable for context around engagement patterns.

{{firstVisitTimestamp}}

Full timestamp of the first visit (e.g., 2025-03-05T18:01:03.735Z)

Shows when initial interest began, useful for understanding buying journey.

{{firstVisitDate}}

Date of the first visit (e.g., 2025-03-05)

Helps establish how long someone has been engaging with your site.

{{firstVisitTime}}

Time of the first visit (e.g., 18:01)

Useful for noticing patterns (like early morning vs. end-of-day browsing).

{{firstVisitPageUrl}}

Page URL of the first visit

One of the most impactful fields: reveals what first caught a prospect’s eye. You wouldn’t say “I saw you visited X page” directly, but you can use it to frame conversations around relevant pain points or interest areas.

{{firstPageViewWithUtm.PROPERTY_NAME}}

Accesses UTM properties from the first page view. Valid names: pageUrl, pageBaseUrl, utmSource, utmMedium, utmCampaign, utmContent, utmTerm

Helps tie web activity back to campaigns or ads, making attribution clearer and guiding which marketing channels are driving engagement.

Example Field Mappings

Segment Name – often mapped to a custom property in HubSpot
Helps you quickly see which segment a contact belongs to and use that info in list filters or workflows.

Create a custom HubSpot property like Vector Segment Name to track this cleanly.

Page Views + Timestamps – mapped to custom properties in HubSpot
Great for understanding which pages a contact has viewed, and how often. Many teams combine Page URL, First Visit Date, and Last Visit Date to build scoring models or trigger follow-ups.

Here's how it looks in HubSpot:

Screenshot 2025-10-02 at 4.10.08 PM.png

Use this to alert sales when high-intent pages (like pricing or demo) are visited more than once.


Pass UTMs and First-Page Details to HubSpot

Vector can send first-touch campaign context into HubSpot so your team sees where a contact first arrived from and which campaign drove the visit.

What you can send

Use these Custom Values when you add field mappings in your HubSpot action:

Custom Value

What it captures

{{firstPageViewWithUtm.utmSource}}

UTM source such as Google or Linkedin

{{firstPageViewWithUtm.utmMedium}}

UTM medium such as email, cpc, social

{{firstPageViewWithUtm.utmCampaign}}

UTM campaign name

{{firstPageViewWithUtm.utmContent}}

UTM content identifier

{{firstPageViewWithUtm.utmTerm}}

UTM term or keyword

{{firstPageViewWithUtm.pageUrl}}

Full URL of the first landing page

{{firstVisitDate}}

Date of the first visit such as 2025-03-05

{{firstVisitTimestamp}}

Full timestamp of the first visit

{{lastVisitDate}}

Most recent visit date

{{lastVisitTimestamp}}

Most recent visit timestamp

UTMs are first-touch from the first page where UTMs were present. If a user returns later without UTMs, first-touch stays the same. Use Last Visit fields to understand recency.

How to map these into HubSpot

  1. Create properties in HubSpot

    • Create custom Contact properties for the fields you want such as Vector UTM Source, Vector UTM Campaign, Vector First Page URL, Vector First Visit Date.

    • Optional: add Company properties if you also log company activities.

  2. Add mappings in Vector

    • Go to your segment.

    • Actions → HubSpot → Add Mapping.

    • Data Source: Custom Value.

    • Paste the variable such as {{firstPageViewWithUtm.utmSource}}.

    • Choose the HubSpot property you created such as Vector UTM Source.

    • Repeat for each field you want to capture.

  3. Include an Activity

    • In the same HubSpot action, enable “Create Activity.”

    • Activities make it easy to trigger workflows and build lists based on Vector engagement.

  4. Test

    • Turn the segment on.

    • Visit your site with a test UTM link.

    • Check the HubSpot contact record to confirm property values and the Vector activity.

If you do not have UTMs

You can still infer traffic source using Referrer in Vector and pass it as a property or include it in the activity.

Simple setup ideas:

Reporting ideas in HubSpot

Troubleshooting


What This Mapping Does Not Support


🎯 List Sync (One-Way from HubSpot → Vector)

You can bring in your HubSpot account lists (static or active) to power CRM-aligned segmentation inside Vector.

👉 Curious how to add HubSpot account lists? [Guide here]


What You Can Do in HubSpot After Integration

With this data flowing into HubSpot, you can:


Conclusion

This integration is a powerful way to connect your behavioral and intent data from Vector directly into HubSpot. Once configured, you’ll gain full visibility into which contacts are engaging and how, all within your CRM.

Still have questions? Reach out to the Vector team for help at support@vector.co.