No description, website, or topics provided.
Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SBTrackingNotifier
SBTrackingNotifierDemo.xcodeproj
SBTrackingNotifierDemo
SBTrackingNotifierDemoTests
.gitignore
README.md

README.md

Tracking-Notifier

##Purpose: This is intended to provide a way to visually validate the triggering of events and their attributes as they are passed to various tracking services.

##Features:

  • Activate and Deactivate switches
  • Small notification tray with event name and attributes

##Dependancies:

  • ARC

##Integration Steps:

  • Add SBTrackingNotifier to project

  • In the app delegate class, #import "SBTrackingManager.h" and add the following line of code to application:didFinishLaunchingWithOptions: function"

        
    [[SBTrackingNotificationManager sharedInstance] setUpTrackingNotifications];
    
    
    
  • Add your various analytics and tracking providers tracking methods in SBTrackingManager.m method named -(void)tagEvent:(NSString *)event attributes:(NSDictionary *)attributes

  • Each time you wish to track an envent in your code use the function:

    
     [[SBTrackingManager sharedManager] tagEvent:@"[Event Name]" attributes:@{@"[Key]": @"[Value]"}];
    
    

##Usage:

  • Tap three times with two fingers to activate the notification UI
  • After being activated, the notifications will be automatically triggered
  • Tap the notifications to dismiss early