Integrate third-party services
TalkJS supports integration with a range of third-party services, such as for analytics and monitoring. Because the classic JavaScript SDK uses iframes behind the scenes, some third-party scripts can't automatically capture or interact with TalkJS UI elements.
To make integration easier, TalkJS provides built-in support for certain tools. This guide shows how to connect your Inbox, Chatbox, or Popup to supported third-party services, such as FullStory.
FullStory records user sessions and interactions on your site to surface user sentiment. Because TalkJS runs in an iframe, you need to explicitly enable FullStory to capture the chat UI.
If you're using FullStory, pass your organization ID to the thirdparties.fullstory.org
option when creating your Inbox, Chatbox, or Popup. For example:
1const inbox = session.createInbox({2 // Other inbox options3 thirdparties: {4 fullstory: {5 org: 'ORGANIZATION_ID', // Replace with your FullStory organization ID6 },7 },8});
Replace ORGANIZATION_ID
with your own FullStory organization ID. You can find your FullStory organization ID in the snippet provided by FullStory. Look for the line starting with window['_fs_org']
.
See FullStoryOptions for more details.
TalkJS offers built-in integrations for a range of third-party tools. See the ThirdPartyOptions reference for details. If you want to integrate a different service, get in touch with your use case.