Events
Track any events provided by the Frontnow Advisor to enhance your user experience or integrate with your own event tracking systems.
Google Analytics Integration
If your site already integrates with Google Analytics, all of the advisor events will be automatically forwarded with the prefix "frontnow:[eventname]"
Examples: frontnow:open or frontnow:message
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.
recommended-question
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.
Last updated
Was this helpful?