re-add analytics
This commit is contained in:
parent
f271bef3cb
commit
ee9b1a7c18
|
@ -5,6 +5,7 @@
|
||||||
import { Modal } from "@budibase/bbui"
|
import { Modal } from "@budibase/bbui"
|
||||||
import { store, selectedAccessRole, allScreens } from "builderStore"
|
import { store, selectedAccessRole, allScreens } from "builderStore"
|
||||||
import { onDestroy } from "svelte"
|
import { onDestroy } from "svelte"
|
||||||
|
import analytics, { Events } from "analytics"
|
||||||
|
|
||||||
let newScreenModal
|
let newScreenModal
|
||||||
let navigationSelectionModal
|
let navigationSelectionModal
|
||||||
|
@ -21,6 +22,9 @@
|
||||||
for (let screen of selectedScreens) {
|
for (let screen of selectedScreens) {
|
||||||
let test = screen.create()
|
let test = screen.create()
|
||||||
createdScreens.push(test)
|
createdScreens.push(test)
|
||||||
|
analytics.captureEvent(Events.SCREEN.CREATED, {
|
||||||
|
template: screen.id || screen.name,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue