As to your questions.
My assumption is that you would like to store Аnalytics data for operations occurring in the Cloud Code layer of your app. I can suggest a few approaches here depending on the use case.
1. Using the Telerik Analytics Client API
You can access this API with HTTP calls from the Cloud Code and store whatever information you consider meaningful for your app's business logic. It is documented here
. Keep in mind that its is not as elaborate as the Monitor API which is, however, limited for client usage.
Also, we have an item
in our Feedback portal where you can share your thoughts and vote.
2. Using the Cloud Code logs
In the Business Logic layer you already have a lot of data logged for events that have custom logic in them.
You can also write to the logs using the standard console.log(str). After that you can access the logs as explained here
. Note that these logs also count towards your data quota. Since they tend to get large very fast, you may also consider to log the desired information in a private, content type (which is denied to all roles in your app) and use the information for analysis from there.
I hope that this helps. Let me know if you have further questions or suggestions.