Configuring Analytics via Smartech

This method is used to track custom events which are defined by the client, to which you can analyse users usage pattern of the product. Each event must have a name and a set of attributes describing more about the event in detail.

Map<String,Object> properties = {};
properties["name"] = "suraj";
properties["premium_user"] = true;

Smartech().trackEvent("page_load", properties);

📘

Notes

  • Smartech will automatically discover new custom activity by activity name along with payload parameters and data types.
    • Smartech supports following data types - String, Integer, Float, Date, Array, Boolean, JOSNObject.
    • Smartech will automatically convert the activity name into lowercase.
    • All the payload keys must be in lower cases.
    • Please provide the value of date in YYYY-MM-dd HH:mm:ss format.

Click here to explore predefined events in CEE .

Please do note that you cannot pass custom payload parameters for system events that Netcore SDK tracks automatically - e.g. App Launch, First App Launch, App Reinstalled, App Updated

📘

Note

You can send maximum of 100 unique custom events names. Any additional events exceeding this limit will be dropped. You can reach out to your account manager if you want to send more events.