Troubleshooting
Common Issues
Chat does not appear:
// Verify initialization
if (!window.MarketFit.chat.isEnabled()) {
console.log('Chat is not enabled');
}
// Verify configuration
console.log(window.MarketFit.chat.getConfig());Messages are not sent:
// Verify connection state
const state = window.MarketFit.chat.getState();
console.log('Chat state:', state);Widget does not respond:
// Reinitialize widget
window.MarketFit.chat.remove();
// Reconfigure as neededLast updated on