Set Conversation settings

Last updated March 26, 2019

hsConversationsSettings = { :settings: }

This endpoint is part of our developer preview program, and should be considered as a non-stable release that will be subject to bugs and breaking changes while under development. Please take this into account as you build against a release. Please subscribe to our changelog for updates.

hsConversationsSettings can be used to provide configuration options to the Conversations API before it initializes.

Usage of this is entirely optional. This object must be set before the Conversations API is loaded. This will have no effect if set after window.HubSpotConversations is loaded.


Optional Parameters How to use Description
Load Immediately "loadImmediately": true Whether the widget should implicitly load or wait until the widget.load() method is called. Defaults to true.
Inline embed selector "inlineEmbedSelector": Where the widget should be embedded in the page. If a selector (e.g. #some-id) is provided, the widget will be embedded inline within that DOM node. It will always be open until it is removed via widget.remove