Integrate using the Events API
Events are integral to everything Sitecore Discover does. Tracking widget and funnel events enables Discover to generate personalized product recommendations for users. Event tracking is also essential for generating site metrics such as views, visits, revenue, conversions, and so on.
If you integrate using REST APIs, you can send events to Discover using the Events API.