Skip to content

Commit

Permalink
feat(fastani): Add tracking to FastANI job creation
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Apr 10, 2023
1 parent 6015d52 commit 04e36fb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pages/tools/fastani.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ export default Vue.extend({
this.tabModel = 2
}
// Track this event
this.$plausible.trackEvent("FastANI job created",
{
props: {
comparisons: resp.data.group_1.length * resp.data.group_2.length,
email: isDefined(payload.email)
}
},
);
})
.catch((err) => {
this.$accessor.api.defaultCatch(err);
Expand Down

0 comments on commit 04e36fb

Please sign in to comment.