Voiceflow custom events for analytics
I can receive the standard voiceflow:interact and voiceflow:save_session events using:
window.addEventListener("message", e => console.log(e.data));
…but it looks like custom traces returned from a Function block (e.g. { type: 'custom', payload: {...} }) are not forwarded to the parent page, so I can’t see them in the browser.
Is there a recommended way to expose custom events to the browser, or a supported method to send small custom payloads (like button_clicked) from Voiceflow to the page outside the chat widget?
Any guidance appreciated!
