Created
December 5, 2019 14:19
-
-
Save youvalv/0487fd3e6376fce92d39863dcd8012e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// value: some information about the action - type of subscription plan, type of segment, A/B test ID. etc. Can be nil | |
// instanceId: the moment ID used to trigger the desired action. Can be nil | |
// action: definition of the action. Can be one of: http://docs.theneura.com/ios/Constants/NEngagementFeatureAction.html | |
[NeuraSDK.shared tagEngagementAttempt:"featureName" value:"ABTestId" instanceId:nil error:&err]; | |
[NeuraSDK.shared tagEngagementFeature:"featureName" action:NEngagementFeatureActionSuccess value:valueField.text instanceId:instanceIdField.text error:&err]; | |
// When error validation is not needed, the error parameter can be nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment