@typeform/embed
Version:
**Typeform/embed** is the core embed library that lets you embed typeforms to your website using vanilla JavaScript.
16 lines (15 loc) • 511 B
TypeScript
declare global {
interface Window {
ga: GoogleAnalyticsObject;
gtag: Function;
}
}
interface GoogleAnalyticsObject {
getAll: () => GoogleAnalyticsTracker[];
}
interface GoogleAnalyticsTracker {
get: (value: string) => string;
}
export declare const sendGaIdMessage: (embedId: string, gaClientId: string, iframe: HTMLIFrameElement) => void;
export declare const setupGaInstance: (iframe: HTMLIFrameElement, embedId: string, shareGaInstance?: string | boolean) => void;
export {};