# bettercode.co.th

## In short (as of 29 Nov 2026)

bettercode.co.th forwarded to www.bettercode.co.th.

- Behind Cloudflare (AS13335 Cloudflare, Inc.), certificate from Google Trust Services.
- The domain was registered on 7 Nov 2019 through T.H.NIC Co., Ltd.
- Mail is received via Google Workspace.
- It loads 3 scripts, which name 5 endpoints on other hosts and refer to 16 other domains.
- It loads 2 third-party domains: www.googletagmanager.com and www.google-analytics.com.
- Observed once, on 29 Nov 2026.

The public xpaling record of bettercode.co.th: 1 observation since 29 Nov 2026. Page: https://xpaling.com/host/bettercode.co.th

## Found and changed on bettercode.co.th
Timeline (1 observation, newest first)

- **29 Nov 2026** — [report](https://xpaling.com/host/bettercode.co.th/rep/ny2pj29nd3) — “เครื่องพิมพ์วันที่ · เครื่องพิมพ์วันที่ผลิต-วันหมดอายุ ซื้อ/เช่า | Better Code” · First observation · 6 findings

## Findings of bettercode.co.th
Findings (as of 29 Nov 2026)

- Google Analytics measurement ID. Google Analytics property [G-BDYF1JFJ1C](https://xpaling.com/ga/G-BDYF1JFJ1C) is set in the Google Tag Manager container GTM-M63RTX47 (https://www.googletagmanager.com/gtm.js?id=GTM-M63RTX47) (application/javascript). — first seen 29 Nov 2026
    What to do: Nothing to change if the property is yours; load analytics only after consent where the law asks for it.
- Google Tag Manager container ID. Google Tag Manager container [GTM-M63RTX47](https://xpaling.com/gtm/GTM-M63RTX47) is loaded in the response of https://bettercode.co.th/ itself (text/html). — first seen 29 Nov 2026
    What to do: Nothing to change if the container is yours; review which tags it loads, since every tag runs with the page's access.
- 1 IPv4 address outside Cloudflare. 1 host name under bettercode.co.th answers from 1 address outside Cloudflare (a Cloudflare-fronted site). — first seen 29 Nov 2026
  
  
    What to do: Proxy every subdomain through the CDN, restrict the origin firewall to CDN IP ranges, send mail through a third-party provider and use a separate certificate on the origin.
- WordPress REST API lists user accounts. [https://bettercode.co.th/wp-json/wp/v2/users](https://bettercode.co.th/wp-json/wp/v2/users) answers 200 with 1 KB of application/json; charset=utf-8. — first seen 29 Nov 2026
    What to do: Disable the users endpoint for unauthenticated requests (e.g. a filter on rest_endpoints).
- Of 3 cookies, 1 lacks Secure and 1 lacks HttpOnly (without Secure: RCACHE · without HttpOnly: RCACHE) — first seen 29 Nov 2026
  What to do: Set Secure on every cookie, and HttpOnly on every cookie that scripts do not need to read.
- Mail is received via [Google Workspace](https://xpaling.com/mail/google-workspace); SPF authorises Google Workspace to send (~all); DMARC p=none; DKIM selector google (MX aspmx.l.google.com, alt1.aspmx.l.google.com · v=spf1 include:_spf.google.com ~all · v=DMARC1; p=none; rua=mailto:pramoht@bettercode.co.th; fo=1) — first seen 29 Nov 2026
  What to do: Move DMARC from p=none to quarantine or reject once the reports show that legitimate mail passes.

### Facts and the date each was first recorded (as of 29 Nov 2026)

- The response has no Content-Security-Policy, Strict-Transport-Security (Referrer-Policy strict-origin-when-cross-origin · X-Frame-Options SAMEORIGIN · Permissions-Policy geolocation=(), microphone=(), camera=() · X-Content-Type-Options nosniff) — first seen 29 Nov 2026
- The homepage contacts 2 third-party domains before any click: [www.googletagmanager.com](https://xpaling.com/host/www.googletagmanager.com), www.google-analytics.com (2 requests to third parties · www.googletagmanager.com 2) — first seen 29 Nov 2026
- 3 scripts: 1 first-party, 2 from known services (first-party: www.bettercode.co.th/wp-content/themes/… c778723b) — first seen 29 Nov 2026
- 5 API endpoints appear in the page's requests and scripts (/wp-json/bc/v1/hit · /wp-json · /wp-json/bc/v1) — first seen 29 Nov 2026
- 10 values are written into the page's scripts (bcImageGuardInstalled = true · kadenceConfig.expand = "Child menu" · kadenceConfig.expandOf = "Child menu of") — first seen 29 Nov 2026
- Technology: [Cloudflare](https://xpaling.com/tech/cloudflare), [PHP](https://xpaling.com/tech/php), [WordPress 7.1.5](https://xpaling.com/tech/wordpress) (header cf-ray · implied by WordPress) — first seen 29 Nov 2026
- The certificate is issued by [Google Trust Services](https://xpaling.com/cert/90e4c46a4f2b49b7f77261b4eb86e726d192e5b93709ec823e7e64476ac0c347), valid until 27 Feb 2027, TLS 1.3 (SAN 1 · bettercode.co.th · 90e4c46a4f2b…) — first seen 29 Nov 2026
- IP [162.159.135.42](https://xpaling.com/ip/162.159.135.42) belongs to [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335), behind [Cloudflare](https://xpaling.com/cdn/cloudflare) (162.159.128.0/19 · RPKI valid · 298 upstreams) — first seen 29 Nov 2026
- Traffic passes through [Cloudflare](https://xpaling.com/cdn/cloudflare) first (WAF / DDoS scrubbing in front): DDoS protection included, WAF included, platform-level protection with no published figure (Cloudflare DDoS protection); some subdomains answer from addresses outside the edge; routing: prefix 162.159.128.0/19 has a valid RPKI ROA, 298 upstreams (www.cloudflare.com/plans/) — first seen 29 Nov 2026
- NS hosted by [Google Cloud DNS](https://xpaling.com/ns/google-cloud-dns) (ns-cloud-d1.googledomains.com, ns-cloud-d2.googledomains.com, ns-cloud-d3.googledomains.com and 1 more), no CAA record, DNSSEC not signed (apex A 162.159.135.42 · TXT Google (Search Console / Workspace)) — first seen 29 Nov 2026
- Domain bettercode.co.th was registered on 7 Nov 2019 through [T.H.NIC Co., Ltd.](https://xpaling.com/registrar/t-h-nic-co-ltd), expires 6 Nov 2027 (active · changed 1 Nov 2026) — first seen 29 Nov 2026
- 2 more site files answered: /llms.txt, /wp-login.php — first seen 29 Nov 2026
- The page gives the contacts customercare@bettercode.co.th, tel:021709611, tel:0922388777 — first seen 29 Nov 2026
- The page carries the identifiers [GTM GTM-M63RTX47](https://xpaling.com/gtm/GTM-M63RTX47), [GA G-BDYF1JFJ1C](https://xpaling.com/ga/G-BDYF1JFJ1C) — first seen 29 Nov 2026
- Served over h2 (h3 advertised), first byte in 258 ms, 1.2 MB in total, br compressed, cache HIT, server cloudflare (connect 19 ms · TLS 9 ms · 36 requests) — first seen 29 Nov 2026

## Endpoints, routes and files on bettercode.co.th

- 200 `/llms.txt` — file · 43 KB · text/plain · Publishes llms.txt (guidance for AI crawlers)
- 200 `/wp-json/wp/v2/users` — file · 1 KB · application/json · WordPress REST API lists user accounts
- 200 `/wp-login.php` — file · 11 KB · text/html · WordPress login page is public (wp-login.php)

5 endpoints on other hosts, called by this page:

- POST `www.bettercode.co.th/wp-json/bc/v1/hit` — seen at run time
- `www.bettercode.co.th/wp-json` — named in its scripts
- `www.bettercode.co.th/wp-json/bc/v1` — named in its scripts
- POST `www.bettercode.co.th/wp-json/bc/v1/stat` — named in its scripts
- `www.bettercode.co.th/wp-json/wp/v2/pages/13` — named in its scripts

## Subdomains of bettercode.co.th

The hostnames of bettercode.co.th are listed on the page of www.bettercode.co.th: https://xpaling.com/host/www.bettercode.co.th#subdomains. This host's own row is below.

| Host name | Type | IP | CNAME | In front | First seen | Last seen |
| --- | --- | --- | --- | --- | --- | --- |
| bettercode.co.th (registered domain, this host) | Web | 162.159.135.42 |  | Cloudflare | 29 Nov 2026 | 29 Nov 2026 |

## Values in the scripts of bettercode.co.th

10 values are written into the scripts of bettercode.co.th.

### inline (10)

- `bcImageGuardInstalled` = `true`
- `kadenceConfig.expand` = `Child menu`
- `kadenceConfig.expandOf` = `Child menu of`
- `kadenceConfig.collapse` = `Child menu`
- `kadenceConfig.collapseOf` = `Child menu of`
- `kadenceConfig.desktop` = `1024`
- `kadenceConfig.tablet` = `768`
- `done` = `false`
- `key` = `bc_vis_display_v1`
- `sel` = `img,picture,video,svg image,.wp-block-cover,.wp-block-image,figure,[style*="background-image"]`

## Cookies and storage of bettercode.co.th

- Cookie `__cf_bm` = `Fj0ZOdsIIG.YoDxhgRU5bPWf4IACkOdEJ.znJPwB6dI-1795955266.5214562-1.0.1.1-OC0rBrcIHYJYYJeWIzF8gTZPstns4ns8XrzuXs.TUpjrzsBJiavh01tFW7JvcpWqr4AG4VQ878xCAq_7qOo3dop.5D94uxeONMARqs4p__jBnixi_AZZfExJteW5_vJJ` — .bettercode.co.th · Secure · HttpOnly · SameSite=None · persistent
- Cookie `RCACHE` = `1` — www.bettercode.co.th · not Secure · not HttpOnly · no SameSite · persistent
- Cookie `__cf_bm` = `EsAlRLOfk..a_FPoL4BDw.HlmCDW9aYbHZFEvrIqtJc-1795955269.4034991-1.0.1.1-3Yj7nshpx5zq.hpiSjeQmBjipLEi0RXltM8G.PJWCSYB77am.6GG2KpTb0ms3VpT7Bsr3ycoim4jCSjf3L5Uv.e9QxMbiDqHXaPJ25y_Lc_xy5suN87T2FwBlZPYtbFf` — .www.bettercode.co.th · Secure · HttpOnly · SameSite=None · persistent
- Session storage `bc_vis_display_v1` = `{"at":1795955268291,"day":"Sun Nov 29 2026","counts":{"today":61,"total":416553}}`
- Session storage `bc_src` = `direct`
- Session storage `bc_vis` = `1`
- Session storage `bc_cshow` = `1`

## Third parties and requests of bettercode.co.th

2 third-party domains receive requests from the page. The page made 36 requests; 3 went to them and 33 stayed on first-party hosts. 16 domains are named in the page or its scripts without being requested.

Receives requests (2 domains · 3 requests):

- www.googletagmanager.com — Google Tag Manager · tag manager — 2 script requests
- www.google-analytics.com — Google Analytics · analytics — 1 POST

First-party hosts seen (33 requests): bettercode.co.th, www.bettercode.co.th

Named in the page, not requested (16 domains): ad.doubleclick.net, ade.googlesyndication.com, adservice.google.com, api.w.org, cct.google, fonts.gstatic.com, line.me, m.youtube.com, pagead2.googlesyndication.com, stats.g.doubleclick.net, www.facebook.com, www.google.com, www.googleadservices.com, www.instagram.com, www.merchant-center-analytics.goog, www.youtube.com

### Services used (as of 29 Nov 2026)

- Tag manager: Google Tag Manager
- Analytics: Google Analytics

## Scripts and behaviour of bettercode.co.th

Scripts: gtm.js, js, navigation.min.js

Technology:

- Cloudflare
- Google Analytics
- Google Fonts
- Google Tag Manager
- PHP
- WordPress 7.1.5

## Network and DNS of bettercode.co.th

- Address: 162.159.135.42 in AS13335 Cloudflare, Inc. · prefix 162.159.128.0/19 · RPKI valid · 298 upstreams
- In front: Cloudflare
- Apex bettercode.co.th: A 162.159.135.42
- www.bettercode.co.th: A 162.159.135.42
- Name servers: ns-cloud-d1.googledomains.com, ns-cloud-d2.googledomains.com, ns-cloud-d3.googledomains.com, ns-cloud-d4.googledomains.com (Google Cloud DNS) · DNSSEC unsigned
- CAA: no CAA record
- Verified with (TXT records of bettercode.co.th): Google (Search Console / Workspace)
- Takeover: none: every CNAME target resolves
- Redirect: https://bettercode.co.th/ → https://www.bettercode.co.th/ (301)
- Header age: `15126`
- Header link: `<https://www.bettercode.co.th/wp-json/>; rel="https://api.w.org/", <https://www.bettercode.co.th/wp-json/wp/v2/pages/13>; rel="alternate"; title="JSON"; type="application/json", <https://www.bettercode.co.th/>; rel=shortlink`
- Header vary: `Accept-Encoding`
- Header server: `cloudflare`
- Header alt-svc: `h3=":443"; ma=86400`
- Header content-type: `text/html; charset=UTF-8`
- Header cache-control: `public, max-age=0, s-maxage=86400`
- Header cf-cache-status: `HIT`
- Header Referrer-Policy: `strict-origin-when-cross-origin`
- Header X-Frame-Options: `SAMEORIGIN`
- Header content-encoding: `br`
- Header Permissions-Policy: `geolocation=(), microphone=(), camera=()`
- Header X-Content-Type-Options: `nosniff`

## Mail for bettercode.co.th

- MX: aspmx.l.google.com, alt1.aspmx.l.google.com, alt2.aspmx.l.google.com, alt3.aspmx.l.google.com, alt4.aspmx.l.google.com (Google Workspace)
- SPF: v=spf1 include:_spf.google.com ~all
- DMARC: v=DMARC1; p=none; rua=mailto:pramoht@bettercode.co.th; fo=1
- DKIM: google

## Domain and certificate of bettercode.co.th

- Domain bettercode.co.th · registered 7 Nov 2019 (2,579 days before the latest scan) through T.H.NIC Co., Ltd. · expires 6 Nov 2027
- Certificate: Google Trust Services · valid until 27 Feb 2027 · covers bettercode.co.th

## Related hosts of bettercode.co.th

- [www.bettercode.co.th](https://xpaling.com/host/www.bettercode.co.th), [new.bettercode.co.th](https://xpaling.com/host/new.bettercode.co.th) use the same Google Tag Manager container [GTM-M63RTX47](https://xpaling.com/gtm/GTM-M63RTX47) (2 hosts) — first seen 29 Nov 2026
- [www.bettercode.co.th](https://xpaling.com/host/www.bettercode.co.th), [new.bettercode.co.th](https://xpaling.com/host/new.bettercode.co.th) use the same Google Analytics ID [G-BDYF1JFJ1C](https://xpaling.com/ga/G-BDYF1JFJ1C) (2 hosts) — first seen 29 Nov 2026
- 1,853,821 other hosts in [AS13335 Cloudflare, Inc.](https://xpaling.com/asn/13335); 57,271 with NS at [Google Cloud DNS](https://xpaling.com/ns/google-cloud-dns); 232,700 receiving mail via [Google Workspace](https://xpaling.com/mail/google-workspace); 3,324 other hosts on IP [162.159.135.42](https://xpaling.com/ip/162.159.135.42) — first seen 29 Nov 2026
- The favicon [Favicon mmh3 -787387061](https://xpaling.com/favicon/-787387061) is also on [www.bettercode.co.th](https://xpaling.com/host/www.bettercode.co.th), [new.bettercode.co.th](https://xpaling.com/host/new.bettercode.co.th) (3 hosts in all)

## Scan history of bettercode.co.th

### Record

- Cite: xpaling, bettercode.co.th, 29 Nov 2026, https://xpaling.com/host/bettercode.co.th
- This record as Markdown: https://xpaling.com/host/bettercode.co.th.md · JSON: https://xpaling.com/host/bettercode.co.th.json
- Latest report (29 Nov 2026): https://xpaling.com/host/bettercode.co.th/rep/ny2pj29nd3 · https://xpaling.com/host/bettercode.co.th/rep/ny2pj29nd3.md · https://xpaling.com/host/bettercode.co.th/rep/ny2pj29nd3.json
- Submitted URL: https://bettercode.co.th/ · final: https://www.bettercode.co.th/
- Archive: desktop screenshot https://xpaling.com/i/bettercode.co.th/2026-11-29-b17297eedd56623ea225119d054848df271e341f1f0b994df48914773eef0949.webp · phone screenshot https://xpaling.com/i/bettercode.co.th/2026-11-29-af8d57062b632972f79e7b1ce3b10b775b4bacfe6f9dc69e644e18395d3ab423.webp · OG https://xpaling.com/og/ny2pj29nd3.png
- Records are observations, not verdicts. Corrections within two working days: https://xpaling.com/corrections
