Site Keys & Client Sites
The per-site surface: dfd-site-* keys, /api/site/*, the insights beacon, CDN builds, and the paired site-SDK pattern.
- 01OverviewA platform runs many client sites; each gets its own narrow, revocable slice.
- 02Site keysIssuing, scoping, revoking — and the rules public site keys live under.
- 03The /api/site surfaceEvery endpoint a client site can reach, and the semantics that keep it safe.
- 04The insights beaconMount once, track everything, never break the site.
- 05CDN buildsStatic assets on the edge, with the prefix baked at build time.
- 06The powered-by badgeThe SDK's attribution badge, and how its referrals stay measurable.
- 07Building a paired site SDKThe pattern: a small branded npm package that wraps the site surface.