What you will learn

This tutorial will teach you how our SDK analytics library works, to enable you to retrieve and leverage all of the zone-related interaction analytics with the Herow platform.

About Analytics

The Herow platform generates many types of analytics around zone usage and interactions, based on the logs created by the mobile SDK.

For instance, the Herow platform manages the following notification-related metrics:

  • Number of notifications displayed per zone
  • Number & percentage of engagement on notifications

The generation of logs for local notifications is fully automatic with the mobile SDK. You can see below the logs that are generated and how you can configure the LogsManager.

How does the SDK send logs to Herow?

The SDK uses the HerowLogsManager to send logs to the Herow platform.

The HerowLogsManager saves the logs in a specific database, and sends them in a dedicated thread when a maximum number of logs and a maximum waiting time is reached.

A pushLogsNow method also exists in the SDK, to immediately send the logs saved in the database to the Herow platform, each time a notification is displayed.

The Application Settings section on Herow allows you to manage:

  • The network that your application can use to send the logs back to the Herow platform: WIFI_ONLY or ALL (for all types of networks)
  • The maximum number of logs mentioned above
  • The maximum waiting time mentioned above

Default settings are:

  • Network type: ALL
  • Maximum number of logs: 30
  • Maximum waiting time: 25 seconds

Being GDPR compliant

Please refer to the dedicated GDPR tutorial to make the SDK compliant with the GDPR.


Starting from version 3.0.3 on Android, the SDK won't collect analytics without getting the appropriate opt-ins

Notification display logs

Each time a zone notification is displayed, the SDK automatically creates a corresponding log.

Notification engagement logs

Each time a user engages with (= clicks on) a zone notification, the SDK automatically creates a corresponding log, called a redirect log.


The SDK automatically adds the HerowPlaceNotification to the intent associated to the notification. And so, the SDK can automatically generate the logs.