Tracking Events

Introduction

Events are all the actions performed by the user on the mobile application. CEE SDK enables you to record user events and later learn more about your app’s usage patterns and to segment your users, target and personalize messaging based on the events performed by them.
Each event must have a name and a set of attributes describing more about the event in detail.

Tracking Custom Events

Custom events enable you to track user actions in your app. Now you can now start associating user actions with the custom name instead of ids, use below method.

Smartech.track("EVENT_NAME", "PAYLOAD_STRING");

// Sample code for reference purpose only
const payloadata = {
    name: "Galaxy",
    description: "20gram bars",
    payload_id: "1",
    event_id:21
};
Smartech.track("Page Browse", payloadata);

Did this page help you?