diff --git a/src/pages/index.tsx b/src/pages/index.tsx index ce5f67f..3d7f71c 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,4 +1,5 @@ import GlowingBoxes from "@/components/growing-dots"; +import useAnalytics from "@/hooks/useAnalytics"; import moment from "moment"; import dynamic from "next/dynamic"; import Head from "next/head"; @@ -9,6 +10,8 @@ const Countdown = dynamic(() => import("react-countdown"), { }); export default function Home() { + const gTrigger = useAnalytics("Home - coming soon"); + const renderer = ({ days, hours, minutes, seconds, completed }: any) => { const data = [ { val: days, label: "Days" }, @@ -111,6 +114,7 @@ export default function Home() { gTrigger("ProductHunt", "Click")} >