fix externalId
This commit is contained in:
parent
408429d2e9
commit
331b9d8547
@ -14,13 +14,6 @@ interface AnalyticsScriptsProps {
|
|||||||
externalId?: string; // visitorId from fingerprint - used for matching across Pixel and CAPI
|
externalId?: string; // visitorId from fingerprint - used for matching across Pixel and CAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
// Declare fbq for TypeScript
|
|
||||||
declare global {
|
|
||||||
interface Window {
|
|
||||||
fbq?: (...args: unknown[]) => void;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Компонент для инъекции аналитических скриптов через next/script
|
* Компонент для инъекции аналитических скриптов через next/script
|
||||||
*
|
*
|
||||||
|
|||||||
@ -20,8 +20,8 @@ declare global {
|
|||||||
dataLayer: any[];
|
dataLayer: any[];
|
||||||
|
|
||||||
// Facebook Pixel
|
// Facebook Pixel
|
||||||
fbq: (command: string, event: string, params?: Record<string, any>) => void;
|
fbq?: (command: string, event: string, params?: Record<string, any>) => void;
|
||||||
_fbq: any;
|
_fbq?: any;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* eslint-enable @typescript-eslint/no-explicit-any */
|
/* eslint-enable @typescript-eslint/no-explicit-any */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user