Skip to content

Picture in picture

Usage and engagement metrics for the video Picture-in-Picture feature.

Source | Edit

Metrics

opened_pip_more_than_once

**Opened Picture in Picture Toggle at Least Twice **

Fraction of clients that opened the PiP toggle more than once

Analysis Period: weekly, overall

Data Source: events_pip

Statistics: binomial

Definition:
LOGICAL_OR(
        event_category = "pictureinpicture"
        AND event_method = "opened_method"
        AND mozfun.map.get_key(event_map_values, 'firstTimeToggle') = 'false'
    )

opened_pip_on_first_time

**Opened Picture in Picture Toggle at First Time Exposure **

Fraction of clients that opened the PiP toggle at First Time Exposure

Analysis Period: weekly, overall

Data Source: events_pip

Statistics: binomial

Definition:
LOGICAL_OR(
        event_category = "pictureinpicture"
        AND event_method = "opened_method"
        AND mozfun.map.get_key(event_map_values, 'firstTimeToggle') = 'true'
    )

saw_pip_toggle_first_time

**Saw Picture in Picture Toggle for First Time **

Fraction of clients that saw the PiP toggle for the First Time

Analysis Period: weekly, overall

Data Source: events_pip

Statistics: binomial

Definition:
LOGICAL_OR(
        event_category = "pictureinpicture"
        AND event_method = "saw_toggle"
        AND mozfun.map.get_key(event_map_values, 'firstTime') = 'true'
    )

saw_pip_toggle

**Saw Picture in Picture Toggle **

Fraction of clients that saw the PiP toggle

Analysis Period: weekly, overall

Data Source: events_pip

Statistics: binomial

Definition:
LOGICAL_OR(
        event_category = "pictureinpicture"
        AND event_method = "saw_toggle"
    )

picture_in_picture_total_duration

**Per-user total length of Picture in Picture sessions **

The distribution of total user PiP session duration

Analysis Period: weekly, overall

Data Source: main

Statistics: kernel_density_estimate, empirical_cdf, bootstrap_mean, deciles

Definition:
SUM(
        mozfun.hist.extract(
            payload.histograms.fx_picture_in_picture_window_open_duration
        ).sum
    )

picture_in_picture_median_duration

**User-median length of Picture in Picture sessions **

The distribution of user-median PiP session lengths

Analysis Period: weekly, overall

Data Source: main

Statistics: kernel_density_estimate, empirical_cdf, bootstrap_mean, deciles

Definition:
mozfun.hist.percentiles(
        mozfun.hist.merge(
            ARRAY_AGG(
                mozfun.hist.extract(
                    payload.histograms.fx_picture_in_picture_window_open_duration
                )
            )
        ),
        [0.5]
    )[SAFE_OFFSET(0)]

picture_in_picture_sessions

**Number of Picture in Picture sessions **

Number of PiP sessions that users opened over the measurement window

Analysis Period: weekly, overall

Data Source: events_pip

Statistics: bootstrap_mean, deciles

Definition:
COUNTIF(
        event_category = "pictureinpicture"
        AND event_method = "create"
    )

used_picture_in_picture

**Used Picture in Picture **

Fraction of clients that used PiP over the measurement window

Analysis Period: weekly, overall

Data Source: events_pip

Statistics: binomial

Definition:
LOGICAL_OR(
        event_category = "pictureinpicture"
        AND event_method = "create"
    )

Data Sources

main- Main

Main ping table

Definition:


events_pip- Picture in Picture events

Picture in Picture related events

Definition: