+
GENERAL SUPPORT
diff --git a/app/contact/components/PressInquiries.tsx b/app/contact/components/PressInquiries.tsx
index 552eea8..8a31b2b 100644
--- a/app/contact/components/PressInquiries.tsx
+++ b/app/contact/components/PressInquiries.tsx
@@ -1,10 +1,13 @@
"use client";
import React from "react";
+import { useTrackHover } from "@/app/hooks/trackHover";
export default function PressInquiries() {
+ const { onMouseEnter, onMouseLeave } = useTrackHover("press_inquiries");
+
return (
-
+
PRESS INQUIRIES
diff --git a/app/contact/components/VendorInquiries.tsx b/app/contact/components/VendorInquiries.tsx
index 5989535..90a0c68 100644
--- a/app/contact/components/VendorInquiries.tsx
+++ b/app/contact/components/VendorInquiries.tsx
@@ -1,10 +1,13 @@
"use client";
import React from "react";
+import { useTrackHover } from "@/app/hooks/trackHover";
export default function VendorInquiries() {
+ const { onMouseEnter, onMouseLeave } = useTrackHover("vendor_inquiries");
+
return (
-
+
VENDOR INQUIRIES
diff --git a/app/contact/page.tsx b/app/contact/page.tsx
index ad4c3d9..ea40d8f 100644
--- a/app/contact/page.tsx
+++ b/app/contact/page.tsx
@@ -3,9 +3,11 @@
import GeneralSupport from "./components/GeneralSupport";
import PressInquiries from "./components/PressInquiries";
import VendorInquiries from "./components/VendorInquiries";
+import useTrackPage from "../hooks/TrackPage";
export default function ContactPage() {
+ useTrackPage({ page: "contact" });
return (
diff --git a/app/homepage/components/features.tsx b/app/homepage/components/features.tsx
index 1027015..1d121ca 100644
--- a/app/homepage/components/features.tsx
+++ b/app/homepage/components/features.tsx
@@ -1,3 +1,7 @@
+"use client";
+
+import { useTimeTracker } from "@/app/hooks/timeTracker";
+
const Feature = ({
text,
image,
@@ -7,8 +11,11 @@ const Feature = ({
image: string;
link: string;
}) => {
+ const sectionRef = useTimeTracker(`feature_${link}`);
+
return (
{
+ const sectionRef = useTimeTracker("preview_section");
+
return (
{
+ const sectionRef = useTimeTracker("hero_title");
const fullText = "Walk The Runway";
const [displayText, setDisplayText] = useState("");
@@ -18,6 +20,7 @@ const Title = () => {
return (
diff --git a/app/page.tsx b/app/page.tsx
index d0040ad..a659db8 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,8 +1,12 @@
+"use client";
+
import Feature from "./homepage/components/features";
import Title from "./homepage/components/title";
import PreviewSection from "./homepage/components/previewSection";
+import useTrackPage from "./hooks/TrackPage";
export default function HomePage() {
+ useTrackPage({ page: "home" });
return (