diff --git a/PixelDefinitions/pixels/definitions/ad_blocking.json5 b/PixelDefinitions/pixels/definitions/ad_blocking.json5 index 2a2aff8a46d7..dee2c5a36eef 100644 --- a/PixelDefinitions/pixels/definitions/ad_blocking.json5 +++ b/PixelDefinitions/pixels/definitions/ad_blocking.json5 @@ -132,5 +132,89 @@ "triggers": ["exception"], "suffixes": ["form_factor"], "parameters": ["appVersion"] + }, + "adBlocking_menu_enable_tapped_daily": { + "description": "(Daily) User tapped the 'Enable YouTube Ad Blocking' row in the browsing menu to re-enable ad blocking from a previously-disabled state.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_menu_enable_tapped_count": { + "description": "User tapped the 'Enable YouTube Ad Blocking' row in the browsing menu to re-enable ad blocking from a previously-disabled state.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_menu_disable_tapped_daily": { + "description": "(Daily) User tapped the 'Disable YouTube Ad Block' row in the browsing menu, which opens the disable mode picker.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_menu_disable_tapped_count": { + "description": "User tapped the 'Disable YouTube Ad Block' row in the browsing menu, which opens the disable mode picker.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_picker_always_on_daily": { + "description": "(Daily) User selected 'Always On' in the YouTube Ad Block disable picker.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_picker_always_on_count": { + "description": "User selected 'Always On' in the YouTube Ad Block disable picker.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_picker_always_off_daily": { + "description": "(Daily) User selected 'Always Off' in the YouTube Ad Block disable picker, persistently disabling ad blocking.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_picker_always_off_count": { + "description": "User selected 'Always Off' in the YouTube Ad Block disable picker, persistently disabling ad blocking.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_picker_disable_until_relaunch_daily": { + "description": "(Daily) User selected 'Disable Until Relaunch' in the YouTube Ad Block disable picker. The selection suppresses ad blocking for the current app session only and is not persisted to storage.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_picker_disable_until_relaunch_count": { + "description": "User selected 'Disable Until Relaunch' in the YouTube Ad Block disable picker. The selection suppresses ad blocking for the current app session only and is not persisted to storage.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_breakage_report_entered_daily": { + "description": "(Daily) User tapped 'Report Broken Site' on the breakage report prompt shown after disabling YouTube ad blocking from the browsing menu picker.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] + }, + "adBlocking_breakage_report_entered_count": { + "description": "User tapped 'Report Broken Site' on the breakage report prompt shown after disabling YouTube ad blocking from the browsing menu picker.", + "owners": ["CrisBarreiro"], + "triggers": ["other"], + "suffixes": ["form_factor"], + "parameters": ["appVersion"] } } diff --git a/ad-blocking/ad-blocking-impl/src/main/java/com/duckduckgo/adblocking/impl/AdBlockingPixelNames.kt b/ad-blocking/ad-blocking-impl/src/main/java/com/duckduckgo/adblocking/impl/AdBlockingPixelNames.kt index bd86e5b07360..967fbd9cf357 100644 --- a/ad-blocking/ad-blocking-impl/src/main/java/com/duckduckgo/adblocking/impl/AdBlockingPixelNames.kt +++ b/ad-blocking/ad-blocking-impl/src/main/java/com/duckduckgo/adblocking/impl/AdBlockingPixelNames.kt @@ -40,4 +40,16 @@ enum class AdBlockingPixelNames(override val pixelName: String) : Pixel.PixelNam AD_BLOCKING_SCRIPTLETS_INSTALLED_COUNT("adBlocking_scriptlets_installed_count"), AD_BLOCKING_SCRIPTLETS_INSTALL_ERROR_DAILY("adBlocking_scriptlets_install_error_daily"), AD_BLOCKING_SCRIPTLETS_INSTALL_ERROR_COUNT("adBlocking_scriptlets_install_error_count"), + AD_BLOCKING_MENU_ENABLE_TAPPED_DAILY("adBlocking_menu_enable_tapped_daily"), + AD_BLOCKING_MENU_ENABLE_TAPPED_COUNT("adBlocking_menu_enable_tapped_count"), + AD_BLOCKING_MENU_DISABLE_TAPPED_DAILY("adBlocking_menu_disable_tapped_daily"), + AD_BLOCKING_MENU_DISABLE_TAPPED_COUNT("adBlocking_menu_disable_tapped_count"), + AD_BLOCKING_PICKER_ALWAYS_ON_DAILY("adBlocking_picker_always_on_daily"), + AD_BLOCKING_PICKER_ALWAYS_ON_COUNT("adBlocking_picker_always_on_count"), + AD_BLOCKING_PICKER_ALWAYS_OFF_DAILY("adBlocking_picker_always_off_daily"), + AD_BLOCKING_PICKER_ALWAYS_OFF_COUNT("adBlocking_picker_always_off_count"), + AD_BLOCKING_PICKER_DISABLE_UNTIL_RELAUNCH_DAILY("adBlocking_picker_disable_until_relaunch_daily"), + AD_BLOCKING_PICKER_DISABLE_UNTIL_RELAUNCH_COUNT("adBlocking_picker_disable_until_relaunch_count"), + AD_BLOCKING_BREAKAGE_REPORT_ENTERED_DAILY("adBlocking_breakage_report_entered_daily"), + AD_BLOCKING_BREAKAGE_REPORT_ENTERED_COUNT("adBlocking_breakage_report_entered_count"), }