Embedding JavaScript client library

JavaScript client library can be located in your CustomerSuccessBox instance from (?) icon Help > Developer Console > JS Code tab

Or by visiting the following URL (replace domain with your instance domain name)


Copy snippet using "Copy Code" button at the right bottom of the JS Code Tab.

Once copied, it should be embedded before </head> tag (of your application).

Note 1: Snippet loads java script library onto the page asynchronously, so it won’t affect your page load speed.

Note 2: Javascript (analytics.js) is hosted on CDN, so that it is always available for your application to load.

Security Important: JavaScript client library uses a public API key which only supports POST requests to your CustomerSuccessBox.