Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 11 additions & 35 deletions PixelDefinitions/pixels/definitions/duck_chat.json5
Original file line number Diff line number Diff line change
Expand Up @@ -230,28 +230,28 @@
"owners": ["malmstein"],
"triggers": ["other"],
"suffixes": ["form_factor"],
"parameters": ["appVersion"]
"parameters": ["appVersion", "duckAiPromptPageType", "duckAiEntrySource"]
},
"m_aichat_contextual_prompt_submitted_with_context_native_daily": {
"description": "(Daily Pixel) The user has submitted a prompt to Contextual Duck.ai with the page context attached",
"owners": ["malmstein"],
"triggers": ["other"],
"suffixes": ["form_factor"],
"parameters": ["appVersion"]
"parameters": ["appVersion", "duckAiPromptPageType", "duckAiEntrySource"]
},
"m_aichat_contextual_prompt_submitted_without_context_native_count": {
"description": "The user has submitted a prompt to Contextual Duck.ai without the page context attached",
"owners": ["malmstein"],
"triggers": ["other"],
"suffixes": ["form_factor"],
"parameters": ["appVersion"]
"parameters": ["appVersion", "duckAiPromptPageType", "duckAiEntrySource"]
},
"m_aichat_contextual_prompt_submitted_without_context_native_daily": {
"description": "(Daily Pixel) The user has submitted a prompt to Contextual Duck.ai without the page context attached",
"owners": ["malmstein"],
"triggers": ["other"],
"suffixes": ["form_factor"],
"parameters": ["appVersion"]
"parameters": ["appVersion", "duckAiPromptPageType", "duckAiEntrySource"]
},
"m_aichat_contextual_page_context_collection_empty": {
"description": "The page context collected via content scripts is not valid / is empty",
Expand Down Expand Up @@ -446,35 +446,7 @@
"suffixes": ["first_daily_count", "form_factor"],
"parameters": [
"appVersion",
{
"key": "source",
"type": "string",
"description": "The surface that initiated the Duck.ai entry.",
"enum": [
"address_bar_prompt",
"address_bar_icon",
"address_bar_shortcut_chip",
"address_bar_editing_state",
"suggestion_ask_ai",
"browsing_menu_ntp",
"browsing_menu_webpage",
"tab_switcher",
"chat_history_new_chat",
"chat_history_open_chat",
"voice",
"onboarding",
"direct_url",
"serp",
"icon_shortcut",
"contextual_chat",
"widget_quick_actions",
"widget_favorite",
"system_search",
"digital_assistant",
"deep_link_other",
"paid_settings"
]
},
"duckAiEntrySource",
{ "key": "duck_ai_enabled", "type": "boolean", "description": "Whether Duck.ai is enabled by feature and user settings." },
{
"key": "input_screen_enabled",
Expand Down Expand Up @@ -1288,7 +1260,9 @@
},
{ "key": "has_image_attachment", "type": "boolean", "description": "Whether the prompt included an image attachment" },
{ "key": "has_file_attachment", "type": "boolean", "description": "Whether the prompt included a file attachment" },
{ "key": "has_text", "type": "boolean", "description": "Whether the prompt included text" }
{ "key": "has_text", "type": "boolean", "description": "Whether the prompt included text" },
"duckAiPromptPageType",
"duckAiEntrySource"
]
},
"m_aichat_unified_input_prompt_submitted_daily": {
Expand Down Expand Up @@ -1320,7 +1294,9 @@
},
{ "key": "has_image_attachment", "type": "boolean", "description": "Whether the prompt included an image attachment" },
{ "key": "has_file_attachment", "type": "boolean", "description": "Whether the prompt included a file attachment" },
{ "key": "has_text", "type": "boolean", "description": "Whether the prompt included text" }
{ "key": "has_text", "type": "boolean", "description": "Whether the prompt included text" },
"duckAiPromptPageType",
"duckAiEntrySource"
]
},
"m_aichat_unified_input_sent_prompt_in_chat_count": {
Expand Down
35 changes: 35 additions & 0 deletions PixelDefinitions/pixels/params_dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,41 @@
"none"
]
},
"duckAiPromptPageType": {
"key": "page_type",
"type": "string",
"description": "What the user was looking at when the prompt was submitted.",
"enum": ["ntp", "serp", "website", "duck_ai", "contextual"]
},
"duckAiEntrySource": {
"key": "source",
"type": "string",
"description": "The Duck.ai entry point: the surface that initiated the entry or prompt submission. Omitted when unknown.",
"enum": [
"address_bar_prompt",
"address_bar_icon",
"address_bar_shortcut_chip",
"address_bar_editing_state",
"suggestion_ask_ai",
"browsing_menu_ntp",
"browsing_menu_webpage",
"tab_switcher",
"chat_history_new_chat",
"chat_history_open_chat",
"voice",
"onboarding",
"direct_url",
"serp",
"icon_shortcut",
"contextual_chat",
"widget_quick_actions",
"widget_favorite",
"system_search",
"digital_assistant",
"deep_link_other",
"paid_settings"
]
},
"osVersion": {
"key": "os_version",
"type": "integer",
Expand Down
Loading
Loading