bcc-code / bcc-media-app

[BCC Media] Video-on-demand app for iOS and Android
https://apps.apple.com/no/app/brunstadtv/id913268220
Apache License 2.0
16 stars 3 forks source link

Send Rudderstack event that can be linked to a NPAW playback session in Metabase #459

Open mulundapm opened 1 month ago

mulundapm commented 1 month ago

The goal is to have a RS event where we can add arbitrary metadata to the NPAW play session.

We should hook into either NPAW even or some kind of "playback started" event. We should make sure that every NPAW playback session has at least one corresponding RS event, but can have more than one (just don't send them like every second).

sifferhans commented 2 weeks ago

@KillerX There is a way to hook into the different events sent to npaw, but I cannot see any unique identifier per event. I think there is a way to inject custom data into the request before it is sent to npaw, but I haven't found the specific API to do that yet

If I find a way to inject custom properties into the request, we could generate a UUID or something for each event, and then both inject and also bubble up to Flutter

EDIT: it seems like the hook to change the request before the event is sent out only allows to change already defined properties, not add custom ones

sifferhans commented 1 week ago

Pull requests

BCCM

Live