Skip to content

Host summary and security record

api.treatcounter.com

Everything xpaling has recorded about api.treatcounter.com, brought together from its scan on .

scan
1;
last changed

In short · as of

api.treatcounter.com is a website titled “TreatCounter: Count Every Trick-or-Treater”, in English, linking to terms and a privacy policy.

.md .json Cite this record Monitor

Found and changed on api.treatcounter.com

1 scan

api.treatcounter.com has been scanned once; that scan started this record. Then the findings of the latest scan, each with what to do, and the date each fact was first recorded. The reports themselves are under Scan history.

scan of api.treatcounter.com/ · first scan · 7 findings Report of , 19:05 UTC

Findings of api.treatcounter.com

7 findings as of .

Facebook Pixel ID

first seen

Facebook Pixel 4443455952636482 is set in the response of https://api.treatcounter.com/ itself (text/html).

What to do: Nothing to change if the pixel is yours; name Meta in the privacy policy and load the pixel only after consent where the law asks for it.

Google Analytics measurement ID

first seen

Google Analytics property G-96840X7VSZ is set in the response of https://api.treatcounter.com/ itself (text/html).

What to do: Nothing to change if the property is yours; load analytics only after consent where the law asks for it.

robots.txt points at 1 admin/backup-style path

first seen

https://api.treatcounter.com/robots.txt lists: /admin.

What to do: Disallow lines are public and do not protect a path; protect those paths with authentication.

5 JavaScript source maps referenced in production

first seen
  • https://us-assets.i.posthog.com/static/1.455.4/dead-clicks-autocapture.js.map
  • https://us-assets.i.posthog.com/static/1.455.4/posthog-recorder.js.map
  • https://us-assets.i.posthog.com/static/1.455.4/surveys.js.map
  • https://us-assets.i.posthog.com/static/1.455.4/web-vitals-with-attribution.js.map
  • https://us-assets.i.posthog.com/static/array.js.map

What to do: Do not ship .map files or sourceMappingURL comments to production; they expose original source code.

The response has no Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy

first seen

Strict-Transport-Security max-age=63072000; includeSubDomains

What to do: Send the missing headers from the server or the CDN, starting with Strict-Transport-Security and Content-Security-Policy.

Of 4 cookies, 2 lack Secure and 3 lack HttpOnly

first seen

without Secure: _ga_96840X7VSZ, _ga · without HttpOnly: _ga_96840X7VSZ, _ga, ph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_posthog

What to do: Set Secure on every cookie, and HttpOnly on every cookie that scripts do not need to read.

Mail is received via Amazon SES; no SPF; no DMARC

first seen

MX inbound-smtp.us-east-1.amazonaws.com

What to do: Publish a DMARC record: start with p=none and a rua address, then move to quarantine or reject.

First seen · 12 facts of the latest report, with the date each was first recordedscroll for all
Facts of api.treatcounter.com with the date each was first recorded
KindWhatFirst seen
Third partiesThe homepage contacts 4 third-party domains before any click: fonts.googleapis.com, us-assets.i.posthog.com, www.googletagmanager.com, www.google-analytics.com
Scripts6 scripts: 5 external (from us-assets.i.posthog.com), 1 from known services
Endpoints4 endpoints, routes and files found on api.treatcounter.com
Values3 values are written into the page's scripts
TechnologyTechnology: Cloudflare
CertificateThe certificate is issued by Google Trust Services, valid until , TLS 1.3
AddressIPs 162.159.140.98, 172.66.0.96 belong to AS13335 Cloudflare, Inc., behind DigitalOcean App Platform
ProtectionTraffic passes through Cloudflare first
Name servers of treatcounter.comNS hosted by DigitalOcean
Domain of treatcounter.comDomain treatcounter.com was registered on through Tucows Domains Inc, expires
IdentifiersThe page carries the identifiers GA G-96840X7VSZ, PIXEL 4443455952636482
TransportServed over h2 (h3 advertised), first byte in 208 ms, 490 KB in total, br compressed, cache BYPASS, server cloudflare

Endpoints, routes and files on api.treatcounter.com

4 on this host: 2 endpoints, 2 files · 1 endpoint on another host

4 endpoints, routes and files have been found on api.treatcounter.com. 2 are endpoints named in its scripts and 2 are files that answered.

