I use Azure API Management (AAM thereof) to provide API.chat APIs to chatbot developers. One of the important parts of it is to monitor usage, DAU (daily active users), most used endpoints, errors, and other metrics.
To do so AAM provides an Analytics tab where all information aggregated. The problem here that this is usage analytics, not product analytics, and it's also not very convenient to use.
Azure provides Azure SDK and REST endpoint for API Management. You could use Azure Functions to build product analytics and setup daily reports into a chatbot with it.
Read more about this chatbot here.
To gather data from Azure AAM and to trigger daily reportrs two Azure Functions are used.