Events
Overview
Events track what individual actions users perform in your app or website. Some examples of events include a user launching an app, viewing a product, listening to a song, sharing a photo, making a purchase, or favoriting an item.
By tracking events in your app, you can better understand what users are doing. In CleverTap, you can analyze these events in many different ways, such as getting aggregating metrics of a specific event or measuring how a specific event type trends over time. You can also engage with your users based on these events by creating campaigns in CleverTap that are triggered by them.
Event Categories
CleverTap has two categories of events:
- System events: Events recorded automatically after you integrate our SDK.
- Custom events: Events you define and track with our SDK or API.
Event Properties
Events have details that describe the action taking place called properties.
For example, while recording the Product viewed event, you could also store event properties, such as product name, category, and price. Recording event properties will help you discover insights, such as which product category is more popular, and segment users based on which categories or price points they have viewed.
System Events
Events Changelog
You can find information about the most recent changes to our existing system events or the introduction of new ones in our Events Changelog.
System events are events recorded automatically after you integrate our SDK.
Event Type | Description | How Event is Tracked |
---|---|---|
App Installed | The event is raised when the user launches the app for the first time | The event is raised when the user launches the app for the first time on any mobile device. There are two cases when this event will be recorded multiple times for a single user. The first case is when a user installs your app, uninstalls it, and then reinstalls it. The second case is when a user clears your app's memory and relaunches it. |
App Launched | This event is recorded every time a user launches your application. | There are two cases when this event will be recorded. The first case is a fresh app launch, which is when an app is launched from a killed state. The second case is when an app is brought to the foreground after 20 minutes of inactivity in the background. |
App Uninstalled | This event is recorded when a user uninstalls your application. | This event is tracked by sending silent push notifications which is a type of notification that is not rendered on a user’s device. We send silent push notifications to your entire install base once every 24 hours to track uninstalls. For more information, refer to App Uninstall. |
Web Session Started | This is a web entry event similar to the App launched event. This event refers to the event triggered when a user starts a session or engages with your website. | This event will be recorded in two cases: when a user opens a webpage and when a user reloads the browser after 20 minutes of inactivity. |
UTM Visited | This event is tracked when a user clicks on a link from a marketing campaign that has a UTM parameter defined on it. This event is also tracked when a CleverTap-integrated attribution platform, such as Branch or Apsalar, sends this information to CleverTap. | The UTM Visited event is recorded for your marketing campaigns from external sources, such as Google Adwords or AdRoll. |
Notification Sent | This event is tracked when a campaign message is sent to a user. This event is always recorded, even if the user does not open or click on the message. This event is recorded for email, mobile push, SMS and web push, campaigns. The Notification Sent event is available on the Event dashboard but it is not displayed on the User Profile. | The event is tracked when the notification is successfully sent from CleverTap to the communication channel you select for your campaign. |
Notification Failed | This event captures the errors that occurred in the campaign. | This event records campaign errors in CleverTap for user-level tracking and analysis. It enables our customers to track, analyze, and address campaign errors at the user level. This event logs all types of errors for WhatsApp campaigns. However, only specific dispatch errors are currently recorded for other channels, such as Push and SMS. For detailed information on the specific dispatch errors included for these channels, contact your Customer Success Manager (CSM). Note: This event is retained for a year and captures dispatch and delivery errors. For detailed information on WhatsApp errors, refer to WhatsApp Error Stats. Event Properties:
|
Notification Viewed | This event is tracked when a user views an email, in-app notification, or a web notification sent from CleverTap. | The CleverTap SDK recognizes when a notification sent via CleverTap is viewed by a user. Notification Viewed is available for email, web push, in-app, web popup, and app inbox. Important Properties:
|
Notification Clicked | This event is tracked only when a user clicks on a campaign sent via CleverTap. You can track or create a Notification Clicked event for every UTM Visited event that is tracked by CleverTap and not any other provider. There is no separate event storage required for the Notification Clicked event because it is derived from the UTM Visited event. | Recorded when a user clicks on a mobile push, in-app, email, web popup, or web push message sent via the CleverTap dashboard or through the campaign API. The Android push notifications containing deep links to third-party apps are not tracked. Important Properties:
The "Notification Clicked" event is triggered only for CleverTap BSP users if Click tracking is enabled when creating WhatsApp campaigns |
Push Impressions | This event is tracked when a push notification sent from CleverTap is delivered on a user’s device. The funnels on the Push campaign statistics page reflects the count for this event. | After the toggle for Push Impressions is turned on/setup from settings, the CleverTap SDK starts recording an event whenever a push notification sent via CleverTap is delivered to the user’s device. |
App Version Changed | This event is raised when a user’s current app version is different from the user’s previous app version. | This event is tracked when the CT App version system property differs from one App Launched event to another. |
Notification Replied | This event is recorded when a user replies to a WhatsApp message or an SMS campaign. | This event is raised when the brand receives a reply from the user. Properties:
|
Reply Sent | This event is recorded when an agent (CleverTap user) replies to a message from the end user. | This event is raised against the user profile of the end user. |
State Transitioned | This event is recorded for lifecycle optimizer when a user transitions from one stage to another. | This event is raised whenever a user transitions from one state to another or from unmapped to one of the states in the lifecycle optimization framework. It is meant for internal usage at CleverTap and therefore, unavailable for querying. |
Session Concluded | This event is recorded to mark the end of a session. Session tracking must be enabled for the event to be tracked. | This event is raised when there is 20 minutes of inactivity after an event is raised for a user. |
Geocluster Entered | This event is recorded to mark when a device enters a geofence. The event will only be applicable for customers who have the geofence feature enabled for them. | Properties:
The event is tracked whenever a device enters a geofence. |
Geocluster Exited | This event is recorded to mark when a device exits a geofence. The event will only be applicable for customers who have the geofence feature enabled for them. | Properties:
The event is tracked whenever a device exits a geofence. |
Channel Unsubscribed | This event is raised only for Email and Push campaigns. It is raised when end-users unsubscribe from future emails and push notifications. It is also raised when the user resubscribes for the email campaigns | Properties:
|
Channel Subscribed | This event is raised when the user subscribes to a push notification channel for devices with Android OS version 13 and above. In the case of devices on Android 13 and above, the event is raised when the user gives permission. In the case of devices on Android 12, the event is raised when the user resubscribes for the push campaigns. | Properties:
|
Notification Delivered | This is an event raised only for WhatsApp and SMS campaigns. | Provider event property, a string value that represents the service through which the campaign is sent. For example, Twilio. |
App Upgraded | This event is raised when a user’s current app version is different from the user’s previous app version. | This event is tracked when the CT App version system property for an app launch is different from the next app launch. |
Session Concluded | This event is recorded to mark the end of a session. Session tracking must be enabled for the event to be tracked. | This event is raised when there is 20 minutes of inactivity after an event is raised for a user. |
State Transitioned | This is an event raised only for Lifecycle Optimizer.This event is recorded when a user transitions from one stage to another. | This event is raised whenever a user is assigned a state or there is a transition from one state to another. It is meant for internal usage at CleverTap and therefore, unavailable for querying. |
AB Experiment Rendered | This event indicates that the variant has reached the device. | Event is raised when you are using the _Product A/B Tests _feature. |
AB Experiment Rolled Out | This event is raised when the winner variant is sent to all devices. | Event is raised when you are using the _Product A/B Tests _feature. |
AB Experiment Stopped | This event is raised when experiment was stopped. | Event is raised when you are using the _Product A/B Tests _feature. |
AB Experiment Disqualified | This event is raised when the device is disqualified. | Event is raised when you are using the _Product A/B Tests _feature. |
Partner Sync | An event raised for each user profile that is part of cohorts imported from partners like Mixpanel. | The Partner Sync event is raised every time CleverTap receives a cohort sync request from partners like Mixpanel. This event is raised for each user in the cohort sync. |
Debug Events
Debug events are events recorded automatically after you integrate our SDK. These events are raised at certain lifecycle stages in your integration and help you track and manage your integration. These events are available on any profile page and Find People page by adding a parameter to the end of the URL ?showDebugEvents=true
.
Event Name | Description | When is it raised |
---|---|---|
Identity Set | This debug event is raised when a new user is identified on a customer’s app or an identified user pushes another identity. | This event monitors the status and data points that are important for the identification and engagement of users. This event is for monitoring and debugging only. |
Identity Reset | This debug event is raised when a profile is demerged (after demerged, a new profile for every device is created and identities are dropped) either from the dashboard (click on the Profile page to reset identities) or through the Demerge Profile API. | It monitors the reset of identities and handles unnecessary merges. This event is used for monitoring and debugging only. |
Identity Error | This debug event is raised when an existing identity is associated incorrectly with another identity. The former identity is now declared as invalid for the latter's profile. | This event is for monitoring and debugging when identity merges are invalid. |
Reachable By | This debug event is raised when a user becomes reachable by a communication channel such as SMS, email, mobile push, or when there are changes to the existing communication channel. | Tracked for a profile when:
|
Push Unregistered | This event tracks the removal of a mobile push token. It is also raised when FCM returns a 404 Unregistered error for stale tokens from devices that have not connected to FCM for 270 days or for users who uninstall the app. | This event is raised when an existing mobile push token is removed for a profile. Tracked for a profile when:
|
Custom Events
Custom events are events you define and track with our SDK or API. For more information, refer to the Events in the developer documentation.
Charged Event
CleverTap also records transactions or purchases using a special event called Charged. Clevertap enriches this special event with additional information such as items sold, their categories, transaction amount, transaction ID, and information about your users. Recording a purchase against a user marks them as a customer in CleverTap and enables you to compare your funnel reports between customers and non-customers.
When recording customer purchases, you can also record the following:
-
Items Sold
You must use the Items collection to record a list of items sold. Along with the product name, you can add properties such as size, color, category, etc. -
Transaction Amount
The transaction total or subscription charge must be recorded in an event property called Amount.
For more information about recording a Charged event, refer to Events under developer documentation.
Advantages of the Charged Event
The following are the advantages of Charged event:
- Helps you identify your customers and how they are using your app or website
- Run campaigns to reward loyal users or get lost customers back
- Measure customer loyalty via running a cohort analysis on repeat purchases
- Analyze paid campaign performance by total revenue earned
- Get revenue insights like – total revenue, number of transactions, count of paying users, and much more
Charged Event Personalization
You can personalize the message for customers who purchase multiple items in a single transaction. You can do so by using liquid tags from the CleverTap dashboard, as shown in the following sample codes:
- Using for Loops in Liquid Tags
//Iterates over Items array in Event and displays the names of items within the "Event.Items" array, with a default value of "NA" for items that do not have a defined name property
{% for item in Event.Items %}
{{item.name | default: "NA"}}
{% endfor %}
- Using Manual Indexing in Liquid Tags
//Iterates from 0 to 50 and displays the names of the items within the "Event.Items" array, as long as the index is within the valid range.
{% for i in (0..50) %}
{% if i < Event.Items.size %}
{{ Event.Items[i].name | default: "NA" }} //It uses a default value of "NA" for items without a defined name property.
{% endif %}
{% endfor %}
Event.items
is a custom array property that you can use to store additional information about items associated with an event. It allows you to include item-specific details when tracking events. For example, if an event called "Charged" represents a user making a purchase, you can use the Charged.Items
array to store information about the specific items purchased within that event. Each item in the array can have its own properties, such as name, price, quantity, and so.
You can personalize the message for any number of items in the Event.items
array. For example, you want to send an email including order details to the customers who bought three books from your e-commerce website. The Event.items
array, in this case, would include three items, and you can send a personalized message for all three items.
In the case of manual indexing, you can ensure that the index is smaller than the size of the Items array using Event.Items.size
. If the index value exceeds the size of the Items array, the message is NOT dispatched and is marked against errors.
Charged Event Personalization for App Inbox Campaigns
- In the case of App Inbox campaigns, event personalization for
Charged.Items
is not enabled.- However, if you use event personalization with
Charged.Items
, the default values for the items are displayed in the case of App Inbox campaigns.- If you use event personalization with
Charged.Items
when creating a combination of Push Notification and App Inbox campaigns, the personalized values for the items are displayed for Push and default values are displayed for App Inbox.
Event Data Types
CleverTap supports the following data types:
- String
- Integer
- Float
- Boolean
- Mixed
You can use an array only with the Charged event. All others will return an incorrect data type if using an array.
Event Metadata Recorded Automatically
For every recorded event, CleverTap records the following standard metadata:
- Information about the user who performed the event.
- Date and time when the event was recorded.
- The number of screens viewed by the user before performing the action.
- The referring site and the source of the user visit if it was from an external source.
In addition, CleverTap keeps the user profiles updated with the latest:
- Geographic information like their city, region, country, and latitude/longitude (if available).
- Browser, device make, or model used to access the website or app.
System Properties
CleverTap tracks the following system properties automatically from the mobile SDK. All the system properties are prefixed by CT indicating that they are provided by CleverTap.
The following properties are tracked automatically on all events:
System Property | Description |
---|---|
CT App Version | This is the current version of your application installed on the user device. |
CT Latitude | The user location identified by the latitude. |
CT Longitude | The user location identified by the longitude. |
CT Source | The source of the event. For example, the event may originate from a Mobile SDK or an API. All possible values:
|
The following properties are available on the App Launched event:
System Property | Description |
---|---|
CT App Version | This is the current version of your application installed on the user device. |
CT Latitude | The user location identified by the latitude. |
CT Longitude | The user location identified by the longitude. |
CT OS Version | The operating system of the device. |
CT SDK Version | The CleverTap SDK version. For example, 30501. |
CT Network Carrier | The network carrier of the device. |
CT Network Type | The network type of the device. |
CT Connected To WiFi | Indicates if the device is connected to the Wi-FI. |
CT Bluetooth Version | The Bluetooth version of the device. |
CT Bluetooth Enabled | Indicates if Bluetooth is enabled on the device. |
CT Source | The source of the event. For example, the event may originate from a Mobile SDK or an API. All possible values:
|
Latitude and Longitude
The system properties latitude and longitude are captured and sent from the SDK only if the user gives consent on your app.
Updated 9 days ago