Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EasyCookies/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺ EasyCookies πŸͺ

A customizable cookie consent banner library for websites.

Usage

Add this code to your html <head> tag:

<script src="https://cdn.jsdelivr.net/gh/EasyCookies/[email protected]/easyCookies.min.js"></script>

Then initialize the banner by adding the following code to you html <body> tag:

  <script>
    window.easyCookiesBanner = new EasyCookies.Banner({
      scripts: {
        gtag: '<your_google_analytics_tag>'
      }
    });
    window.easyCookiesBanner.init(); 
  </script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published