This site contains affiliate links — we may earn a commission if you sign up through them. Details

Website Cookie Consent and Thailand PDPA Compliance Guide 2026

Website Cookie Consent and Thailand PDPA Compliance Guide 2026

Website cookie management and user data protection are core compliance requirements under Thailand's Personal Data Protection Act (PDPA). Simply displaying a banner is not enough—the technical backend must actually prevent tracking until users consent. This guide covers what cookies require consent, PDPA's specific requirements, how to implement proper controls, and how to verify your site is genuinely compliant.

What Are Cookies and Why Consent Matters

Cookies are small data files stored on a visitor's device to maintain state and track activity. While some cookies are essential for basic functionality, many collect behavioral data for analytics and advertising. Under Thailand's PDPA, websites must obtain explicit, prior consent from users before storing or accessing non-essential cookies. Consent must be active and documented, not implied or assumed from page use.

Cookies fall into distinct categories, each with different consent rules. Necessary cookies support basic functionality and can operate without prior consent. Analytics cookies require informed opt-in before the tracking script loads. Marketing and third-party cookies demand explicit prior written consent and detailed disclosure of purpose, data retention, and third-party vendors.

Understanding Thailand's PDPA and Cookie Regulations

Thailand's Personal Data Protection Act (PDPA), enforced since 2019, establishes strict requirements for website operators handling personal data. The law treats cookies as personal data collection if they identify individuals—even browser IDs count. Website owners must disclose the purpose of data collection and obtain explicit consent before capturing identifiable or behavioral data via cookies. The law also grants users rights to access, correct, and delete their personal information.

An effective cookie consent banner discloses which cookies are used, their purpose, and retention period. Users must be able to accept or reject each cookie category independently—not just click "Accept All." The banner must appear and block script execution before any tracking code loads. Many non-compliant sites load tracking first, then show a banner—this defeats PDPA's purpose.

Technical Implementation and Script Loading Control

Proper technical implementation requires conditional script loading: do not execute tracking code until the user explicitly consents. Store the consent state in localStorage or a first-party cookie, then conditionally execute analytics scripts based on that state. Many sites fail here by loading tracking code immediately and only hiding the banner after the fact—this violates PDPA because users had no choice before data collection began.

RecommendedAsiaGB.com — Web Hosting & VPS we recommend. Servers in Thailand & Singapore, SSD storage, DirectAdmin control panel, 24/7 Thai-language support, 99% uptime.

Based in Thailand, ideal for Thai websites and businesses.

Visit AsiaGB →

PDPA Compliance Checklist for Website Owners

Website operators should conduct a complete compliance self-audit. Publish a detailed privacy policy that lists all cookies, third-party vendors, data purposes, retention periods, and user rights. Verify that the consent banner loads and prevents script execution before any tracking fires. Confirm users can withdraw consent anytime. Maintain server-side logs of when consent was given.

Testing and Verifying True Compliance

A compliance banner without technical enforcement is not genuine compliance. Test your site's actual behavior: open DevTools (F12), switch to the Network tab, reload the page, and immediately reject all cookies. Look for requests to google-analytics.com, facebook.com/tr, or similar tracking domains. If these requests appear after rejection, your site is violating PDPA.

Common Compliance Mistakes and How to Avoid Them

Common mistakes include loading tracking scripts before displaying the consent banner, or assuming page scrolling implies consent (it doesn't under PDPA). Others hide the "Reject All" button or make it less prominent than "Accept All." These failures invite complaints and investigation by the Personal Data Protection Committee, and damage user trust.

Frequently Asked Questions

What's the difference between a cookie consent banner and a privacy policy?

A cookie consent banner is the interactive control that asks for user permission before cookies are set. A privacy policy is a detailed legal document that discloses how data is collected, processed, and protected. Both are legally required.

If a user rejects analytics cookies, can I still log basic analytics data to my own database?

You cannot send data to Google Analytics or third-party services after rejection. However, you may log anonymized data to your own private database, provided your privacy policy discloses this practice.

What fines or penalties does PDPA impose for cookie consent violations?

The Thai PDPA does not specify fixed penalty amounts. Instead, enforcement is handled case-by-case by the Personal Data Protection Committee, which can investigate complaints, order data deletion, or award damages to affected users.

How long should I keep consent logs for compliance audit purposes?

PDPA does not specify a retention period, only requiring you keep data "as long as necessary." Best practice is to retain consent logs for 1–2 years or as long as the user's account is active.