Data Sources
AudienceStream
through TealiumIQ.
Data sources generated by sendEventWithData
When calling the sendEventWithData: method:
Objective-C
- (void) sendCollectEvent {
NSDictionary *data = @{ @"custom_key" : @"custom_value"};
[TealiumCollect sendEventWithData:data];
}
Swift
func sendLifecycleEventWithName(name: String) {
let data: [String: String] = ["event_name" : name]
TealiumCollect.sendEventWithData(data)
}
A log is generated resembling:
2015-06-23 10:13:56.688 CollectAPISampler[43494:1431689] Successfully sent dispatch with payload {
"app_name" = CollectAPISampler;
callType = link;
"custom_key" = "custom_value";
"event_name" = "mobile_link";
"library_version" = "collect-1.0";
"os_version" = "8.3";
platform = ios;
timestamp = "2015-06-23T17%3A13%3A56Z";
}
Where:
- app_name
- call_type
- event_name
- library_version
- os_version
- platform
- timestamp
Was generated by the Tealium Collect Library, and the entire dispatch is sent to the AudienceStream's servers and can be seen in a log resembling:
https://datacloud.tealiumiq.com/vdata/i.gif?tealium_account=tealiummobile&tealium_profile=main&tealium_vid=C3CB8C87CBD443FC92EAC9721734F68F&callType=link&custom_key=custom_value&event_name=mobile_link&library_version=collect-1.0&platform=ios&os_version=8.3×tamp=2015-06-23T17%3A15%3A49Z&app_name=CollectAPISampler&custom_key=custom_value
Data sources generated by sendViewWithData
When calling the sendViewWithData: method:
Objective-C
- (void) sendCollectView {
NSDictionary *data = @{ @"custom_key" : @"custom_value"};
[TealiumCollect sendViewWithData:data];
}
Swift
func sendCollectView() {
let data: [String: String] = [ "custom_key" : "custom_value" ]
TealiumCollect.sendViewWithData(data)
}
A log is generated resembling:
2015-06-23 10:30:19.293 CollectAPISampler[44016:1473833] Successfully sent dispatch with payload {
"app_name" = CollectAPISampler;
callType = view;
"custom_key" = "custom_value";
"library_version" = "collect-1.0";
"os_version" = "8.3";
"page_type" = "mobile_view";
platform = ios;
timestamp = "2015-06-23T17%3A30%3A19Z";
}
Where:
- app_name
- call_type
- library_version
- os_version
- page_type
- platform
- timestamp
Was generated by the Tealium Collect Library, and the entire dispatch is sent to the AudienceStream's servers and can be seen in a log resembling:
https://datacloud.tealiumiq.com/vdata/i.gif?tealium_account=tealiummobile&tealium_profile=main&tealium_vid=C3CB8C87CBD443FC92EAC9721734F68F&callType=view&custom_key=custom_value&library_version=collect-1.0&platform=ios&os_version=8.3&page_type=mobile_view&app_name=CollectAPISampler×tamp=2015-06-23T17%3A30%3A19Z&custom_key=custom_value