Is your feature request related to a problem? Please describe.
We made a patch fixing some markup issues in the PUC on mobile, it may impact rendering times performance, however there is no easy time to measure the rendering time without instrumenting the PUC with logging calls. We also need the baseline to test against.
Describe the solution you'd like
We would like an event sent into the native layer we could subscribe to and receive the start of rendering and end of rendering. This is mobile specific - so the mechanism to message might be GAM App Events and native layer to subscribe. The native layer will receive the events and me
Describe alternatives you've considered
We considered logging via console.log, but it is hard to capture console logs on mobile and then track analytics based on those logs.
Additional context
The idea is to track prebid.puc_render_begin and prebid.puc_render_end events and then in the native layer we can measure time difference between those and record in this metrics.
Is your feature request related to a problem? Please describe.
We made a patch fixing some markup issues in the PUC on mobile, it may impact rendering times performance, however there is no easy time to measure the rendering time without instrumenting the PUC with logging calls. We also need the baseline to test against.
Describe the solution you'd like
We would like an event sent into the native layer we could subscribe to and receive the start of rendering and end of rendering. This is mobile specific - so the mechanism to message might be GAM App Events and native layer to subscribe. The native layer will receive the events and me
Describe alternatives you've considered
We considered logging via
console.log, but it is hard to capture console logs on mobile and then track analytics based on those logs.Additional context
The idea is to track
prebid.puc_render_beginandprebid.puc_render_endevents and then in the native layer we can measure time difference between those and record in this metrics.