Skip to Content
Menu

Deprecated

hubspot()

Send contact data to Hubspot.

JavaScript December 19, 2018

Deprecated

Usage

JavaScript
hubspot(mode, type, email, properties, callback)

Parameters

mode
(Required) (String) Use "send" to send data
Default: None

type
(Required) (String) Use "contact" to send contact data
Default: None

email
(Optional) (String) Not used
Default: None

properties
(Required) (Object) The properties and values to update in Hubspot
Default: None

callback
(Optional) (Function) A callback function to run on success
Default: None

Request or provide clarification »

Additional Notes

This function requires the Hubspot API to be added in Nebula Options.

It is currently not used for sending Hubspot data as the data is currently sent through the nv() function with updates and sends to Hubspot from the server-side. Hubspot requires that the properties be created before they can have values, so the server-side data checks and handles this whereas this JavaScript function does not.

Note: We are ideally looking for an easier method of syncing contact data to replace the server-side functionality with an updated version of this function. However, the Hubspot API is the limiting factor at the moment.

Deprecated in favor of the newer nv() function.

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!