---
title: How to Add a GDPR Cookie Consent Notice to Your Website
description: Many websites need cookies to function properly, whether for a shopping cart, Google Analytics, or other purposes. To comply with the GDPR, you need to inform your visitors of your use of cookies and give them a chance to opt out. Here's why and how to add cookie consent to your website.
image: https://blog.shift4shop.com/hubfs/iStock-1014368712.png
---

[![eCommerce Blog](https://blog.shift4shop.com/hubfs/shift4shop/shift4-blog.jpg)](https://blog.shift4shop.com/)

[![shift4shop logo](https://blog.shift4shop.com/hubfs/shift4shop/shift4shop-Black.png) |Blog](https://blog.3dcart.com/)

[Sign Up](https://www.3dcart.com/freetrial.htm?utm_campaign=Blog&utm_source=blog&utm_medium=blog-cta&utm_content=free-trial-cta)

[Subscribe](https://blog.shift4shop.com/how-to-add-a-gdpr-cookie-consent-notice-to-your-website#subscribeBlock)

[Web Design](https://blog.shift4shop.com/topic/web-design)| 6 min read

# How to Add a GDPR Cookie Consent Notice to Your Website

 By [Jimmy Rodriguez](https://blog.shift4shop.com/author/jimmy-rodriguez) [0 Comments](https://blog.shift4shop.com/how-to-add-a-gdpr-cookie-consent-notice-to-your-website#comments-listing)

![](https://blog.shift4shop.com/hubfs/iStock-1014368712.png)

If your ecommerce site uses Google Analytics or keeps track of the items in a shopping cart, your business is using HTTP cookies, and you may need to offer site visitors an option to opt out.

Cookies are small text files that can be used for session information (logins, shopping carts, and similar), personalization, or monitoring. When someone visits your business online, your website tells the visitor's web browser to store the cookie information and send that information back with each new request.

Some web cookies are only active while a person is on the website in question and others remain with a user's web browser for a sometime.

Many standard website features depend on this technology, which as been baked into the internet (pun intended) since 1994. **Cookies really do improve the online experience in many ways**.

## Cookies are Personal Data

HTTP Cookies also make it possible to monitor user behavior. [Google Analytics](https://www.3dcart.com/shopping-cart-software/google-analytics.html) is, perhaps, one of the the best examples. Many businesses depend on Google Analytics or similar services to count visitors, monitor [website conversions](https://www.3dcart.com/lp/ecommerce-university/what-is-conversion/), or understand how customers flow through the company's website.

Analytics is able to provide this information, in aggregate, because it uses cookies to keep track of everyone who visits your website.

![how-website-cookies-work](https://blog.shift4shop.com/hs-fs/hubfs/how-website-cookies-work.jpg?width=600&name=how-website-cookies-work.jpg)

While the information in the cookie won't specifically identify a person by itself, it can be used in combination with other information to identify a specific individual. For this reason, cookies come under the purview of some privacy laws, including the European Union's recently enacted General Data Protection Regulation ([GDPR](https://www.3dcart.com/lp/ecommerce-university/what-is-gdpr/)).

Recital 30 of the GDPR says specifically, *"natural persons may be associated with online identifiers provided by their devices, applications, tools and protocols, such as internet protocol addresses, **cookie identifiers** \[emphasis added\] or other identifiers... This may leave traces which, in particular when combined with unique identifiers and other information received by the servers, may be used to create profiles of the natural persons and identify them."*

Effectively, [under the GDPR](https://ec.europa.eu/info/law/law-topic/data-protection/reform/what-personal-data_en) *"personal data is any information that relates to an identified or identifiable living individual. Different pieces of information, which collected together can lead to the identification of a particular person, also constitute personal data."*

The key idea for HTTP cookies is that when they are "collected together" with other information they "constitute personal data."

This fact — that an HTTP cookie is personal data or can be personal data — is important because at the time of writing the GDPR is, perhaps, the most comprehensive privacy law in the world. The GDPR is also very strongly enforced, meaning that penalties for a data breach or for mishandling personal data are very high, perhaps even as much as 20 million EUR or 4 percent of a company's total annual revenue.

As a final point, the GDPR may even apply to businesses outside of the European Union which do business with E.U. citizens or have site traffic from the E.U.

 

## GDPR Cookie Consent Requirements

Given the GDPR's scope and enforcement, smart businesses, including businesses outside of Europe, will want to make certain they comply.

So what does your company need to do to [meet GDPR Cookie consent requirements](https://www.3dcart.com/lp/features/gdpr-toolkit/)?

You really want to do three things for your customers.

- Communicate clearly about cookies.
- Ask for consent to use cookies.
- Provide a way for visitors to stop cookies.

 

## Communicate Clearly About Cookies

Your business should let new site visitors know that you are using cookies and why you are using them.

Here's an example of a general cookie notification.

“Notice: This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.”

You should also provide a button users can click to affirmatively accept cookies, (more on this below) and a link to a cookie policy.

Email service provider [MailChimp](https://www.3dcart.com/shopping-cart-software/mailchimp.html) has an excellent [cookie policy page](https://mailchimp.com/legal/cookies/). It includes a general statement about MailChimp's cookie use, explains cookies for customers who may not know what they are, and describes the specific cookies in use.

![mailchimp-cookie-policy](https://blog.shift4shop.com/hs-fs/hubfs/mailchimp-cookie-policy.png?width=1724&name=mailchimp-cookie-policy.png)

[MailChimp](https://www.3dcart.com/shopping-cart-software/mailchimp.html), like many businesses with good cookie policies, organizes its list of cookies into several categories, including:

- "Essential Website Cookies" which are "strictly necessary" to provide services,
- "Performance and Functionality Cookies" that "enhance the performance and functionality" of the MailChimp site,
- "Analytics and Customization Cookies" used to help MailChimp "understand" site traffic and marketing,
- "Advertising (Targeting) Cookies" associated with targeted advertising.

 

## Ask for Consent to Use Cookies

The GDPR requires active consent. For example, Recital 32 states that "consent should be given by a clear affirmative act establishing a freely given, specific, informed and unambiguous indication of the data subject's agreement to the processing of personal data...this could include ticking a box when visiting an internet website."

As a result of this language, many websites require a visitor to click a button or an "x" to close a cookie notification banner.

It is also important to store this acknowledgement in the event of a GDPR audit.

 

## Provide a Way for Visitors to Stop Cookies

The GDPR also requires websites to give users the opportunity to opt out of data collection, and by extension the ability to opt out of cookies at any time.

Some websites have created privacy centers that allow users to individually reject or remove cookies. MailChimp, as an example, offers a privacy center tool.

Other websites opt to simply explain how a user can remove a cookie manually. For example the European Commission's [cookie policy](https://ec.europa.eu/info/cookies_en) includes a section that reads:

"You can **control and/or delete cookies** \[emphasis in original\] as you wish - for details, see [aboutcookies.org](https://www.aboutcookies.org/). You can delete all cookies that are already on your computer and you can set most browsers to prevent them from being placed. If you do this, however, you may have to manually adjust some preferences every time you visit a site and some services and functionalities may not work."

You'll want a similar message on your website, so that visitors understand how they can remove cookies.

 

### Best Cookie Consent Notice Generators

Some free tools to create the cookie consent for your website and meet GDPR compliance are listed below.

1. **[3dcart Free Cookie Notice Generator ![3dcart-free-cookie-notice-generator](https://blog.shift4shop.com/hs-fs/hubfs/3dcart-free-cookie-notice-generator.png?width=1920&name=3dcart-free-cookie-notice-generator.png)](https://www.3dcart.com/lp/cookie-law-generator/)**
2. [**Iubenda ![iubenda-policy-generator](https://blog.shift4shop.com/hs-fs/hubfs/iubenda-policy-generator.png?width=1320&name=iubenda-policy-generator.png)**](https://www.iubenda.com/en/cookie-solution)
3. [**TermsFeed Cookies Policy Generator ![termsfeed-cookie-generator](https://blog.shift4shop.com/hs-fs/hubfs/termsfeed-cookie-generator.png?width=1281&name=termsfeed-cookie-generator.png)**](https://termsfeed.com/cookies-policy/generator/)
4. [**Termly Cookie Consent Manager ![termly-cookie-consent-manager](https://blog.shift4shop.com/hs-fs/hubfs/termly-cookie-consent-manager.png?width=1155&name=termly-cookie-consent-manager.png)**](https://termly.io/products/cookie-consent-manager/)

 

*Want to learn how to make your online store GDPR-compliant fast? **Download our ebook below**.*

[![Free report: The Real Cost of Running a Shopify Store](https://no-cache.hubspot.com/cta/default/3365633/ab767db2-b6f5-4a18-a310-5d0dd9c1b8b7.png)](https://cta-redirect.hubspot.com/cta/redirect/3365633/ab767db2-b6f5-4a18-a310-5d0dd9c1b8b7)

- [Tweet](https://twitter.com/share)

### Leave a reply or comment below

### Sign up for Marketing Tips

### Related posts

[8 Types of eCommerce Images Your Store Should Have](https://blog.shift4shop.com/ecommerce-images-types)

Product images are essential for any eCommerce store. Authentic photos can communicate your brand values to customers. They also help potential customers visualize the products in your store. After ...

[Read More](https://blog.shift4shop.com/ecommerce-images-types)

May 31, 2023

[When and How To Start an eCommerce Website Redesign](https://blog.shift4shop.com/how-to-start-ecommerce-website-redesign)

It can be tempting to look at a website that’s underperforming and hope the problem resolves itself. However, that’s never going to be as effective as putting in the work to redesign your website — ...

[Read More](https://blog.shift4shop.com/how-to-start-ecommerce-website-redesign)

April 19, 2023

[The Complete Guide to Product Photography for Online Stores](https://blog.shift4shop.com/complete-guide-to-product-photography-for-online-stores)

Great product photography is a critical part of a successful online store. However, for many eCommerce merchants, this is an area in which it's easy to fall short. A lack of knowledge of proper ...

[Read More](https://blog.shift4shop.com/complete-guide-to-product-photography-for-online-stores)

July 21, 2022

[![3dcart logo](https://blog.shift4shop.com/hubfs/shift4shop/shift4shop-Black.png) |Blog](https://blog.3dcart.com/)

### Sign up for Marketing Tips

[![New call-to-action](https://no-cache.hubspot.com/cta/default/3365633/fcff512b-4483-4b5f-b166-fec0d89749f8.png)](https://cta-redirect.hubspot.com/cta/redirect/3365633/fcff512b-4483-4b5f-b166-fec0d89749f8)

 

### Resources

[Apps & Integrations](https://blog.3dcart.com/topic/apps-integrations)

[B2B Ecommerce](https://blog.3dcart.com/topic/b2b-ecommerce)

[Conversion Optimization](https://blog.3dcart.com/topic/conversion-optimization)

[Customer Service](https://blog.3dcart.com/topic/customer-service)

[Digital Payments](https://blog.3dcart.com/topic/digital-payments)

[Ecommerce Features](https://blog.3dcart.com/topic/ecommerce-features)

[Ecommerce Marketing](https://blog.3dcart.com/topic/ecommerce-marketing)

[eCommerce News](https://blog.3dcart.com/topic/ecommerce-news)

[Email Marketing](https://blog.3dcart.com/topic/email-marketing)

[Fraud Prevention](https://blog.3dcart.com/topic/fraud-prevention)

[Holiday Shopping](https://blog.3dcart.com/topic/holiday-shopping)

[Search Engine Optimization](https://blog.3dcart.com/topic/seo)

[Shipping & Fulfillment](https://blog.3dcart.com/topic/shipping-fulfillment)

[Social Media](https://blog.3dcart.com/topic/social)

[Starting an Online Business](https://blog.3dcart.com/topic/starting-a-business)

[Success Stories](https://blog.3dcart.com/topic/success-stories)

[Web Design](https://blog.3dcart.com/topic/web-design)

 

### Popular Articles

Search Articles



[![](https://feedburner.google.com/fb/images/pub/feed-icon32x32.png)](http://feeds.feedburner.com/3dcartEcommerceBlog) [RSS Feed](http://feeds.feedburner.com/3dcartEcommerceBlog)

 [![3dcart eCommerce Blog - Blog Directory OnToplist.com](https://www.ontoplist.com/images/ontoplist31.png?id=59e75cd39646e)](https://www.ontoplist.com/blogs/3dcart-ecommerce-blog_59e75cd39646e/)

[Want to be a Guest Author?](https://blog.3dcart.com/guest-posts-application)

<https://www.facebook.com/3dCart> <https://twitter.com/3dcart> <https://plus.google.com/+3dcart>

Copyright © 2023 Shift4Shop. All Rights Reserved.

## Rocket Fuel for Your Business

About Shift4Shop

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[Why Shift4Shop](https://www.shift4shop.com/why-3dcart.html) [Shopping Cart Software](https://www.shift4shop.com/shopping-cart-software.html) [Success Stories](https://www.shift4shop.com/lp/success-stories/) [Shift4Shop Reviews](https://www.shift4shop.com/shopping-cart-reviews.html) [eCommerce Blog](https://blog.shift4shop.com/) [Sitemap](https://www.shift4shop.com/sitemap.html)

eCommerce

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[Features](https://www.shift4shop.com/all-features.html) [How to Sell Online](https://www.shift4shop.com/sell-online.htm) [Create a Website](https://www.shift4shop.com/build-ecommerce-website.htm) [Start an Online Store](https://www.shift4shop.com/start-an-online-store.html) [eCommerce](https://www.shift4shop.com/ecommerce-saas.html) [Online Store Builder](https://www.shift4shop.com/build-an-online-store.html)

Resources

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[eCommerce Web Design](https://www.shift4shop.com/ecommerce-web-design.htm) [eCommerce Marketing](https://www.shift4shop.com/ecommerce-marketing-tools.html) [Custom Development](https://www.shift4shop.com/custom-development.html) [Start an Online Business](https://www.shift4shop.com/start-an-online-business.html) [App Store](https://apps.shift4shop.com/) [Theme Store](https://themes.shift4shop.com/)

Technical Support

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[Support Center](https://support.3dcart.com/) [eCommerce Forum](https://forums.shift4shop.com/) [eCommerce University](https://www.shift4shop.com/lp/ecommerce-university/) [Developer Portal](https://developer.3dcart.com/) [Supported Payments](https://www.shift4shop.com/ecommerce-payment-gateways.html)

Company

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[About Us](https://www.shift4shop.com/aboutus.htm) [Contact Us](https://www.shift4shop.com/aboutus.htm#contact-area) [Become a Partner](https://www.shift4shop.com/ecommerce-partners.html) [Affiliate Program](https://www.shift4shop.com/3dcart-affiliates.html)

Copyright © 2025 Shift4Shop

[Terms and Conditions](https://www.shift4shop.com/legal.html) [Privacy Policy](https://www.shift4shop.com/privacy.html)

<https://www.facebook.com/Shift4Payments/> <https://x.com/shift4> <https://www.youtube.com/@Shift4Shop> <https://www.linkedin.com/company/shift4> <https://www.instagram.com/shift4/>

<https://www.facebook.com/Shift4Payments/> <https://x.com/shift4> <https://www.youtube.com/@Shift4Shop> <https://www.linkedin.com/company/shift4> <https://www.instagram.com/shift4/>

Copyright © 2025 Shift4Shop

```json
{
  "@context" : "http://schema.org",
  "@type" : "Organization",
  "address" : {
    "@type" : "PostalAddress",
    "addressCountry" : "United States",
    "addressLocality" : "Center Valley",
    "addressRegion" : "PA",
    "postalCode" : "18034",
    "streetAddress" : "3501 Corporate Pkwy "
  },
  "alternateName" : "3dcart Shopping Cart Software",
  "areaServed" : {
    "@type" : "GeoCircle",
    "geoMidpoint" : {
      "@type" : "GeoCoordinates",
      "latitude" : "37.0902",
      "longitude" : "95.7129"
    },
    "geoRadius" : "500 km"
  },
  "description" : "Shopping Cart Software",
  "email" : "sales@3dcart.com",
  "image" : "https://www.3dcart.com/images/logo.png",
  "logo" : "https://www.3dcart.com/images/logo.png",
  "mainEntityOfPage" : {
    "@id" : "https://blog.shift4shop.com/how-to-add-a-gdpr-cookie-consent-notice-to-your-website",
    "@type" : "WebPage",
    "description" : "Many websites need cookies to function properly, whether for a shopping cart, Google Analytics, or other purposes. To comply with the GDPR, you need to inform your visitors of your use of cookies and give them a chance to opt out. Here's why and how to add cookie consent to your website."
  },
  "naics" : "5112",
  "name" : "3dcart",
  "sameAs" : [ "https://www.3dcart.com", "https://www.facebook.com/3dcart", "https://www.twitter.com/3dcart", "https://plus.google.com/+3dcart", "https://instagram.com/3dcart/", "https://www.youtube.com/3dcart", "https://www.linkedin.com/company/3dcart.com", "https://www.pinterest.com/3dcart" ],
  "telephone" : "8882762108",
  "url" : "https://www.shift4shop.com"
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Jimmy Rodriguez"
  },
  "dateModified" : "January 2, 2020, 5:36:40 AM",
  "datePublished" : "2018-12-21 16:00:00",
  "description" : "Many websites need cookies to function properly, whether for a shopping cart, Google Analytics, or other purposes. To comply with the GDPR, you need to inform your visitors of your use of cookies and give them a chance to opt out. Here's why and how to add cookie consent to your website.",
  "headline" : "How to Add a GDPR Cookie Consent Notice to Your Website",
  "image" : {
    "@type" : "ImageObject",
    "url" : "https://cdn2.hubspot.net/hubfs/3365633/iStock-1014368712.png"
  },
  "mainEntityOfPage" : {
    "@id" : "https://blog.3dcart.com",
    "@type" : "WebPage",
    "description" : "eCommerce Blog by 3dcart"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.3dcart.com/images/logo.png"
    },
    "name" : "3dcart"
  }
}
```