chore: updates mixpanel action names
This commit is contained in:
+4
-4
@@ -195,18 +195,18 @@ export default {
|
||||
console.log(server_id)
|
||||
console.log(distinct_id)
|
||||
|
||||
this.$mixpanel.register({ server_id: server_id, hostApp: 'excel' })
|
||||
this.$mixpanel.register({ server_id: server_id, hostApp: 'excel', type: 'action' })
|
||||
|
||||
this.$mixpanel.identify(distinct_id)
|
||||
this.$mixpanel.track('Excel Action', { name: 'Log In' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Log In' })
|
||||
} else {
|
||||
this.$mixpanel.track('Excel Action', { name: 'Log Out' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Log Out' })
|
||||
this.$mixpanel.reset()
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$mixpanel.track('Excel Action', { name: 'Launched', hostApp: 'excel' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Launched', hostApp: 'excel' })
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -112,7 +112,7 @@ export default {
|
||||
this.$matomo && this.$matomo.setCustomUrl(`http://connectors/Excel/stream/add`)
|
||||
this.$matomo && this.$matomo.trackPageView(`stream/add`)
|
||||
|
||||
this.$mixpanel.track('Excel Action', { name: 'Stream Add' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Stream Add' })
|
||||
|
||||
this.$store.dispatch('addStream', {
|
||||
id: this.stream.id,
|
||||
|
||||
@@ -447,7 +447,7 @@ export default {
|
||||
swapReceiver() {
|
||||
let s = { ...this.savedStream }
|
||||
s.isReceiver = !s.isReceiver
|
||||
this.$mixpanel.track('Excel Action', { name: 'Stream Swap Receive/Send' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Stream Swap Receive/Send', type: 'action' })
|
||||
this.$store.dispatch('updateStream', s)
|
||||
},
|
||||
|
||||
@@ -471,7 +471,7 @@ export default {
|
||||
},
|
||||
|
||||
remove() {
|
||||
this.$mixpanel.track('Excel Action', { name: 'Stream Remove' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Stream Remove' })
|
||||
return this.$store.dispatch('removeStream', this.savedStream.id)
|
||||
},
|
||||
cancel() {
|
||||
|
||||
+1
-1
@@ -136,7 +136,7 @@ export default {
|
||||
mounted() {
|
||||
this.$matomo && this.$matomo.setCustomUrl(`http://connectors/Excel/stream/list`)
|
||||
this.$matomo && this.$matomo.trackPageView(`stream/list`)
|
||||
this.$mixpanel.track('Excel Action', { name: 'Stream List' })
|
||||
this.$mixpanel.track('Connector Action', { name: 'Stream List' })
|
||||
},
|
||||
methods: {
|
||||
infiniteHandler($state) {
|
||||
|
||||
Reference in New Issue
Block a user