Template · June 17, 2026
Cookie banner templates for PDPL-compliant e-commerce sites
Cookie banner templates for e-commerce: ready-to-use titles, descriptions, buttons, and variants, compliant with Vietnam's PDPL.
Edit & copy
This is a reference template. Consult a legal advisor before using in production.
Quick answer
What is an e-commerce cookie banner content template?
A cookie banner template for an e-commerce website is the set of copy shown when users visit the site to inform them about cookies/trackers, the purposes of use, and the choices to consent or refuse. For e-commerce, banners typically relate to traffic measurement, personalized product recommendations, remarketing, shopping cart, and conversion analysis.
What parts should an e-commerce website cookie banner include?
There should be 4 minimum parts: a short title, a clear description, clear action buttons, and a link to the cookie policy/data protection policy. If the banner is used to record consent for non-essential purposes, it needs to present clear choices and allow withdrawal in accordance with the regulations.
Use a short, simple title:
State directly that this is a notice about cookies and data.
Write purpose-accurate descriptions:
Clarify whether the website uses cookies to operate, measure, personalize, or advertise.
Separate consent and refusal choices:
Do not make the “Accept” button more prominent in a misleading way; include “Accept,” “Reject,” “Preferences.”
Add policy links:
Link to the cookie policy and privacy policy for details.
Store proof of consent:
Record the time, banner version, and the user’s choices to support compliance audits.
What do the titles, descriptions, and buttons look like for an e-commerce cookie banner?
Below are prefilled templates you can use right away for e-commerce websites. You can replace the brand name, purposes, and policy links to fit your reality.
| Component | Suggested content |
|---|---|
| Title | We use cookies to operate and improve your shopping experience |
| Short description | The [Shop name] website uses cookies and similar technologies to remember your cart, measure traffic, personalize content and, when you allow, show relevant offers. You can accept, refuse, or customize by purpose. |
| Primary button | Accept all |
| Secondary button | Reject all |
| Settings button | Customize cookies |
| Policy link | See Cookie Policy / Data Protection Policy |
| Note | You can change your choices at any time in the cookie settings. |
What are the cookie banner copy variants for e-commerce?
You should prepare multiple variants to fit desktop and mobile interfaces and the context of each page. Below are concise, practical templates.
Variant 1: neutral and easy to use
Title: Cookies help the website work better
Description: We use cookies to remember your cart, measure effectiveness, and improve the shopping experience. You can choose to accept, reject, or customize by cookie type.
Buttons: Accept all | Reject all | Customize
Variant 2: shopping-focused
Title: Your shopping experience will be more personalized
Description: Cookies help [Shop name] remember products you viewed, maintain your cart, and suggest suitable products. With your consent, we may also use cookies for analytics and marketing.
Buttons: Agree | Disagree | View options
Variant 3: short for mobile
Title: We use cookies
Description: To run the website, remember your cart, and improve displayed content.
Buttons: Accept | Reject | Settings
Variant 4: transparency-first
Title: Your cookie choices
Description: Some cookies are necessary for the website to function. Other cookies help with analytics and personalization. You have the right to choose per purpose before we activate them.
Buttons: Accept necessary | Accept all | Manage choices
Which banner template fits when the website uses remarketing and analytics?
If an e-commerce website uses Google Analytics, ad pixels, or remarketing tools, the banner should clearly state that there are cookies for analytics/marketing and separate those cookie groups. You should not bundle everything under “to improve the experience,” as that is too generic and makes it hard to prove you provided adequate notice.
Example template:
Title: We use cookies to analyze and show relevant content
Description: The [Shop name] website uses necessary cookies to operate, analytics cookies to understand how you use the site, and marketing cookies to show more relevant content. You can select each cookie group and change your decision at any time.
Buttons: Accept all | Reject non-essential | Customize settings
What should e-commerce cookie banner content watch for under the PDPL?
Under personal data protection regulations, businesses need to clearly notify the purposes of processing, the types of data involved, and provide a mechanism for users to make meaningful choices. If cookies/trackers collect identifying data, web-browsing behavior, device data, or serve marketing, you should treat this as part of your PDPL compliance system, not just a UI design.
In addition, if a personal data breach occurs related to cookies/trackers or the data collection system, the business must assess and notify the data breach within 72 hours of discovery, as required.
Should you store proof of cookie consent?
Yes. For e-commerce, you should store proof of consent to demonstrate what the user chose, when, and under which banner version. In practice, record: session ID, timestamp, consent/refusal status, the list of cookie groups, and the policy version. This is useful during internal reviews or when working with the enforcement authority, the Ministry of Public Security — Department of Cybersecurity and High-Tech Crime Prevention (A05).
- Keep it short on the main banner and detailed on the cookie policy page. The banner only needs to state what cookies are used for, what choices are available, and link to where to read more.
- Under the regulations, you should provide a clear option to refuse or manage each cookie group without pressure. The specific implementation should be reviewed by legal counsel against your data model.
- They should be separated. This helps users correctly understand the processing purposes and helps the business demonstrate transparent notice, especially when using third-party trackers.
- Check whether the banner states clear purposes, provides meaningful choices, includes policy links, and stores proof of consent. For complex systems, seek legal and technical advice to map to the regulations.
If you are deploying a real banner on an e-commerce website, consent.vn can help you store proof of consent, manage cookie banners, and streamline DSAR flows.
Source: the Personal Data Protection Law (Law 91/2025/QH15) on thuvienphapluat.vn; Decree 13/2023/ND-CP on thuvienphapluat.vn; Ministry of Public Security, Department A05 on bocongan.gov.vn
Access the full template library — no account needed.
Need more PDPL templates?