optimizely/objective-c-sdk

event tags

Closed this issue · 1 comments

Im trying to use the event tagging API from this doc. However, the code doesnt look like available in the latest iOS SDK v1.0.1?

NSDictionary *attributes = @{@"device" : @"iPhone", @"ad_source" : @"my_campaign"};

NSDictionary *eventTags = @{
@"purchasePrice" : @64.32,
@"category" : @"shoes",
@"revenue": @6432 // reserved "revenue" tag
};

[optimizely track:@"my_conversion"
userId:@"user123"
attributes:attributes
eventTags:eventTags];

this feature is in 1.1.0