Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

354 B
Raw Blame
'use client';

import Script from 'next/script';
import { memo } from 'react';

interface UmamiAnalyticsProps {
  scriptUrl: string;
  websiteId?: string;
}

const UmamiAnalytics = memo<UmamiAnalyticsProps>(
  ({ scriptUrl, websiteId }) =>
    websiteId && <Script defer data-website-id={websiteId} src={scriptUrl} />,
);

export default UmamiAnalytics;