freshchat-widget

1.0.6 • Public • Published

freshchat-widget

Freshchat Inapp Widget

This is the Javascript API for the freshchat widget (https://www.freshworks.com/freshchat-livechat-software/)

Deprecated

Please use the widget API from https://wchat.freshchat.com as per our documentation. https://developers.freshchat.com

Installation

bower install freshchat-widget

Integration

For anonymous user

  window.fcWidget.init({
    token: "WEB_CHAT_TOKEN",
    host: "WEB_CHAT_URL"
  });

For logged in user

  window.fcWidget.init({
    token: "WEB_CHAT_TOKEN",
    host: "WEB_CHAT_URL",
    externalId: "EXTERNAL_ID"
  });

To restore user

  window.fcWidget.init({
    token: "WEB_CHAT_TOKEN",
    host: "WEB_CHAT_URL",
    externalId: "EXTERNAL_ID",
    restoreId: "RESTORE_ID"
  });

Documentation

Setup documentation available here: https://developers.freshchat.com

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i freshchat-widget

      Weekly Downloads

      42

      Version

      1.0.6

      License

      MIT

      Unpacked Size

      40.6 kB

      Total Files

      6

      Last publish

      Collaborators

      • sankar-ganesh