Analytics

Info
An easy way to track installs and other events.

It’s the best method for effective analytics and reporting features use.

After SDK is initialized, analytics is enabled by default.

You can use analytics to track installs (install and screen view is collected by default) and other events. To add other event to analytics use:


```java
    OcambaHoood.getInstance().sessionEvent(String key);
    
    OcambaHoood.getInstance().customSessionEvent(String key, JSON value);
```

Info
NOTE: set “key” and “value” to specific string.

If you want to disable analytics in the application class add:


```java
    OcambaHoood.getBuilder().analytics(false).init();
```
On This Page