Commit 051a4320 authored by Doug Stull's avatar Doug Stull

Update tracking to work for showing members banner

parent a75605ca
...@@ -35,7 +35,9 @@ export default { ...@@ -35,7 +35,9 @@ export default {
this.track(this.$options.dismissEvent); this.track(this.$options.dismissEvent);
}, },
trackOnShow() { trackOnShow() {
this.$nextTick(() => {
if (!this.isDismissed) this.track(this.$options.displayEvent); if (!this.isDismissed) this.track(this.$options.displayEvent);
});
}, },
addTrackingAttributesToButton() { addTrackingAttributesToButton() {
if (this.$refs.banner === undefined) return; if (this.$refs.banner === undefined) return;
......
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