Skip to content

make the site measurable — ownership tag, GA4 behind a host check, named CTAs - #23

Merged
madnh merged 1 commit into
mainfrom
docs-seo-tracking
Aug 7, 2026
Merged

madnh merged 1 commit into
mainfrom
docs-seo-tracking

Conversation

@madnh

@madnh madnh commented Aug 7, 2026

Copy link
Copy Markdown
Owner

The page already had every on-page tag a crawler wants and no way to find out whether any of it landed. This adds the two things that answer that.

Verification is the HTML-tag method and not the Google Analytics one: the loader below it is injected by script, and the verifier reads the served HTML without running any of it — the GA route would look at this page and find no analytics at all.

The loader runs only on the site's own host. This repo is public and this file is what a fork gets: a fork with Pages on would otherwise report its own visitors into our property, from a domain we do not control, and GA4 filters nothing by hostname on its own. The same check keeps a local http.server out of the numbers — which is also why this guard cannot be exercised anywhere but production.

Six links here share one GitHub URL, so GA4's own outbound_click can say they left for the repo and never from where. data-cta names them.

.github/SEO.md is the operator's copy: what is set where, the three property settings that do not backfill, and the six places holding the site's address. HOSTS is listed among them because it is the only one whose omission leaves the page working while silently recording nothing.

…tag, GA4 behind a host check, named CTAs

The page already had every on-page tag a crawler wants and no way to find out
whether any of it landed. This adds the two things that answer that.

Verification is the HTML-tag method and not the Google Analytics one: the
loader below it is injected by script, and the verifier reads the served HTML
without running any of it — the GA route would look at this page and find no
analytics at all.

The loader runs only on the site's own host. This repo is public and this file
is what a fork gets: a fork with Pages on would otherwise report its own
visitors into our property, from a domain we do not control, and GA4 filters
nothing by hostname on its own. The same check keeps a local http.server out of
the numbers — which is also why this guard cannot be exercised anywhere but
production.

Six links here share one GitHub URL, so GA4's own outbound_click can say they
left for the repo and never from where. data-cta names them.

.github/SEO.md is the operator's copy: what is set where, the three property
settings that do not backfill, and the six places holding the site's address.
HOSTS is listed among them because it is the only one whose omission leaves the
page working while silently recording nothing.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VGYnqPKtsrWfugEKyASb7a
@madnh
madnh merged commit 909e9b0 into main Aug 7, 2026
1 check passed
@madnh
madnh deleted the docs-seo-tracking branch August 7, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant