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. 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. 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. Try? ack(eventKey: "purchase", userId: userId)Īt this point, you have set up almost everything we need to run your Full Stack experiment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |