From eb48fe65fbcea1a051a20d68001ecd521cde038d Mon Sep 17 00:00:00 2001 From: Melissa Autumn Date: Tue, 8 Oct 2024 13:28:31 -0700 Subject: [PATCH] Disable page load metrics call for now --- frontend/src/App.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c0c7ad911..1b4b66a1b 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -156,6 +156,7 @@ const onPageLoad = async () => { * Metric collection for development purposes. * This data will be used to help guide development, design, and user experience decisions. */ + /* const parser = new UAParser(navigator.userAgent); const browser = parser.getBrowser(); const os = parser.getOS(); @@ -179,6 +180,7 @@ const onPageLoad = async () => { const { data } = response; return data.value?.id ?? false; + */ }; // provide refresh functions for components @@ -270,13 +272,9 @@ onMounted(async () => { service: 'apmt', }); - const id = await onPageLoad(); - if (isAuthenticated.value) { const profile = useUserStore(); posthog.identify(profile.data.uniqueHash); - } else if (id) { - posthog.identify(id); } } });