Releases: SRGSSR/srganalytics-apple
Streaming method selection
The SRG Data Provider library has been updated to support recent Integration Layer changes. As a result, the SRG Analytics data provider bridge has been updated:
- Since
SRGProtocol
has been replaced with several separate pieces of information (see https://github.com/SRGSSR/srgdataprovider-ios/releases/tag/5.3), playback is now started with a preferred streaming method. - Associated playback method prototypes have been renamed in a simpler way.
Measurement fixes
This maintenance release fixes critical measurement issues:
- Stream elapsed durations were incorrectly reported (
ns_st_pa
andns_st_pt
) - Stream playhead position (
ns_st_po
) was incorrectly 0 in end events for on-demand streams. - Stream measurement labels were missing in end events. This fix involves a media player update reflected in the project dependencies.
- comScore formatting was incorrect and inconsistent.
If you are using version 2.0 or 2.1, you should consider updating to version 2.1.1 as soon as possible.
Manual view tracking
Since 2.0 only view controller tracking was possible, which was too limited for some of our users who need to track views directly.
This release reintroduces manual view tracking, alongside the usual automatic view controller tracking.
Better analytics
Version 2.0 is a robust, consistent and clean overhaul of 1.x versions. The main philosophy and scope of the library stays the same, but concepts have been refined to precisely delimit the purpose of the library, making it easier to integrate, more reliable and stable, in short, more enjoyable to work with.
Starting with 2.0, Carthage is the only supported way of integrating the library with your project. Have a look at our Migration guide for more information about what changed and how you should migrate your code.
Switch library to HTTPS
- ComScore and Netmetrix requests are now over HTTPS
- Add a script to get all URL Schemes in a plist file for the applications trading feature, introduced with the version 1.5.6.
Applications tracking
- Introduce applications tracking.
Some stuff need to be done during the integration.
More details on the ReadMe page.