Analytics for my sites: the decisions, the setup, and how to operate it. Google Analytics 4, Search Console, and Cloudflare. Verified 2026-12-03. Measurement IDs and account IDs are public in the site HTML. No IP addresses, passwords, or tokens are written here.

Layout

One Google Analytics account per organization. The account is the permissions boundary. One GA4 property per site, and one web data stream on that property. A property is named <host> - GA4. A stream is named <host>. Time zone America/New_York. Currency USD. Podval, OpenTorah, and CognoMath are the same organizations as [[Cloud Infrastructure]] and [[Domains]].

Accounts

opentorah.org

Account opentorah.org (accounts/154490117). Renamed from alter-rebbe.org on 2026-12-03. The chumashquestions property was moved into this account by hand the same day.

Host Property Measurement ID
www.alter-rebbe.org 363099891 G-2V8WKBK2ED
www.chumashquestions.org 364195799 G-DK8H23BZHM
www.opentorah.org 567006649 G-TFMFQ340CF

The www.opentorah.org stream id is 16468739859.

dub.podval.org

Account dub.podval.org (accounts/18415116).

Host Property Measurement ID
dub.podval.org 362779592 G-32JBCGFJ1T
www.podval.org 566999404 G-ZZJ0PHESG5

CognoMath Analytics

Account CognoMath Analytics (accounts/239952300), through the dub@cognomath.org Google login. Renamed, and set to New York time, on 2026-12-03. www.cognomath.org is Google Sites. blog.cognomath.org is Blogger. Neither is a [[Site Publisher]] site.

Host Property Measurement ID
www.cognomath.org 330407564 G-ZH4B0G4JEG
blog.cognomath.org 330397569 G-QDDLQYJ7MM

Ignored

www.mathworlds.org and app.alter-rebbe.org are deliberately ignored (still on legacy UA-154490117-1).

Empty accounts

The empty account blog.dub.podval.org (2010) was moved to the Trash Can on 2026-12-03. The empty chumashquestions.org account is to be moved to the Trash Can by hand.

Access

Google Analytics has no single owner. The Administrator role on an account is control. dub@opentorah.org was added as Administrator on opentorah.org on 2026-12-03.

Grok Bot reaches Analytics through three labeled connector accounts:

  • default is the dub@podval.org login, and it sees the Podval and OpenTorah accounts
  • cognomath is the dub@cognomath.org login
  • opentorah is the dub@opentorah.org login

The connector can read reports and edit properties, streams, and names. It cannot create accounts, cannot delete accounts, has no data-filter tool, and cannot move a property between accounts. Those steps are done by hand in the Analytics web UI. Admin > Account settings > Move to Trash Can. Admin > Property settings > Move property.

Site Publisher

[[Site Publisher]] emits the gtag snippet only when google-analytics: "G-..." is in _site_config.yml and the build is a production build. production = true is not committed in build.gradle. The GitHub Pages deploy workflow's Generate Site step sets SITE_PUBLISHER_PRODUCTION: "true". build.gradle reads that variable at configuration time and sets site.production only when the value equals true. Reading it at configuration time matters, because the Gradle configuration cache would otherwise replay a stale environment. A local generateSite or serveSite does not emit the tag, so localhost traffic is not recorded.

url in _site_config.yml keeps its scheme (https://host). A scheme-less url produces invalid sitemap <loc> values and wrong canonicals.

The tagging changes are in:

Internal traffic

My own traffic is filtered in the Analytics UI. Data streams > Configure tag settings > Define internal traffic by IP, then activate the data filter. The connector cannot set that filter. IP addresses belong in the private vault if they are recorded at all. A report can also be filtered by hostName to drop localhost.

Check

After a deploy, this prints the property's measurement ID. For chumashquestions.org, use /book/book/index.html instead of /.

$ curl -sL https://<host>/ | grep -o 'gtag/js?id=G-[A-Z0-9]*'

Search Console

Five domain properties, plus two URL-prefix properties for the Podval hosts. Each domain property was verified on 2026-12-03, and the login below is an owner. A domain property covers every subdomain. A Search Console property can be linked to only one GA4 web stream. podval.org is not linked to a stream. I added two URL-prefix properties, one per host, and linked one stream to each. Both are verified through the podval.org domain property, and dub@podval.org is the owner.

Property Type Login
podval.org domain dub@podval.org
https://dub.podval.org/ URL prefix dub@podval.org
https://www.podval.org/ URL prefix dub@podval.org
opentorah.org domain dub@opentorah.org
alter-rebbe.org domain dub@opentorah.org
chumashquestions.org domain dub@opentorah.org
cognomath.org domain dub@cognomath.org

Grok Bot reaches Search Console through one login per organization. The labels are the same as for Analytics.

  • default (Podval) is the dub@podval.org login
  • cognomath is the dub@cognomath.org login
  • opentorah is the dub@opentorah.org login

The connector is read-only by preference.

Verification

Search Console domain ownership is a google-site-verification TXT record at each domain apex. The records are declared in the Pulumi infrastructure code. The [[Cloud Infrastructure]] bot manages that code. They are not added by hand, and not through Google's Cloudflare OAuth shortcut. Because the records are in that code, Pulumi does not remove them. Removing a record loses ownership. That is what happened earlier: the records were absent, so the personal logins saw "Add a website". The Terraform service accounts terraform@podval-infra.iam.gserviceaccount.com and terraform@opentorah-infra.iam.gserviceaccount.com were added as owners in July 2023. They were not the cause. The TXT values are not written here.

Cloudflare analytics

Cloudflare has zone and traffic analytics (proxied traffic only), Web Analytics (cookie-free, beacon-based), and bot and security analytics. GA4 stays the primary source. Cloudflare bot analytics is how to judge bot traffic, such as the roughly 910 Singapore bot sessions on www.alter-rebbe.org. Engaged sessions are the honest measure. Cloudflare configuration stays with [[Cloud Infrastructure]].