analytics - missing await, causing event not to be logged
This commit is contained in:
parent
f1604992db
commit
9bc80abbaa
|
@ -9,7 +9,7 @@ export const automationStore = getAutomationStore()
|
||||||
|
|
||||||
export const initialise = async () => {
|
export const initialise = async () => {
|
||||||
try {
|
try {
|
||||||
analytics.activate()
|
await analytics.activate()
|
||||||
analytics.captureEvent("Builder Started")
|
analytics.captureEvent("Builder Started")
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
|
|
Loading…
Reference in New Issue