UNPKG

gdpr-consent

Version:

GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.

18 lines (17 loc) 955 B
import { GDPRConsentUser, ServiceInterface } from "../interfaces/index.js"; import { facebook } from "./facebook.js"; import { facebookpixel } from "./facebookpixel.js"; import { facebookvideo } from "./facebookvideo.js"; import { googleads } from "./googleads.js"; import { googleanalytics } from "./googleanalytics.js"; import { googletagmanager } from "./googletagmanager.js"; import { signinwithapple } from "./signinwithapple.js"; import { signinwithgoogle } from "./signinwithgoogle.js"; import { subscribewithgoogle } from "./subscribewithgoogle.js"; import { twitter } from "./twitter.js"; import { vimeo } from "./vimeo.js"; import { youtube } from "./youtube.js"; export { facebook, facebookpixel, facebookvideo, googleads, googleanalytics, googletagmanager, signinwithapple, signinwithgoogle, subscribewithgoogle, twitter, vimeo, youtube, }; export declare function getServices(user: GDPRConsentUser): { [key: string]: ServiceInterface; };