Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1023 Bytes

README.md

File metadata and controls

44 lines (36 loc) · 1023 Bytes

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.