1. What cookies are and why we use them
Cookies are small files a website stores in your browser. Some are required for the site to work — such as staying signed in. Others help us understand how the site is used, or show ads and content from third parties.
BadmintonTH (www.badmintonth.com) is operated by Sophis Inthajak. This page sits alongside our privacy policy and describes the cookies this site actually uses.
Under the PDPA, cookies that are strictly necessary to provide the service do not need prior consent, but we still explain them here. Analytics and marketing cookies run only if you agree.
2. Managing your consent
The first time you visit, a window asks for your consent. You can accept all cookies, or open Cookie settings and choose each category. You can come back and change this at any time.
- Accept all — turns on analytics and marketing cookies for 12 months
- Use only essential cookies — keeps the site working, with analytics and marketing off
- Confirm my choices — saves the switches you set in the settings window
Your choice is stored in the bd_consent cookie and a copy in localStorage. Change it whenever you like with “Cookie settings” in the footer or the button above. We do not keep a personal record of consent in our database.
3. Essential cookies
These cookies are required to provide the service, so they stay on. There is no off switch in the settings window, but you can delete them in your browser. Blocking PHPSESSID will stop you from signing in or submitting some forms.
| Name | Set by | Purpose | Lifetime |
|---|---|---|---|
PHPSESSID | BadmintonTH | Keeps you signed in, remembers the language you chose (?lang=) and holds the anti-forgery (CSRF) token | Browser session |
bth_device | BadmintonTH | Recognises devices you have signed in from, so we can alert you about a new one | 1 year |
bth_2fa_trust | BadmintonTH | Remembers a device you marked as trusted after two-factor authentication (when you have 2FA on) | As set for a trusted device |
bd_theme | BadmintonTH | Remembers the colour theme a guest picked (signed-in members store the theme on their account instead) | 1 year |
bd_consent | BadmintonTH | Stores your cookie choice (policy version, time saved, analytics and marketing) | 12 months |
localStorage such as bd_dashboard_theme, bd_consent | BadmintonTH | On-device copies of your theme and consent, plus small assistant or page preferences, not sent to our server to identify you | Until you clear site data |
Web push notifications use a separate browser permission, and only after you choose to allow them.
4. Analytics cookies
We run our own statistics. We have not installed Google Analytics, Google Tag Manager, a Facebook Pixel or a similar third-party analytics tool. These features run only if you agree.
| Name | Set by | Purpose | Lifetime |
|---|---|---|---|
bd_analytics_visitor | BadmintonTH | A random 64-character ID for anonymous visitor totals and the “online now” count. Only a hash of this ID is stored. No IP address is stored in the statistics. | 1 year |
The related scripts are /assets/page-analytics.js and /assets/live-presence.js. They load after you allow analytics. We use this to understand traffic and improve the site, not to identify you.
5. Marketing cookies
These cookies come from third parties and load only if you agree. Until then, Google AdSense ads, Shopee affiliate banners and YouTube videos embedded in articles stay off (you can still open a video on YouTube itself).
| Name / service | Set by | Purpose | Lifetime |
|---|---|---|---|
Google cookies such as __gads, __gpi, IDE | Google AdSense | Serve, measure and possibly personalise ads, only when the admin has ads on and a publisher ID is set | Per Google’s policy |
| Shopee affiliate banners / links | Shopee (when you follow a link) | Show badminton gear and record an aggregate click on our side. Shopee may set its own cookies when you arrive there | Per Shopee’s policy |
YouTube (youtube.com / youtube-nocookie.com) | Google / YouTube | Play videos embedded in articles; the provider may set cookies | Per YouTube’s policy |
See also Google’s privacy policy and Shopee’s policy (external links may change).
6. Other third-party services we need for the site
Some third-party services load so that pages can display correctly, or so that a feature you asked for can work. They are not ads. We list them here so the picture is complete.
- Google Fonts (
fonts.googleapis.com/fonts.gstatic.com) — used on every page for the Prompt and Kanit typefaces. Loading the fonts may let Google know that your browser requested them. - Leaflet from unpkg and OpenStreetMap tiles — used on add-court and court-management pages when a map is shown. They are not used for advertising.
- Google or LINE sign-in — cookies from those providers are set on their own domains only when you choose to sign in or register with that account.
7. Deleting cookies in your browser, and contacting us
As well as the settings on this site, you can delete or block cookies in your browser. Blocking essential cookies will stop some features from working.
To exercise your PDPA rights or ask about cookies, contact the data controller, Sophis Inthajak.
- Email: sophis.inthajak@gmail.com
- Phone: 085-864-2245
- Form: Contact us → topic “Personal data request (PDPA)”
See also: Privacy policy and Terms of use.
Last updated: