Freshpaint
Search…
⌃K
Links

HubSpot

HubSpot is a CRM - it let's you keep track of all your customer leads. With the Freshpaint->HubSpot destination, you can create leads in HubSpot and send events to HubSpot based on your Freshpaint data.

Supported Sources

Source
Supported
Web
YES
Mobile
-
Server-side
-
App Sources
-

API Mapping

Page

Calls to freshpaint.page() are mapped to the HubSpot trackPageView API call. Calling freshpaint.page() will create pageview events in HubSpot.

Identify

Calls to freshpaint.identify() are mapped to the HubSpot identify API call. Calling freshpaint.identify() will either create a new contact in HubSpot or update the existing contact in HubSpot. HubSpot deduplicates users based on the user's email.
HubSpot requires an email to identify users. The email can be provided either as the userID passed to freshpaint.identify() or as a user property passed to freshpaint.identify(). If no email is provided, the freshpaint.identify() call will not call the HubSpot identify API.

Events

Events are mapped to the HubSpot trackEvent API Call. After sending an event to HubSpot you can use the HubSpot tooling to analyze the events and create reports on the data.
HubSpot events are only supported on the HubSpot Marketing Hub Enterprise tier.

Integration Option

Within the Integration Option, the HubSpot destination is referred to as "HubSpot". If you want an API call to not go to HubSpot, you can use the following code:
freshpaint.identify(
userID,
userProps,
{"integrations": {"HubSpot": false}}
);
If you want an API call to go to HubSpot and no other destinations, you can use the following code:
freshpaint.identify(
userID,
userProps,
{"integrations": {"All": false, "HubSpot": true}}
);