Skip to content

Javascript plugin allowing a website to comply with the EU cookie law.

License

Notifications You must be signed in to change notification settings

liluxdev/cookieconsent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookie Consent

Javascript plugin allowing a website to comply with the EU cookie law.

Features

  • Free to use and modify
  • Only show to EU visitors
  • Opt in once for all sites
  • Implied or explicit consent
  • Works with do not track

Integration

Refer to the Cookie Consent website for detailed integration documentation and our simple configuration wizard to see what can be customized.

Basic usage

<link rel="stylesheet" type="text/css" href="cookieconsent.css"/>
<script type="text/javascript" src="cookieconsent.js"></script>

<script type="text/javascript">
// <![CDATA[
cc.initialise({
	cookies: {
		social: {},
		analytics: {},
		advertising: {},
		necessary: {}
	},
	settings: {
		consenttype: "implicit"
	}
});
// ]]>
</script>

Credits

Created by Silktide.

About

Javascript plugin allowing a website to comply with the EU cookie law.

Resources

License

Stars

Watchers

Forks

Packages

No packages published