Skip to content

Commit 120033e

Browse files
committed
docs: add explanatory comments to InteractionTracker component
Added inline comments to clarify that InteractionTracker initializes both screenshot capture and mouse cursor tracking functionality.
1 parent 061d919 commit 120033e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/interaction-tracker.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
import { useEffect } from "react";
44
import { initInteractionTracking } from "@b3-crow/website-hook-sdk";
5+
// Unified interaction tracking with hardcoded configs
56

67
export function InteractionTracker() {
78
useEffect(() => {
89
// Initialize interaction tracking with simplified API
10+
// This starts both screenshot capture and mouse cursor tracking
911
initInteractionTracking({
1012
logging: true, // Enable detailed pointer tracking logs
1113
});
1214
}, []);
15+
16+
return null;
1317
}

0 commit comments

Comments
 (0)