For more information, refer to GitHub.
What Does This Plugin Do?
This plugin allows you to track the user interaction with the bot or the bot's behaviour by sending the information to Google Analytics.
npm install --save @botonic/plugin-google-analyticsto install the plugin.
- Add it to the
The tracking needs to be done manually as enabling this plugin does not track any user interaction or bot's behaviour by default.
You can do the tracking inside the
render method or even inside the Webchat listeners.
callback argument is not required.