What Is PDPA? What Thai Websites Must Do

If you run a website in Thailand and use Google Analytics, Facebook Pixel, or even a login system — you are processing the personal data of your visitors. That activity falls under the Personal Data Protection Act B.E. 2562, known as PDPA. This article explains from start to finish what PDPA is, what your website needs to do, and how AsiaGB handles it all.

What Is PDPA?

PDPA stands for Personal Data Protection Act. It is Thailand's personal data protection law, published in the Royal Gazette on 27 May 2019 and fully effective since 1 June 2022.

Its primary inspiration is the EU's GDPR (General Data Protection Regulation), the world's most stringent data protection law. Thailand's PDPA follows the same principles but is adapted to the Thai context.

Personal data means any information that can identify a natural person — directly or indirectly — such as a name, email address, phone number, IP address, browsing behaviour, or cookies that can be linked to an identity.

Who Must Comply With PDPA?

PDPA applies to every organisation and individual that collects, uses, or discloses personal data of natural persons located in Thailand — regardless of whether the organisation itself is based in Thailand. If your website has Thai users, you fall under this law.

What Are Cookies and What Types Exist?

A cookie is a small text file that a website stores in the user's browser to remember certain information — such as login status, user preferences, or browsing behaviour.

PDPA and Cookies — What Does Your Website Need to Do?

Section 19 of PDPA states that collecting personal data requires prior consent from the data subject. Section 24 permits processing without consent in specific situations — such as fulfilling a contract or pursuing a legitimate interest.

Section 19 PDPA: "The data controller must obtain consent from the data subject prior to or at the time of collection, unless sections 24 or 26 provide otherwise."

What a Legally Compliant Cookie Consent System Must Include

How AsiaGB Handles PDPA

AsiaGB chose to build its own Cookie Consent system rather than depend on a foreign third-party vendor. The two main reasons: full control over data and native Thai-language support from day one.

The System Meets Every Legal Requirement

🛡️ Blocked Before Consent

Google Consent Mode v2 sets analytics_storage=denied by default. GA4 records nothing until the user clicks "Accept."

🌐 2 Languages, Automatic

The banner displays Thai on TH pages and English on EN pages — detected automatically from the HTML lang attribute with no extra configuration needed.

📋 Complete Consent Log

Every action is written to MySQL with UTC timestamp, choice, policy version, language, page URL, anonymised IP, and UA hash.

↩️ Withdrawal at Any Time

A "Manage Cookies" link in the footer of every page lets users change their mind. The system logs "withdraw" and "re-accept" events separately from the initial consent.

📅 Stored for 1 Year

Consent logs are retained for 365 days so AsiaGB can produce evidence if the PDPC receives a complaint or conducts an inspection.

🏢 Covers All Domains

The same system works across both asiagb.com and billing.in.th (WHMCS). All logs feed into a single database with a referrer column for per-site reporting.

Data Stored per Consent Event

AsiaGB's Privacy Policy

Beyond the consent system, AsiaGB maintains a Privacy Policy written to full PDPA standards, covering every topic the law requires:

A Checklist for Thai Website Owners

If you run a website and have not yet dealt with PDPA compliance, here is the minimum checklist to work through:

Penalties for Non-Compliance With PDPA

PDPA provides for civil, criminal, and administrative penalties. In summary:

Note: While the penalties are significant, active enforcement is still relatively limited. That said, starting compliance today is a worthwhile investment — both for customer trust and as insurance against future risk.

Summary

PDPA is not something to fear — it is something to prepare for. Any website using Analytics needs a correct consent system, a complete Privacy Policy, and a Consent Log ready to show regulators. AsiaGB has completed all of these steps and is ready to serve customers who take their users' privacy seriously.

Great Websites Start With Great Hosting

AsiaGB provides web hosting in Thailand with a support team that understands Thai law and speaks Thai.

View Hosting Plans