Skip to content

Commit 84ee7dd

Browse files
committed
More show toast analytics
1 parent 53b4eea commit 84ee7dd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

public/App.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,15 @@ Vue.use(Toast, {
840840
if (options.timeout === 0) {
841841
options.timeout = false;
842842
}
843-
trackEvent("show toast");
843+
trackEvent("Show Toast", {
844+
props: {
845+
position: this.position,
846+
type: this.type,
847+
RTL: this.rtl ? "Yes" : "No",
848+
transition: this.pluginOptions.transition,
849+
content: this.contentType,
850+
},
851+
});
844852
this.$toast(content, {
845853
position: this.position,
846854
type: this.type,

0 commit comments

Comments
 (0)