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

Apply 1 suggestion(s) to 1 file(s)


Co-authored-by: default avatarJonas Larsen <jlarsen@gitlab.com>
上级 a2674e26
No related branches found
No related tags found
无相关合并请求
---
description: Tracks pageviews for the admin geo settings page
internal_events: true
action: view_admin_geo_settings_pageload
identifiers:
- user
product_group: personal_productivity
milestone: '17.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157498
distributions:
- ce
- ee
tiers:
- premium
- ultimate
---
key_path: redis_hll_counters.count_distinct_user_id_from_view_admin_geo_settings_pageload_monthly
description: Monthly count of unique users who visited the admin geo settings page
product_group: personal_productivity
performance_indicator_type: []
value_type: number
status: active
milestone: '17.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157498
time_frame: 28d
data_source: internal_events
data_category: optional
distribution:
- ce
- ee
tier:
- premium
- ultimate
events:
- name: view_admin_geo_settings_pageload
unique: user.id
---
key_path: counts.count_total_view_admin_geo_settings_pageload_monthly
description: Monthly count of total users who visited the admin geo settings page
product_group: personal_productivity
performance_indicator_type: []
value_type: number
status: active
milestone: '17.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157498
time_frame: 28d
data_source: internal_events
data_category: optional
distribution:
- ce
- ee
tier:
- premium
- ultimate
events:
- name: view_admin_geo_settings_pageload
---
key_path: redis_hll_counters.count_distinct_user_id_from_view_admin_geo_settings_pageload_weekly
description: Weekly count of unique users who visited the admin geo settings page
product_group: personal_productivity
performance_indicator_type: []
value_type: number
status: active
milestone: '17.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157498
time_frame: 7d
data_source: internal_events
data_category: optional
distribution:
- ce
- ee
tier:
- premium
- ultimate
events:
- name: view_admin_geo_settings_pageload
unique: user.id
---
key_path: counts.count_total_view_admin_geo_settings_pageload_weekly
description: Weekly count of total users who visited the admin geo settings page
product_group: personal_productivity
performance_indicator_type: []
value_type: number
status: active
milestone: '17.2'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157498
time_frame: 7d
data_source: internal_events
data_category: optional
distribution:
- ce
- ee
tier:
- premium
- ultimate
events:
- name: view_admin_geo_settings_pageload
......@@ -3,6 +3,8 @@ import { GlLoadingIcon } from '@gitlab/ui';
// eslint-disable-next-line no-restricted-imports
import { mapActions, mapState } from 'vuex';
import { s__ } from '~/locale';
import { VIEW_ADMIN_GEO_SETTINGS_PAGELOAD } from 'ee/geo_settings/constants';
import { InternalEvents } from '~/tracking';
import GeoSettingsForm from './geo_settings_form.vue';
export default {
......@@ -17,12 +19,16 @@ export default {
GlLoadingIcon,
GeoSettingsForm,
},
mixins: [InternalEvents.mixin()],
computed: {
...mapState(['isLoading']),
},
created() {
this.fetchGeoSettings();
},
mounted() {
this.trackEvent(VIEW_ADMIN_GEO_SETTINGS_PAGELOAD);
},
methods: {
...mapActions(['fetchGeoSettings']),
},
......
......@@ -5,3 +5,5 @@ export const FORM_VALIDATION_FIELDS = {
TIMEOUT: 'timeout',
ALLOWED_IP: 'allowedIp',
};
export const VIEW_ADMIN_GEO_SETTINGS_PAGELOAD = 'view_admin_geo_settings_pageload';
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册