For more information, refer to GitHub.
What Does This Plugin Do?
This plugin uses Segment to clean, collect and control customer data. It helps monitor performance, define decision-making processes and identify customers' interests.
npm install --save @botonic/plugin-segmentto install the plugin.
- Add it to the
The default behavior of this plugin is to:
- Identify the user during the first bot interaction.
tracka page event to Segment from then on.
If you prefer to track your events manually, you can add the flag
trackManually: true in your options. Once set, you can use them inside the method
botonicInit on each Botonic component you want to track: