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"
    />
  );
}
