📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

freshchat-widget

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freshchat-widget

Widget API For Freshchat

1.0.6
latest
Source
npm
Version published
Weekly downloads
57
29.55%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

Live

FAQs

Package last updated on 04 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts