@one-shot-analytics/react
Version:
One Shot Analytics - Privacy-focused analytics for Next.js applications
14 lines (12 loc) • 384 B
TypeScript
interface AnalyticsProps {
siteId: string;
apiKey: string;
/**
* The endpoint URL for the analytics API.
* This should be the full URL of your analytics service.
* Example: 'https://your-analytics-site.com/api/analytics'
*/
endpoint?: string;
}
declare function Analytics({ siteId, apiKey, endpoint }: AnalyticsProps): null;
export { Analytics };