@expofp/floorplan
Version:
Interactive floor plan library for expos and events
30 lines • 1.3 kB
TypeScript
export default function gtag(...args: any[]): void;
export declare enum GaEventActions {
Load = "Load floor plan",
ViewBooth = "View booth",
ViewExhibitor = "View exhibitor",
ViewCategory = "View category",
Search = "Search",
ClickCustomButton = "Click custom button",
ViewVideo = "View video",
ViewGallery = "View gallery",
ClickPhone = "Click phone",
ClickEmail = "Click email",
ClickWebsite = "Click website",
ClickFacebook = "Click Facebook",
ClickInstagaram = "Click Instagram",
ClickLinkedin = "Click Linkedin",
ClickTwitter = "Click Twitter",
ClickGooglePlus = "Click Google Plus",
ClickXing = "Click Xing",
ClickYoutube = "Click Youtube",
ClickDirections = "Click Directions",
Rendered = "Floor plan rendered"
}
export declare function checkUserIsGDPR(): Promise<boolean | null>;
export declare function hasUserConsent(allowConsent?: boolean): "granted" | "denied" | undefined;
export declare function setCookieConsent(cookieConsent: boolean): void;
export declare function setConsentSettings(allowConsent?: boolean): void;
export declare function sendEventToGa(action: GaEventActions, label: string, eventCategory?: string): void;
export declare function destroyGtag(): void;
//# sourceMappingURL=gtag.d.ts.map