Skip to Content
Solodev Logo
  • Platform

    AI

    Chat, agents and CMS tools

    Websites

    Launch and manage your websites

    Pages

    Reusable layouts and publishing

    Modules

    Structured, reusable content

    Forms

    Capture and review submissions

    Organization

    SSO, users and permissions

    Tasks

    Assignments, reviews and follow-up

    API

    Connect content and integrations

    Mobile
    Drive your entire digital presence with Solodev CMS
    Request a Demo
    Platform Preview
  • Pricing
  • Enterprise
  • Marketplace
Sign In Sign In Sign Up
Solodev Logo
Close Icon
  • Platform Angle right icon
    • Websites
    • Forms
    • Pages
    • API
    • Modules
    • Mobile
    • Collaboration
    • AI
  • Pricing
  • Explore Angle right icon
  • Careers Angle right icon
  • Contact Us Angle right icon
  • Connect

Terms

Privacy Policy

GDPR and Informed Consent Cookies Bar


When it comes to informing users about the use of cookies on your website, you may need to consider explicit informed consent and have your users actively confirm they understand your policies.

GDPR and Informed Consent Cookies Bar
Build the perfect cloud stack today. Shop the Marketplace.

Yesterday we talked about the importance of websites being GDPR compliant, and we gave readers a customizable cookie bar to help them get one step closer to becoming GDPR compliant.

With the discussions surrounding GDPR, however, there's a growing concern that it might not be enough for a website to simply tell its users how their information is being used. Internet privacy proponents have promoted the concept of "informed consent" -- web users need to give explicit permission stating that a website may use submitted information in the ways detailed by a site.

Thus, we've created a secondary HTML cookies bar that doesn't just inform users of the information usage; it requires they accept the terms and conditions of the website.

This slight difference can mean very different things under the scope of GDPR compliance. While an alert at either the top or bottom of a site could work for now, it might not be enough for future applications of GDPR. 

In the hope of spreading the word, here's how to build out a simple HTML cookies bar focused on informed consent so your website can get one step closer to GDPR compliance:

HTML

For the greatest compatibility with existing websites, the following HTML does not rely on Bootstrap or any other styling dependencies. This will allow you to easily insert the snippet into your existing templates.

Solodev Shortcode

For Solodev users, we have created a custom shortcode that can be easily included in the base template of sites. The shortcode (following up on our previous iteration) accepts the "consent" attribute. Just set this to "true" to add the "Accept" button.

CSS

The CSS styles the banner as a fixed element to the bottom of the page. Feel free to customize this CSS to match the specifics of your individual site.

JS

The JS simply initializes the popover and uses it's options to allow it to close on click. If clicked, a localStorage object is stored so that your users don't repeatedly see the banner.

Want to see how it all looks before committing to its use? Check out the JSFiddle below. Be sure to scale your browser window to various sizes to see how the banner would look on mobile display.

Download from Github

Share on Facebook Tweet It

Scott Madara
Contributions Editor here at Solodev. Want to be featured on the Solodev Blog? Get in touch.
Follow me on Twitter

RELATED POSTS

How to Make your Hero Image the Hero of your Webpage

How to Make your Hero Image the Hero of your Webpage

Three Common Website Issues and How to Survive Them

Three Common Website Issues and How to Survive Them

Five Tips to Building Landing Pages that Convert

Five Tips to Building Landing Pages that Convert

How to Edit Meta Information with your Solodev Website

How to Edit Meta Information with your Solodev Website

  • web design
    • Bootstrap
    • Form Tutorials
    • Navigation
    • Search
    • Sliders
    • Social
  • digital marketing
  • solodev
    • API
    • User Permissions
  • customer experience
  • accessibility
  • seo
  • analytics
  • sem

Sign up to explore

Create an account in seconds and start building today.

Sign up for Solodev

Join the list

Get the latest updates on cloud, AI, and more.

Community

Connect with Solodevs across the social universe

Solodev Logo footer

Build websites, manage content, and connect AI with Solodev CMS. Bring your websites, pages, modules, forms, organization, and tasks together, with managed hosting or deployment in your own Cloud Account.

Platform

  • AI
  • Websites
  • Pages
  • Modules
  • Forms
  • Organization
  • Tasks
  • API
  • Mobile

Explore

  • Pricing
  • Public Sector
  • Enterprise

Company

  • About Us
  • Blog
  • Contact Us
  • Subscribe

©2026 Solodev. All rights reserved worldwide.

Terms Privacy Policy
Solodev logo
GET STARTED

Fill out the form to speak with a Solodev Advisor

 

We use cookies to provide and improve our services. By using our site, you consent to cookies. Accept Learn more