“Bath salts” is a group of recreational designer drugs. The name derives from instances in which the drugs were disguised as bath salts. The white powder, granules, or crystals often resemble bath salts such as Epsom salts, but differ chemically.
// Copy the below lines under window.fcWidget.init inside fw_chat_widget function in the above snippet
// To set unique user id in your system when it is available
window.fcWidget.setExternalId("john.doe1987");
// To set user name
window.fcWidget.user.setFirstName("John");
// To set user email
window.fcWidget.user.setEmail("john.doe@gmail.com");
// To set user properties
// Note that any other fields passed as properties which are not in the CRM Contact properties already, they will be ignored.
window.fcWidget.user.setProperties({
cf_plan: "Pro", // meta property 1
cf_status: "Active" // meta property 2
});