Replace old crisp mentions

This commit is contained in:
Julien Nahum
2022-12-24 09:48:59 +01:00
parent 2b2f6aa462
commit 73ee9a0bf9
7 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ export default {
redirectIfSubscribed () {
if (this.user.is_subscribed) {
this.$logEvent('subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' })
this.$getCrisp().push(['set', 'session:event', [[['subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' }, 'blue']]]])
this.$crisp.push(['set', 'session:event', [[['subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' }, 'blue']]]])
this.$router.push({ name: 'home' })
if (this.user.has_enterprise_subscription) {