How to track events

  • Created : Aug, 07, 2020
  • Last Updated : Nov, 24, 2020

Track events to know the actions performed by a specific user in your app or site. 

Notable examples of an event are Customers launching an app, viewing a product, making a purchase, or simply sharing a photo. You can easily track events to know what your users are doing on the site or in your app.

How can you analyze events in NotifyVisitors :

You can evaluate the facts in various ways :

  • You can know the key metrics of a specific event.
  • Evaluate how the trends for a specific event are changing.
  • Create campaigns based on these events to trigger users and engage with them.
EVENT CATEGORIES IN NOTIFYVISITORS :

There are two categories of events in NotifyVisitors: System events and Custom events.

  • System events: You can record system events automatically once you integrate Notify Visitor's SDK.
  • Custom events: Custom events are firstly defined and then tracked with integrating SDK and API.
EVENT PROPERTIES IN NOTIFYVISITORS :

Every event performed by the user consists of specific details.

For example  - A user viewed a product on your site or app. Product details would be the event properties. i.e., Product name, Product price, and Product category. These properties will further help you in determining which product is more popular. Thereby you can segment your users based on popular product category and price points.

WHAT ARE SYSTEM EVENTS :

As stated above, system events get automatically recorded once you complete the integration of NotifyVisitor's SDK.

Let's see the system event types in NotifyVisitors and how you can track them :

  • PUSH NOTIFICATIONS :
EVENT DESCRIPTION WHEN TO TRACK
Push Registered
You can record this event when a user subscribes for the push notifications
You can track this event when a user views the opt-in sent by Notifyvisitors on the website and registers for the push notification
Push Unregistered This event can be recorded when any user unsubscribes to the push notifications from the website or any app Track the said event when a user ignores the opt-in or unsubscribes for the previously subscribed push notifications sent by the NotifyVisitors.
Push Clicked You would be able to record this event whenever the user clicks or performs an action on the push campaigns This event can be tracked when NotifyVisitors send a push campaign to the user regarding a specific offer, and the user clicks on the CTA button
Push delivered This event can be recorded when a notification is sent by NotifyVisitors and delivered to the user browser or device You can track this event when NotifyVisitors sends a push campaign to the users and it delivers successfully to the users
Push dismissed You can record this specific event when the notification is sent by NotifyVisitors and users received it but closed it at the same time. Track this event whenever NotifyVisitors send a push campaign to the users and they dismiss it, due to the reason they have uninstalled the browser or they have not opened the browsers for a long time
  • EMAIL CAMPAIGNS :
Event Description When to track the event
Email unsubscribed You can record this event when subscribers unsubscribe from the services of NotifyVisitors. Track this event in the case when a user has previously subscribed to the email services and later on unsubscribed them
Email delivered Record this event when an email campaign is sent by NotifyVisitors and is delivered to the users Track this event when an email is successfully sent by NotifyVisitors and at the same time delivered to the users.
Email opened You can record this event when the users receive and open the mail campaign sent by the NotifyVisitors. You can track the said event when NotifyVisitors has sent an email campaign to the users, they have received them and opened them to perform an action
Email clicked This event can be recorded when the user has clicked on the mail campaign sent by the NotifyVisitors. Track this event in case an email campaign has been successfully received, viewed and clicked by the users
Email bounced You can record the following event when a user has not accepted the mail sent by NotifyVisitors or it is not delivered to him due to some underlying server issues You can track this event when the email has not been successfully sent or accepted by the users.
Email rejected Record this event when the email campaign sent by the NotifyVisitors is either rejected or dismissed by the users. Track this event when the email campaign has been sent to the users but they may have labeled them as spam messages.
  • SMS CAMPAIGNS :
Event Description When to track
SMS clicked This event can be recorded only when a user clicks on the SMS campaign sent by the NotifyVisitors Track this event whenever a user clicks on the SMS campaign or you can create an SMS clicked event for every UTM visited event which is tracked by NotifyVisitors and not any other provider.
  •   SURVEYS :
Event Description When to track
Survey attempted You can record the event when a user has attempted or filled a survey campaign Track this event when NotifyVisitors send a survey to the users on a medium or channel and the user opens it and gives feedback
Survey Clicked Record this event when the user has received a survey via email after he buys a product or clicks on the survey This event is tracked only when the users click on the survey which NotifyVisitors send. You can create a survey clicked event for every UTM visited which is tracked by NotifyVisitors and not any other provider
Survey impression You can record the following event whenever a survey is sent by NotifyVisitors and delivered to the users. Track the following event whenever surveys are sent to the users and delivered to them successfully. Survey impressions imply the number of times the survey has been opened by the user
  •  NPS SURVEYS :

 

Event Description When to track
NPS Attempted You can record the event when a user has attempted or filled an NPS survey campaign. Track this event when NotifyVisitors send an NPS survey to the users on a medium/channel or the users view it on the website and they give their feedback by attempting them.
NPS Clicked Record this event when the user has received an NPS survey via email or on a website after he buys a product or clicks on the survey This event is tracked only when the users click on the NPS survey which NotifyVisitors send. You can create a survey clicked event for every UTM visited which is tracked by NotifyVisitors and not any other provider
NPS impressions You can record the following event whenever an NPS  survey is sent by NotifyVisitors and delivered to the users Track the following event whenever NPS surveys are sent or viewed by the users on the website.  NPS Survey impressions imply the number of times the survey has been opened by the user
  • MOBILE APP :
