hubspot(mode, type, email, properties, callback)
(Required) (String) Use "send" to send data
(Required) (String) Use "contact" to send contact data
(Optional) (String) Not used
(Required) (Object) The properties and values to update in Hubspot
(Optional) (Function) A callback function to run on success
This function requires the Hubspot API to be added in Nebula Options.
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.