Commit 039f69a1 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '346645-use-render-action-rather-than-display_banner' into 'master'

Standardize on the "render" action for tracking banner displayment

See merge request gitlab-org/gitlab!80112
parents e2b2c8fa 21392bb7
......@@ -28,7 +28,7 @@ export default {
buttonText: s__('SecurityConfiguration|Upgrade or start a free trial'),
},
mounted() {
this.track('display_banner', { label: SECURITY_UPGRADE_BANNER });
this.track('render', { label: SECURITY_UPGRADE_BANNER });
},
methods: {
bannerClosed() {
......
......@@ -54,7 +54,7 @@ describe('UpgradeBanner component', () => {
createComponent();
expectTracking('display_banner', SECURITY_UPGRADE_BANNER);
expectTracking('render', SECURITY_UPGRADE_BANNER);
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment