From 0ca88d2878ea789249ed75bf6245972d9e586997 Mon Sep 17 00:00:00 2001 From: netpoe Date: Fri, 14 Jun 2024 05:51:58 -0600 Subject: [PATCH] feat: pirsch analytics events --- app/src/layouts/home-layout/HomeLayout.tsx | 15 ++++++++++++++- app/src/providers/analytics/events.ts | 7 +++++++ app/src/providers/analytics/index.ts | 5 +++++ .../larskristo_hellheads/grid-item/GridItem.tsx | 11 ++++++++++- 4 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 app/src/providers/analytics/events.ts create mode 100644 app/src/providers/analytics/index.ts diff --git a/app/src/layouts/home-layout/HomeLayout.tsx b/app/src/layouts/home-layout/HomeLayout.tsx index 7abf76f..efb1a2c 100644 --- a/app/src/layouts/home-layout/HomeLayout.tsx +++ b/app/src/layouts/home-layout/HomeLayout.tsx @@ -21,7 +21,20 @@ export const HomeLayout: React.FC = ({ children }) => { return ( <> {process.env.NEXT_PUBLIC_VERCEL_ENV === "production" && ( -