Skip to content

Commit 8f409e2

Browse files
Patrick-Erichsensestinj
authored andcommitted
chore: onboarding metrics (#1626)
* fix: pageview tracking * feat: add onboarding telemetry * create single `onboardingStatus` type * improved var naming * remove console logs
1 parent 153263b commit 8f409e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gui/src/pages/onboarding/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export type OnboardingStatus = "Started" | "Completed";
1010
// If there is no value in local storage for "onboardingStatus",
1111
// it implies that the user has not begun or completed onboarding.
1212
export function shouldBeginOnboarding() {
13+
// We used to use "onboardingComplete", but switched to "onboardingStatus"
1314
const onboardingCompleteLegacyValue =
1415
localStorage.getItem("onboardingComplete");
1516
if (onboardingCompleteLegacyValue === "true") {

0 commit comments

Comments
 (0)