iOS - Sending Campaign Parameters
After initialisation of application with a click on a push message use the following method to send campaign parameters:
Objective-C
NSMutableDictionary *properties = [[NSMutableDictionary alloc] init]; [properties setObject:@"euromsg campaign" forKey:@"utm_campaign"]; [properties setObject:@"euromsg" forKey:@"utm_source"]; [properties setObject:@"push" forKey:@"utm_medium"]; [[Visilabs callAPI] sendCampaignParameters:properties];
Swift
var properties = [String:String]() properties["utm_source"] = "euromsg" properties["utm_medium"] = "push" properties["utm_campaign] = "protein campaign" Visilabs.callAPI().sendCampaignParameters(properties)
Parent Topic:Â iOS - Mobile Tagging
Copyright 2020 Related Digital