if I have an exception in CallMyPrivateMethod (), I should be able to see the stack. Background 2: However, the main issue is that ReSharper isn't showing me the inner exception e.g.
ISWIFT VIEW ENTIRE STACK TRACE FULL
Try? ack(eventKey: "purchase", userId: userId)Īt this point, you have set up almost everything we need to run your Full Stack experiment. after we’ve confirmed purchase completed Luckily the SDK has a method for that! Simply use the ‘track’ method on the SDK client and pass in the key for the event you created (‘purchase’) and the userId. You need a way to tell Optimizely when a user has made a purchase in your app and map this event in your app code to the specific event you created in Optimizely. Since we are experimenting with a new discount feature it makes sense to track if the user goes on to make a purchase after they’ve been shown a discount.Ĭreate an event named ‘purchase’ in your Optimizely project: This means we need to define which actions we want to track. Tracking the users’ relevant actions is how we capture the impact those features had. Exposing users to new features influences them to behave in different ways. In Optimizely, you will use event tracking to measure the performance of your experiments. [self.optimizely startWithCompletion:^(NSData *data, NSError *error) else did not get the discount feature", userId) Self.optimizely = Instantiate the client asynchronously with a callback Instantiate the client asynchronously with a callback Let optimizely = Optimizel圜lient(sdkKey: "Your_SDK_Key")