import React from 'react'; import type { EntrolyticsConfig } from '../../types'; interface ScriptProps extends Pick { /** Additional data attributes */ autoTrack?: boolean; domains?: string[]; tag?: string; excludeSearch?: boolean; excludeHash?: boolean; respectDoNotTrack?: boolean; beforeSend?: string; } /** * Script component for loading the Entrolytics tracker. * Use this as an alternative to EntrolyticsProvider when you want * to use the traditional script-based tracking. * * @example * ```tsx * // In app/layout.tsx * import { Script } from '@entrolytics/nextjs'; * * export default function RootLayout({ children }) { * return ( * * *