feat(analytics): add behavior and payment funnel tracking

This commit is contained in:
2026-07-14 16:54:13 +08:00
parent ca55723e48
commit 81d6489978
70 changed files with 1576 additions and 81 deletions
@@ -0,0 +1,15 @@
import Script from "next/script";
import { getBehaviorAnalyticsScriptUrl } from "@/lib/analytics/behavior_analytics_config";
export function BehaviorAnalyticsScripts() {
const scriptUrl = getBehaviorAnalyticsScriptUrl();
return (
<Script
id="cozsweet-behavior-analytics"
src={scriptUrl}
strategy="afterInteractive"
/>
);
}