React CookieHub Banner
With this React component you can integrate cookie banner from cookiehub.com
Configuration
- Create a CookieHub account
- Add and configure widget
Installation
npm:
npm install --save react-cookiehub-banner
dependencies: react-helmet
Example
;; Component { return <div className="application"> <CookieHubBanner googleTrackingId="XX-XXXXXXXXX-X" cookieHubId="XXXXXXXX"/> </div> ; };
You can find the CookieHub ID within the script generated by CookieHub as part of the cookiehub url: https://cookiehub.net/cc/YOURCOOKIEHUBID.js