GithubHelp home page GithubHelp logo

coinbase / cb-cookie-manager Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 3.33 MB

Packages for managing first party client side cookies following GDPR regulations

License: Other

JavaScript 1.29% TypeScript 97.18% CSS 1.53%

cb-cookie-manager's Introduction

Coinbase Cookie Manager

Coinbase Cookie Manager is a lightweight package for first-party client side cookies that helps adhere to CCPA and GDPR cookie regulations

Demo

Contents

Introduction

It can manage four different types of first-party client side cookies:

  • Necessary Cookies: Cookies that are necessary for the site to function
  • Performance Cookies: Cookies that impact site performance and help mesaure performance
  • Functional Cookies: Cookies to improve the functionality of the site
  • Targeting Cookies: Cookies used for advertising and ad targeting

Getting Started

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

Packages

  • @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

Contributing

Commit signing is required for contributing to this repo. For details, see the docs on contributing and commit-signing.

License

Licensed under the Apache License. See LICENSE for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.