Pixel Tracking module for iOS
- iOS 8+ & Xcode 11
- Zalo SDK core lib v2.4.0912+
- AdSupport.framework
- Add to Podfile
pod 'ZaloSDK/Pixel'
- Or use prebuilt framework here
- Add link to AdSupport.framework
long long pixelId = 1L;
NSString *event = @"buy";
NSMutableDictionary *params = [NSMutableDictionary dictionary];
params[@"brand"] = @"apple";
params[@"model"] = @"iphone5";
ZPTracker *tracker = [ZPTracker newInstanceWithPixelId:pixelId];
[tracker trackEventWithName:event params:params];