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
readyThis event gets triggered when the Frontnow Advisor is initialized.
advisor.on('ready', () => {
console.log('Advisor is ready!');
});open
openThis event gets triggered when the Frontnow Advisor is opened.
advisor.on('open', () => {
console.log('Advisor is open!');
});close
closeThis event gets triggered when the Frontnow Advisor is closed.
message
messageThis event gets triggered when a message is received.
recommended-question
recommended-questionThis event gets triggered when a recommended question is clicked.
discovery-topic
discovery-topicThis event gets triggered when a discovery topic is clicked.
document-click
document-clickThis event gets triggered when a document is clicked.
follow-up-click
follow-up-clickThis event gets triggered when a follow-up question is clicked.
Last updated
Was this helpful?