Track views
In an iOS application, Splunk MINT automatically tracks the views a user accesses. As soon as a user initializes your app, Splunk MINT captures the render time of a view, the current and previous view of a user (relative to an error), and the time a user spends on a view.
Splunk MINT does not automatically track alert views. To track alert views, configure the log view manually.
//Objective C [[Mint sharedInstance] logViewWithCurrentViewName:@"TestView"]; [[Mint sharedInstance] logViewWithCurrentViewName:@"TestView" extraDataKey:@"Key" extraDataValue:@"Value"]; MintLimitedExtraData* extraData = [[MintLimitedExtraData alloc] init]; [extraData setValue:@"value" forKey:@"key"]; [[Mint sharedInstance] logViewWithCurrentViewName:@"TestView" extraData:extraData];
//Swift Mint.sharedInstance().logViewWithCurrentViewName("TestView") Mint.sharedInstance().logViewWithCurrentViewName("TestView", extraDataKey: "Key", extraDataValue: "value") let limitedExtraData = MintLimitedExtraData() limitedExtraData.setValue("value", forKey: "key") Mint.sharedInstance().logViewWithCurrentViewName("TestView", extraData: limitedExtraData)
Add breadcrumbs to crash reports | Report user-specific data |
This documentation applies to the following versions of Splunk MINT™ SDK for iOS (EOL): 5.0.x
Feedback submitted, thanks!