Event Description When to track
App Installed This event is recorded when a user installs your application. Track this event when a user installs your app, installs it or when a user clears up an app’s memory. Another case could be if the user installs the app on multiple devices.
App Upgraded Record this event when a user upgrades your application. You can track this event when a user has installed the app or upgraded it on a single or multiple devices
App Uninstalled You can record this app when a user uninstalls the app Track this event by sending silent push notifications that are not rendered on a user’s device. This way you can track the uninstalls by sending the silent push notifications to an entire uninstall base
App Crashed Record this event when a user opens the app and it suddenly stops. The following event can be tracked when a user has installed the app, opened it but it somehow stops due to an unhandled exception or signal.
App Opened Record this event whenever a user opens up an app. The said event can be tracked by the user when the user has installed and opened the app and performs any function on it
  • LEAD FORMS :
Event Description When to track
Lead form submitted You can record the event when the user has clicked, opened, and attempted the lead form and clicked on the SUBMIT button successfully. Track this event when a user visits the website and signs up for the services. This event can only be tracked when the user has clicked, opened, filled and submitted the lead form
Lead form Impressions Record this event when the user has clicked and opened the lead forms. Lead form impressions are the number of times a user has clicked on the lead forms. Record this event when a user has clicked in the lead form many times. View the lead form click counts through the analytics in the dashboard.
  • BANNER :
Event Description When to track
Banner clicked You can record the event when the user has clicked on a web or an app banner. Track this event whenever a user views and clicks on the banner sent by the NotifyVisitors
Banner impression Record the event when the user has viewed the banner. This event can only be tracked whenever a user clicks on the banner. View the clicks on the banner in the statistics and analytics.

 

WHAT SYSTEM ATTRIBUTES DOES NV COLLECT :

NotifyVisitors collect the system properties automatically from Mobile SDK. The system properties and attributes are prefixed and predefined by NotifyVisitors, explaining that Notify provides these properties. The following are the generic attributes that give you an overview and context of the events performed by the users. See the details below :

SYSTEM PROPERTY/ATTRIBUTE DESCRIPTION
TIME It is the user’s timezone at which he performed an event.
LOCATION It is the users’ location which is identified by the latitude and longitude
TECHNOLOGY(OS, Browser, App ID, Device Model, etc.) It is the device or browser used by the users’ to perform an event.
WHAT ARE CUSTOM EVENTS :

Custom events are the events you define and then track with SDK or API.

Let's understand it better with an example :

If you want to record an event, let's say a user viewed a product on your app. The event name will be "Product Viewed." You can record this event with the following code :

Example

  • Event without properties
  • nv(‘event’, Product_Viewed)

How to record an event's metadata automatically :

NotifyVisitors records the following standard metadata for all the recorded events :

  • A user's information who performed the activity.
  • When did the event happen
  • How many screens did users view before acting?
  • The exact source of the user's visit in case it's an external source.

Note: NotifyVisitors keep user's profiles updated with their geographical information. i.e., their city, country, latitude and longitude, and the browser or device through which they have accessed your website.

How to discard events attributes:

You can drop the existing event attributes in case you have reached a maximum limit for the event types in the NotifyVisitors account. It will enable you to record the new events as you will get enough space now to record events while deleting some of the old ones.

discard-event-attributes

Points to remember while designing an event :

NAME YOUR EVENTS :
  • First of all, integrate the main events that are crucial from your business point of view.
  • Give short names to your events and properties.
  • Assign names to your events, which align with the action performed by the user on your site. For example, - the product viewed adding products to the cart.
  • Try to use similar names across all mobile apps and websites.
  • Group the events which have common prefixes such as - You may group a booking initiation process or a booking completion process in a regular section.
WHAT YOU MUST NOT DO :
  • Record more significant events instead of the micro ones. For example, - Suppose a user watched the video on your site. You can consider the event as a whole by recording the duration as the event property, instead of breaking the event properties into 2 or 3 parts. i.e., a video started, pause, or began.
  •  Do not take each action of the user into account in events as it will be challenging to find answers in the dashboard.
  • Record only those actions which are in alignment with your objectives. Do not record unloads button clicks or form submissions.
  • Do not capture page views as your events or page URLs as your event properties. Merely analyze user insights, such as their engagement with your products. Know it via the pages they are visiting.
Things to remember :
  • Record some events for your application or website as the event flows can be different.
  • Record each purchase event separately for better funnel analysis.
  • In case you are accepting payments in different currencies, you can record it as through event properties.
  • You cannot store profile information as an event property. Instead, use it as a user attribute.

CONCLUSION

Read the detailed guide on how to track events and what are types of events that can be recorded and tracked in NotifyVisitors.  Know the relevance of system properties while recording and tracking the events as they play an important role in defining the user attributes.

Related Articles