4 paths · what each is, the icon copies the full URL
  • /api/surveys · named in its scripts
  • /i/v1/metrics · named in its scripts
  • 200 /robots.txt · file · 177 bytes · text/plain · robots.txt
  • 200 /sitemap.xml · file · 1 KB · application/xml · XML sitemap
1 endpoint on another host · called by this page
  • us-assets.i.posthog.com/array/phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9/config · seen at run time

robots.txt has 1 group, 1 Disallow line and 1 sitemap (first seen ).

Hostnames under treatcounter.com

The hostnames of treatcounter.com are listed on the page of www.treatcounter.com. This host's own row is below.

api.treatcounter.com · type, IP, CNAME, in front, first and last seen
api.treatcounter.com, one of the hostnames of treatcounter.com: type, IP addresses, CNAME, what is in front, first seen, last seen
Host nameTypeIPCNAMEIn frontFirst seenLast seen
api.treatcounter.com · this host Web 162.159.140.98, 172.66.0.96 treatcounter-3y799.ondigitalocean.app Cloudflare

Values in the scripts of api.treatcounter.com

3 values

3 values are written into the scripts of api.treatcounter.com.

inline 3
NameValue
seed31
campaignLinkhttps://apps.apple.com/app/apple-store/id6754659583?pt=128221573&ct=meta_halloween26&mt=8
fromMetafalse

Cookies and storage of api.treatcounter.com

11 entries · cookies 6 · local storage 1 · session storage 4

The page stores 4 cookies, 2 cookies written by its scripts, 1 local storage key and 4 session storage keys in the browser.

