jetstream/sidebar-vertical-tabs-layout-and-new-tools.toml (79 lines of code) (raw):

[experiment] end_date = "2025-01-13" [experiment.exposure_signal] description = "Clients who upgrade to Firefox 133" name = "firefox_133" friendly_name = "Firefox 133" select_expression = "mozfun.norm.extract_version(app_version, 'major') >= 133" data_source = "clients_daily" window_end = "analysis_window_end" [metrics] weekly = [ "sidebar_engagement", "chatbot_engagement", "sidebar_disable", "chatbot_disable" ] overall = [ "sidebar_engagement", "chatbot_engagement", "sidebar_disable", "chatbot_disable" ] [metrics.sidebar_engagement] select_expression = "COALESCE(LOGICAL_OR(sidebar), FALSE)" data_source = "sidebar_toggle" friendly_name = "Sidebar Engagement" description = "Percentage of clients who opened any panel in the sidebar" [metrics.chatbot_engagement] select_expression = "COALESCE(LOGICAL_OR(chatbot), FALSE)" data_source = "sidebar_toggle" friendly_name = "Chatbot Engagement" description = "Percentage of clients who opened the chatbot panel in the sidebar" [metrics.sidebar_disable] select_expression = "COALESCE(LOGICAL_OR(NOT sidebar_button), FALSE)" data_source = "sidebar_disable" friendly_name = "Sidebar Hard Disable" description = "Percentage of clients who remove sidebar button from toolbar" [metrics.chatbot_disable] select_expression = "COALESCE(LOGICAL_OR(NOT metrics.boolean.genai_chatbot_enabled), FALSE)" data_source = "metrics" friendly_name = "Chatbot Hard Disable" description = "Percentage of clients who disable the chatbot" [metrics.sidebar_engagement.statistics.binomial] [metrics.chatbot_engagement.statistics.binomial] [metrics.sidebar_disable.statistics.binomial] [metrics.chatbot_disable.statistics.binomial] [data_sources.sidebar_toggle] from_expression = """( SELECT legacy_telemetry_client_id as client_id, CAST(submission_timestamp as DATE) as submission_date, TRUE as sidebar, LOGICAL_OR(event_category = 'genai.chatbot') as chatbot FROM `mozdata.firefox_desktop.events_stream` WHERE event_category IN ('genai.chatbot', 'history', 'synced_tabs', 'bookmarks', 'extension') AND event_name = 'sidebar_toggle' AND JSON_VALUE(event_extra.opened) = 'true' GROUP BY 1, 2, 3 )""" experiments_column_type = "none" friendly_name = "Sidebar Open" description = "Clients who open any sidebar panel" [data_sources.sidebar_disable] from_expression = """( SELECT DISTINCT DATE(submission_timestamp) as submission_date, metrics.uuid.legacy_telemetry_client_id as client_id, LOGICAL_OR(w.key LIKE 'sidebar-button_pinned%') as sidebar_button FROM `mozdata.firefox_desktop.metrics` CROSS JOIN UNNEST (metrics.labeled_boolean.browser_ui_mirror_for_toolbar_widgets) w WHERE submission_timestamp >= '2024-11-26' GROUP BY 1, 2 )""" experiments_column_type = "none" friendly_name = "Sidebar Disable" description = "Clients who remove sidebar button from toolbar"