First, create an account using the Register page on cookie.consent.is. Make sure you enter a valid e-mail address and choose a secure password.


When you account has been created, go to the Widgets page. On the bottom of the page, add a new widget by entering a name of the widget and clicking the Add Widget button. The widget name can be anything and doesn't have to include your domain, it's just so that you can identify the widget if you have multiple widgets on a single account.


When you have created the widget, you will be taken straight to the widget edit page where you can configure the widget. If you don't have any specific requirements you can safely use the default settings. By default the widget will be in english and there are two predefined cookie categories: Necessary cookies and Analytical cookies which fits most web sites.


In the General tab you should see Embed code which is the code you need to copy and paste to your web site. You need to paste this code to all pages on your web site or include in a shared template (if available). The code looks something like this:


<script src="https://cookie.consent.is/cc/xxxxxxxx.js"></script>
<script type="text/javascript">
window.addEventListener("load", function() {
window.cookieconsent.initialise({
  onInitialise: function(status) {
    if (this.hasConsented('required')) {
    }
    if (this.hasConsented('analytics')) {
    }
  },
  onAllow: function(category) {
    if (category == 'required') {
    }
    if (category == 'analytics') {
    }
  },
  onRevoke: function(category) {
    if (category == 'required') {
    }
    if (category == 'analytics') {
    }
  }
})
});
</script>


When you have inserted the code to your web site you should start seeing the Cookie Consent dialog when you visit your web site.


In addition you must configure any javascripts that use tracking cookies so that they are only executed if the user has allowed the analytics cookie category.