Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cookie consent #3

Open
MichaelCurrin opened this issue Oct 23, 2020 · 0 comments
Open

Add cookie consent #3

MichaelCurrin opened this issue Oct 23, 2020 · 0 comments

Comments

@MichaelCurrin
Copy link
Owner

  <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
  <script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
  <script>
    window.addEventListener("load", function() {
      window.cookieconsent.initialise({
        "palette": {
          "popup": {
            "background": "#000"
          },
          "button": {
            "background": "#cba477"
          }
        },
        "showLink": false,
        "content": {
          "message": "This website uses cookies to analyze traffic via anonymized and aggregated data."
        },
        "position": "bottom-right"
      })
    });
  </script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant