From 591d0bb7d8f1b9ecc73ec69863eb938bb8d1d2c1 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 25 Nov 2021 09:41:40 +0000 Subject: [PATCH] re-add analytics --- .../src/components/design/NavigationPanel/ScreenWizard.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/builder/src/components/design/NavigationPanel/ScreenWizard.svelte b/packages/builder/src/components/design/NavigationPanel/ScreenWizard.svelte index 62843ccc91..262f042afe 100644 --- a/packages/builder/src/components/design/NavigationPanel/ScreenWizard.svelte +++ b/packages/builder/src/components/design/NavigationPanel/ScreenWizard.svelte @@ -5,6 +5,7 @@ import { Modal } from "@budibase/bbui" import { store, selectedAccessRole, allScreens } from "builderStore" import { onDestroy } from "svelte" + import analytics, { Events } from "analytics" let newScreenModal let navigationSelectionModal @@ -21,6 +22,9 @@ for (let screen of selectedScreens) { let test = screen.create() createdScreens.push(test) + analytics.captureEvent(Events.SCREEN.CREATED, { + template: screen.id || screen.name, + }) } }