From 9e789ed2a0c0a506e383cc962dc97b5bac15f4c2 Mon Sep 17 00:00:00 2001 From: afred Date: Mon, 16 Dec 2024 13:37:01 +0800 Subject: [PATCH] test --- app/components/home.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/components/home.tsx b/app/components/home.tsx index 5da490378..f002edc56 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -29,7 +29,17 @@ import { getClientConfig } from "../config/client"; import { type ClientApi, getClientApi } from "../client/api"; import { useAccessStore } from "../store"; import clsx from "clsx"; +import Hotjar from "@hotjar/browser"; +const siteId = 5237727; +const hotjarVersion = 6; +const serverConfig = getServerSideConfig(); +Hotjar.init(siteId, hotjarVersion); + +// Initializing with `debug` option: +Hotjar.init(siteId, hotjarVersion, { + debug: true, +}); export function Loading(props: { noLogo?: boolean }) { return (