Inherits from NSObject
Declared in NMEvent.h
NMEvent.m

Overview

NMEvent class provides a simple to use interface for tracking users' behaviors during application usage.

Netmera SDK tracks following events internally:

  • App installation events
  • App open events
  • App close events
  • Time events which track the time that is passed in the application.
  • Push notification open events
  • Location change events (both on foreground and background)

Moreover, you can create custom events and track users' different behaviors.

If the default location tracking mechanism of Netmera SDK is used, location change events can be fired succesfully on both foreground and background states of the application. This service drastically reduces battery drain by monitoring only cell tower changes. However, if NMLocationManager class is used to monitor location changes, gathering these events will be power-intensive operation. Also, ‘location updates’ background mode is enabled for tracking on background.

Tasks

Class Methods

sendEventWithKey:value:

The method which sends related custom event with given key and value.

+ (void)sendEventWithKey:(NSString *)key value:(NSDictionary *)value

Parameters

key

A string value which uniquely identifies related event.

value

An NSDictionary object which includes the data related to event.

Discussion

The method which sends related custom event with given key and value.

Use this method to track behavior of users which could be beneficial for you.

Declared In

NMEvent.h