Latest 1.1.3
License MIT
Platforms ios 9.0



TechMpire Measurement SDK CocoaPods distribution for iOS developers


mpire_nxus_measurement is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "mpire_nxus_measurement"

SDK initialisation

After you completed the previous step, you are ready to initialise the library and start sending events.
Open AppDelegate.m class and import the library header file:

#import "mpire_nxus_measurement/MpireNxusMeasurement.h"

Then, initialise it within AppDelegate’s didFinishLaunchingWithOptions method:

[MpireNxusMeasurement initializeLibrary:@"YOUR_API_KEY"];

Sending custom events

You can send custom events by calling the method trackEvent:

[MpireNxusMeasurement trackEvent:@"event-name"];

If you have any additional parameters you would like to send, pass in an instance of NSMutableDictionary:

NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
[params setValue:@"value" forKey:@"key"];
[MpireNxusMeasurement trackEvent:event params:params];

Sending predefined events

You can send predefined events using the SDK, with following methods:

[MpireNxusMeasurement trackEventInstall:params];
[MpireNxusMeasurement trackEventOpen:params];
[MpireNxusMeasurement trackEventRegistration:params];
[MpireNxusMeasurement trackEventPurchase:params];
[MpireNxusMeasurement trackEventLevel:params];
[MpireNxusMeasurement trackEventTutorial:params];
[MpireNxusMeasurement trackEventAddToCart:params];
[MpireNxusMeasurement trackEventCheckout:params];
[MpireNxusMeasurement trackEventInvite:params];
[MpireNxusMeasurement trackEventAchievement:params];

Every method takes additional parameters using NSMutableDictionary:

NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
[params setValue:@"value" forKey:@"key"];


To enable logging, call the method debuggingEnabled before library initialisation:

[MpireNxusMeasurement debuggingEnabled:YES];


TechMpire ltd.


mpire_nxus_measurement is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "mpire_nxus_measurement",
    "version": "1.1.3",
    "summary": "Library for generating attribution events, while also enabling users to track events.",
    "description": "Automatically track attributions and log custom events. Support event parameteres.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "TechMpire ltd.": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1.3"
    "platforms": {
        "ios": "9.0"
    "source_files": "MpireNxusMeasurement/Classes/**/*"

Pin It on Pinterest

Share This