Coinbase Cookie Manager is a lightweight package for first-party client side cookies that helps adhere to CCPA and GDPR cookie regulations
It can manage four different types of first-party client side cookies:
Necessary Cookies
: Cookies that are necessary for the site to functionPerformance Cookies
: Cookies that impact site performance and help mesaure performanceFunctional Cookies
: Cookies to improve the functionality of the siteTargeting Cookies
: Cookies used for advertising and ad targeting
This repo uses a yarn workspace. To get started with the example app:
cd /path/to/coinbase/cb-cookie-manager
# Install Dependencies and Build Packages
yarn install
yarn build
# Run Example App
cd /path/to/coinbase/cb-cookie-manager/example/app
yarn dev
yarn test
-
@coinbase/cookie-manager
: Package that helps with managing first party client side cookies to adhere to CCPA and GDPR Cookie regulations. More information here -
@coinbase/cookie-banner
: Banner and modal to allow users to choose their cookie preferences. More information here -
example
: Example app built using NextJS which uses both@coinbase/cookie-manager
and@coinbase/cookie-banner
. Code here
Commit signing is required for contributing to this repo. For details, see the docs on contributing and commit-signing.
Licensed under the Apache License. See LICENSE for more information.