Skip to content
16 changes: 8 additions & 8 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PODS:
- Analytics (3.7.0)
- ComScore (5.8.7):
- ComScore/Dynamic (= 5.8.7)
- ComScore/Dynamic (5.8.7)
- ComScore (6.0.0):
- ComScore/Dynamic (= 6.0.0)
- ComScore/Dynamic (6.0.0)
- Expecta (1.0.6)
- OCHamcrest (7.1.2)
- OCMockito (5.1.2):
- OCHamcrest (~> 7.0)
- Segment-ComScore (3.0.0):
- Segment-ComScore (3.1.0-beta):
- Analytics (~> 3.6)
- ComScore (~> 5.0)
- ComScore
- Specta (1.0.7)

DEPENDENCIES:
Expand All @@ -33,13 +33,13 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Analytics: 77fd5fb102a4a5eedafa2c2b0245ceb7b7c15e45
ComScore: 4d377376e44c77de1e435a32fdf38d2507d6906c
ComScore: 756ae822566c22ee48802b06a3f81e966fb68dda
Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5
OCHamcrest: b284c9592c28c1e4025a8542e67ea41a635d0d73
OCMockito: 51a534e667194e1ecae88c5def301cc8b0ab3cc7
Segment-ComScore: 972ab17e20a945c17ba1f7f18f11488af6b13299
Segment-ComScore: 7cad310dca77c370058b3831edcd875f26bec232
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66

PODFILE CHECKSUM: 58708c888acf3799898d9149cc9266ed0823f288

COCOAPODS: 1.8.3
COCOAPODS: 1.8.4
30 changes: 29 additions & 1 deletion Example/Segment-ComScore/SEGAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[[SEGAnalytics sharedAnalytics] track:@"comScore Example Launched v2019"];

[[SEGAnalytics sharedAnalytics] track:@"Video Playback Started"
properties:nil
properties:@{
@"content_asset_id" : @"1234",
@"ad_type" : @"pre-roll",
@"video_player" : @"youtube",

}
options:@{
@"integrations": @{
@"com-score": @{
Expand All @@ -46,6 +51,29 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}
}];

[[SEGAnalytics sharedAnalytics] track:@"Video Content Playing"
properties:@{
@"asset_id" : @"3543",
@"pod_id" : @"65462",
@"title" : @"Big Trouble in Little Sanchez",
@"season" : @"2",
@"episode" : @"7",
@"genre" : @"cartoon",
@"program" : @"Rick and Morty",
@"total_length" : @400,
@"full_episode" : @"true",
@"publisher" : @"Turner Broadcasting Network",
@"channel" : @"Cartoon Network"

}
options:@{
@"integrations": @{
@"com-score": @{
@"c4":@"testing-v2019"
}
}
}];

[[SEGAnalytics sharedAnalytics] flush];

return YES;
Expand Down
Loading