Articles & Blogs


Cookie.Eu - EU GDPR Cookie Prompt Script website was made to give websites an easy way to display a cookie consent prompt required by European GDPR data privacy and security law.

Display a cookie consent prompt on your site


To display a cookie prompt on your site, you can paste this html code at the end of <body> tag:


<script async src=""></script>


Optionally, you can customize the colors, text, etc, see the advanced cookie prompt page.


demo page is also available, to see how the cookie prompt will look like.


How it works

  • paste the above script on your site
  • users will see the cookie consent prompt
  • user clicks eider "accept only essential cookies" or "accept all cookies"
  • a cookie is set in user browser, based on what user clicked: cookie_eu_consent=essential_cookies OR cookie_eu_consent=all_cookies
  • after a consent was clicked, user will not be shown the prompt on future page loads


For more details checkout also here:

Go Back