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

Merge branch 'jtucker-settings-panel-events' into 'master'

Raise new InternalEvent when user expands settings panel

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/146699



Merged-by: default avatarPhil Hughes <me@iamphill.com>
Approved-by: default avatarThomas Hutterer <thutterer@gitlab.com>
Approved-by: default avatarPhil Hughes <me@iamphill.com>
Reviewed-by: default avatarSam Beckham <sbeckham@gitlab.com>
Reviewed-by: default avatarSebastian Rehm <srehm@gitlab.com>
Co-authored-by: default avatarJeff Tucker <jtucker@gitlab.com>
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.
先完成此消息的编辑!
想要评论请 注册