Tracking Events
Track user behavior events with Antsomi Android SDK for better user insights and improved app experiences
Last updated
Track user behavior events with Antsomi Android SDK for better user insights and improved app experiences
Last updated
Must Read
We recommend that you get acquainted with , , and their attributes before proceeding. Doing so will help you understand the workings of this section, better.
Antsomi starts tracking some events as soon as you . These are called System Events and track some generic user interactions with your app and campaigns. that we automatically track.
You can create Custom Events to track any other user interactions that are crucial for your business. Each Custom Event can further be defined by Event Attributes like price, quantity, category, and so on. Such granular data enables you to engage users through highly contextual and personalized campaigns.
Antsomi SDK offers two distinct methods to facilitate event tracking within your application. The first method, trackingScreen()
, should be triggered whenever your user interacts with any screen within your application. The second method, track()
, serves as a comprehensive solution for tracking various events, encompassing both System Events and Custom Events, providing you with a unified approach to monitor user interactions and behaviors effectively.
By default, the Antsomi SDK will fire the event screen view automatically when the Activity stack is changed. However, you can turn this off and manually track it by utilizing the Antsomi SDK's trackingScreen()
function. This method allows you to monitor user interactions with various screens and gather valuable insights.
Other events can be effortlessly tracked using the AntsomiSDK's track()
method within your Android application. This method allows you to monitor user interactions and events beyond screen views, providing you with comprehensive insights into user behavior. Additionally, you have the flexibility to include associated data as Custom Event Attributes with each event, enriching your Antsomi CDP365 dashboard with valuable contextual information.
For example, the Add to Cart Event can be tracked by below: