Skip to content

Update to Commanders Act version 5 #62

@defagos

Description

@defagos

As a member of the analytics team I want results to be gathered with the new Commanders Act platform requiring version 5 of the SDKs to be running in mobile applications.

Acceptance criteria

  • The Commanders Act SDK has been updated.
  • Integration documentation has been updated if needed.
  • The SDK is available on GitHub.
  • Integrators have been notified about the change and the deadline.

Remark: Server-side tags need to be migrated as well for the whole integration to work. Handled by the GD.

Hints

  • Migration to V5 is documented. In particular the events are now not anonymous data dictionaries but are specifically defined with their associated data.
  • The list of available events is documented.

Tasks

  • Update SDK.
  • Gather examples to be able to discuss how each use case we support (page view, hidden event, streaming event) must be sent with v5.
  • Ask for source key to use.
  • Update instantiation.
  • Update request interceptor.
  • Update hidden event implementation.
  • Update API to use "event" term for general events, instead of "hidden event".
  • Update page view implementation.
  • Update stream tracking implementation.
  • Profile app launch time.
  • Update integration documentation.
  • Replace references to Tag Commander with Commanders Act.
  • Remove prod / preprod environment flag. Callers must provide source keys for debug / production instead (and pick the correct one at initialization time).
  • Use debug key in SRG Analytics demo.
  • Build and send fields which were previously built server-side, e.g. page_unique_name (if the feature is not provided by the new Commanders Act platform). All was migrated in Server side V2 in Data cleansing feature.
  • Generate test data for Commanders Act (Play app with v5) sent to debug source keys.
  • If SRG SSR debug / production source keys are known to be fixed provide constants for them.
  • Related to TCCore 5.x versions, update documentation to provide information about NSBluetoothPeripheralUsageDescription and NSBluetoothAlwaysUsageDescription keys in application Info.plist. Example: "The application should not use Bluetooth. Please don’t allow.".
  • Archive SRGSSR "Tag Commander" repositories.
  • Update to version 5.3.1 and figure out that a new name for the event title, event_title, conflicting with the reserved event_name from the SDK.
  • Update to version 5.3.1 and use now event_name as custom event name, installed of hidden_events.
  • Have a look at potential related decisions.
  • Clarify pageType and pageName, regarding srg content_title and content_page_type properties.
  • Clarify rules client side and server side to split media events and events: SRGAnalytics unit tests don't sent the media_urn, which seems to be the the "media uid" for Webtrekk to group events together. Did in the migration guide.
  • Write a migration guide: In wiki part: migration guide.
  • Update migration guide with release number and remove "WIP".
  • Use iOS debug source key for unit tests.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions