From 9bc80abbaab0a19d9bccd88338cb608290ad6124 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Mon, 12 Oct 2020 21:35:10 +0100 Subject: [PATCH] analytics - missing await, causing event not to be logged --- packages/builder/src/builderStore/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builderStore/index.js b/packages/builder/src/builderStore/index.js index c040403592..101f875e96 100644 --- a/packages/builder/src/builderStore/index.js +++ b/packages/builder/src/builderStore/index.js @@ -9,7 +9,7 @@ export const automationStore = getAutomationStore() export const initialise = async () => { try { - analytics.activate() + await analytics.activate() analytics.captureEvent("Builder Started") } catch (err) { console.log(err)