Skip to content
代码片段 群组 项目
未验证 提交 2c8f2b0a 编辑于 作者: Jeff Tucker's avatar Jeff Tucker 提交者: GitLab
浏览文件

Raise new InternalEvent when user expands settings panel

上级 c7f277f3
No related branches found
No related tags found
无相关合并请求
...@@ -25,6 +25,10 @@ export function expandSection(sectionArg) { ...@@ -25,6 +25,10 @@ export function expandSection(sectionArg) {
.addClass('animating') .addClass('animating')
.one('animationend.animateSection', () => $section.removeClass('animating')); .one('animationend.animateSection', () => $section.removeClass('animating'));
} }
InternalEvents.trackEvent('click_expand_panel_on_settings', undefined, {
label: $section.find('.settings-title').text(),
});
} }
export function closeSection(sectionArg) { export function closeSection(sectionArg) {
......
---
description: User expands a panel on a settings page
internal_events: true
action: click_expand_panel_on_settings
identifiers:
- project
- namespace
- user
product_section: core_platform
product_stage: manage
product_group: foundations
milestone: '16.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/451458
distributions:
- ce
- ee
tiers:
- free
- premium
- ultimate
---
key_path: redis_hll_counters.count_distinct_user_id_from_click_expand_panel_on_settings_monthly
description: Monthly count of unique users who expanded a settings panel
product_section: core_platform
product_stage: manage
product_group: foundations
performance_indicator_type: []
value_type: number
status: active
milestone: '16.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/451458
time_frame: 28d
data_source: internal_events
data_category: optional
distribution:
- ce
- ee
tier:
- free
- premium
- ultimate
events:
- name: click_expand_panel_on_settings
unique: user.id
---
key_path: redis_hll_counters.count_distinct_user_id_from_click_expand_panel_on_settings_weekly
description: Weekly count of unique users who expanded a settings panel
product_section: core_platform
product_stage: manage
product_group: foundations
performance_indicator_type: []
value_type: number
status: active
milestone: '16.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/451458
time_frame: 7d
data_source: internal_events
data_category: optional
distribution:
- ce
- ee
tier:
- free
- premium
- ultimate
events:
- name: click_expand_panel_on_settings
unique: user.id
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册