kitani / cookieconsent

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0