Files
ipal-kit/dist/modules/analytics/getAnalyticsConfig.d.ts
T

9 lines
421 B
TypeScript

import type { BasePayload } from 'payload';
import type { AnalyticsConfig } from './types.js';
/**
* Reads the public analytics / marketing tag IDs from SiteIntegrations,
* server-side. All are public (exposed client-side), so safe to pass to the
* <Analytics> component. Does NOT expose any secret from SiteIntegrations.
*/
export declare function getAnalyticsConfig(payload: BasePayload): Promise<AnalyticsConfig>;