Skip to content

johnnieclapper/Captain-Consents-Cookie-Manager

Repository files navigation

Captain Consent's Cookie Manager

cookie consent pop-up made easy

We are open sourcing the project step by step. It is not complete yet but will be in a few days. Feel free to get in touch if you need any help or if you have suggestions ion improvements.

If you want to see the Captain Consents Cookie Manager in action please go to www.captainconsent.com. We'll make sure to always have the latest version stable update on the website.

Tutorial

basic banner js + css


Copy css file to your css directory:

yourProjectPath/css/captain-consents-cookie-consent.css


Copy js file to your css directory:

yourProjectPath/css/captain-consents-cookie-consent.js


Load your js file just before the closing tag of .

TROUBLESHOOTING: Load cookie-consent.js at the end of the body to avoid "Uncaught TypeError cannot read property 'addeventlistener' of null" issue. In other words, load html first, then js.:
https://www.stechies.com/uncaught-typeerror-cannot-read-property-addeventlistener-nu/


Add "captain-consents-cookie-popup.html" code

further details to be added here


Add Cookie Link to footer in your footer html:

<span id="ccPopupReveal">Cookies</span>


Google Tagmanager implementation

further details to be added here

Log

21-09-08 Add first draft of tutorial.
21-09-08 Add basic files to repository.
21-09-08 Update website www.captainconsent.com with link to github project. Needs additional styling.
21-09-06 Create Repository. The project code needs to be added.

About

cookie consent pop-up made easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published