Analytics
In this page we will show you how you can quickly track events in your app. This can be extremely useful if you want to measure certain views, usage of certain features or pretty much anything in your app.
If you wish to visualize the data generated by these events, you can subscribe the Reports add-on feature of Notificare. This feature will allow you to create time series charts where we break down these metrics for you.
In your app you simply need to invoke the following method, whenever you want to measure something:
await Notificare.events().logCustom('LOGIN_VIEW');
This would create an event of type re.notifica.event.custom.LOGIN_VIEW
.
Additionally, you can also store more data with your events by simply including it whenever you register the event:
const data = {
'user_id': '...',
};
await Notificare.events().logCustom('LOGIN_VIEW', data);