Cookies and browser storage set by api.treatcounter.com
TypeName and attributesValue
Cookie__cf_bm199 characters
.api.treatcounter.com · Secure · HttpOnly · SameSite=None · persistent
Cookie_ga_96840X7VSZ45 characters
.treatcounter.com · not Secure · not HttpOnly · no SameSite · persistent
Cookie_ga27 characters
.treatcounter.com · not Secure · not HttpOnly · no SameSite · persistent
Cookieph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_posthog274 characters
.treatcounter.com · Secure · not HttpOnly · SameSite=Lax · persistent
Cookie, set by a scriptph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_posthog_cpm%22%22
expires=Fri, 19:05:09 GMT · SameSite=Lax · path=/
Cookie, set by a scriptdmn_chk_01a2238c-0998-7750-aacb-8ab9191f08fe1
domain=.treatcounter.com · path=/ · max-age=0
Local storageph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_posthog{"$initialization_time":"2026-11-28T19:05:09.533Z","$configured_session_timeout_ms":1800000,"distinct_id":"01a2238c-08ad-7743-ba1b-a06a4d134f06","$device_id":"01a2238c-08ad-7743-ba1b-a06a4d134f06","$user_state":"anonymous","$autocapture_disabled_server_side":false,"$logs_capture_enabled_server_side"cut
Session storageph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_primary_window_existstrue
Session storageph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_session_registered_properties["$sdk_debug_extensions_init_method","$sdk_debug_extensions_init_time_ms","$sdk_debug_replay_remote_trigger_matching_config","$sdk_debug_replay_event_trigger_status","$sdk_debug_replay_url_trigger_status","$sdk_debug_replay_linked_flag_trigger_status","$session_recording_start_reason"]
Session storageph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_window_id"01a2238c-0e65-7da8-befd-a7c9c5492848"
Session storageph_phc_nk9yhioRafGkbMFcsvoowupQqRgo3ivQ2X66kdSeoLt9_posthog{"$sdk_debug_extensions_init_method":"synchronous","$sdk_debug_extensions_init_time_ms":11,"$sdk_debug_replay_remote_trigger_matching_config":null,"$sdk_debug_replay_event_trigger_status":"trigger_disabled","$sdk_debug_replay_url_trigger_status":"trigger_disabled","$sdk_debug_replay_linked_flag_trigcut

Third parties and requests of api.treatcounter.com

4 third-party domains · 13 requests · 21 named, not requested

4 third-party domains receive requests from the page. The page made 13 requests; 9 went to them and 4 stayed on first-party hosts. 21 domains are named in the page or its scripts without being requested.

Receives requests 4 domains · 9 requests
fonts.googleapis.com · Google Fonts · web fonts and icons1 stylesheet request
us-assets.i.posthog.com6 requests: 5 script, 1 fetch
www.googletagmanager.com · Google Tag Manager · tag manager1 script request
www.google-analytics.com · Google Analytics · analytics1 POST
First-party hosts seen 4 requests
Services used 3 services
  • Tag manager Google Tag Manager
  • Analytics Google Analytics
  • Web fonts and icons Google Fonts
Named in the page, not requested 21 domains

All 13 requests of the latest scan

Scripts and behaviour of api.treatcounter.com

6 scripts · 50 events after load

6 scripts: 5 from other hosts and 1 from known services (Google Tag Manager). Their values are listed under Values in the scripts.

Key listeners, other behaviour and script files of api.treatcounter.com
Key listeners3 on document and window
Also seen17 storage writes · 13 cookie writes · 10 focus or visibility watches · 5 beforeunload handlers · 1 POST request · 1 non-GET fetch
CloudflareHosts behind Cloudflareheader cf-rayheader server: cloudflarecookie: __cf_bm=
Google AnalyticsHosts built with Google Analyticshtml: googletagmanager.com/gtag/js?id=G-96840X7VSZurl: https://www.google-analytics.com/g/collect?v=2&tid=G-96840X7VSZ&gtm=45je6bh1v9233376810za208zd9233376810xf1&_p=179589270
Google FontsHosts built with Google Fontsurl: https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap
Meta PixelHosts built with Meta Pixelhtml: connect.facebook.net/en_US/fbevents.js
Scriptsarray.js dead-clicks-autocapture.js posthog-recorder.js surveys.js web-vitals-with-attribution.js

Network and DNS of api.treatcounter.com

behind DigitalOcean App Platform · DNSSEC unsigned for treatcounter.com

Addresses, what is in front, DNS records, connection and response headers of api.treatcounter.com
Address162.159.140.98 · 172.66.0.96in AS13335 Cloudflare, Inc., US · prefix 162.159.128.0/19 · RPKI valid · 298 upstreams
In frontDigitalOcean App Platform · CloudflareDDoS protection included (Cloudflare DDoS protection), WAF includedEstimated mitigation: platform-level, no published figure (Cloudflare DDoS protection) · source: www.cloudflare.com/plans/treatcounter-3y799.ondigitalocean.app → DigitalOcean App Platform
Apextreatcounter.com · the registered domainA 162.159.140.98 · 172.66.0.96
wwwwww.treatcounter.com → treatcounter-3y799.ondigitalocean.appA 162.159.140.98 · 172.66.0.96of treatcounter.com
Name serversDigitalOcean · of treatcounter.comns1.digitalocean.com · ns2.digitalocean.com · ns3.digitalocean.comDNSSEC unsigned
CAAno CAA recordof treatcounter.com
Verified withGoogle (Search Console / Workspace)from the TXT records of treatcounter.com
Takeovernone: every CNAME target resolves
Connectionh2 · TLS 1.3 · connect 4 ms · TLS 4 ms · first byte 208 ms
Response headersserver cloudflarecontent-type text/htmlcache-control no-cachealt-svc h3=":443"; ma=86400cf-cache-status BYPASScontent-encoding br
Security headersStrict-Transport-Security max-age=63072000; includeSubDomainsnot sent: Referrer-Policy, X-Frame-Options, Permissions-Policy, X-Content-Type-Options, Content-Security-Policy

Mail for treatcounter.com

Amazon SES · no DMARC

MX, SPF, DMARC and DKIM records of treatcounter.com
MXinbound-smtp.us-east-1.amazonaws.com
SPFnone
DMARCno record
DKIMno selector found

Domain and certificate of api.treatcounter.com

registered 2025 · certificate until

Registration of treatcounter.com and the TLS certificate of api.treatcounter.com
Domaintreatcounter.com · registered (473 days before the latest scan) through Tucows Domains Inc · expires  · last changed
CertificateGoogle Trust Services · valid until  · issued 5 days before the latest scan
Coversapi.treatcounter.com
sha256e012fbb889435065c9f713e4e12c4004c06f774b1e8a5e0b7be00745a7a440bf

Scan history of api.treatcounter.com

1 report · newest first

api.treatcounter.com has 1 scan report, dated . It shows the page title read at that scan and links to the full report.

Cite this record

xpaling, api.treatcounter.com, , https://xpaling.com/host/api.treatcounter.com