// Copy the below lines under window.fcWidget.init inside initFreshChat 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("[email protected]"); // To set user properties window.fcWidget.user.setProperties({ plan: "Estate", // meta property 1 status: "Active" // meta property 2 });

swp

1 2 3 4 5 6