Events

Track any events provided by the Frontnow Advisor to enhance your user experience or integrate with your own event tracking systems.

Before using these events, ensure that the Frontnow Advisor has been properly initialized. For setup instructions, please refer to the Getting Started page.

Google Analytics Integration

ready

This event gets triggered when the Frontnow Advisor is initialized.

advisor.on('ready', () => {
    console.log('Advisor is ready!');
});

open

This event gets triggered when the Frontnow Advisor is opened.

advisor.on('open', () => {
    console.log('Advisor is open!');
});

close

This event gets triggered when the Frontnow Advisor is closed.

message

This event gets triggered when a message is received.

This event gets triggered when a recommended question is clicked.

discovery-topic

This event gets triggered when a discovery topic is clicked.

document-click

This event gets triggered when a document is clicked.

follow-up-click

This event gets triggered when a follow-up question is clicked.

Last updated

Was this helpful?