Boomtrain *boomtrain = [Boomtrain sharedInstance];
boomtrain.delegate = self;
NSDictionary *attributes = @{ @"attr1": @"val1", @"attr2": @"val2"};
[boomtrain trackEvent:@"my-event" model:@"model-name" modelId:@"model-id" attributes:attributes];
- (void) trackEventCompleted {
}
- (void) trackEventFailed:(NSError *)error {
}