Commit 21392bb7 authored by Dallas Reedy's avatar Dallas Reedy

Standardize on the "render" action for tracking banner displayment

parent 5545f8c9
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
buttonText: s__('SecurityConfiguration|Upgrade or start a free trial'), buttonText: s__('SecurityConfiguration|Upgrade or start a free trial'),
}, },
mounted() { mounted() {
this.track('display_banner', { label: SECURITY_UPGRADE_BANNER }); this.track('render', { label: SECURITY_UPGRADE_BANNER });
}, },
methods: { methods: {
bannerClosed() { bannerClosed() {
......
...@@ -54,7 +54,7 @@ describe('UpgradeBanner component', () => { ...@@ -54,7 +54,7 @@ describe('UpgradeBanner component', () => {
createComponent(); 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