Skip to content

docs(tracking): correct DSR-V3 to the GA4 Admin API submitUserDeletion - #609

Merged
thevuong merged 1 commit into
mainfrom
docs/spec-dsr-v3-admin-api
Jul 18, 2026
Merged

docs(tracking): correct DSR-V3 to the GA4 Admin API submitUserDeletion#609
thevuong merged 1 commit into
mainfrom
docs/spec-dsr-v3-admin-api

Conversation

@thevuong

Copy link
Copy Markdown
Contributor

Closes the spec-staleness finding from #608. The spec-data-subject-rights §3 bullet and the DSR-V3 conformance vector cited the legacy v3 userDeletionRequests:upsert ({ id: { type: "CLIENT_ID", userId } }) — which was sunset with Universal Analytics.

Changes (spec-only, no code)

  • §3 GA4 bullet — replace the v3 reference with the current Analytics Admin API properties.submitUserDeletion (migration doc link, analytics.edit scope, flat clientId as a oneof with userId/appInstanceId/userProvidedData).
  • Posture + §5(c) — "calls the Admin API submitUserDeletion" (was "the User Deletion API").
  • DSR-V3 vector prose — now snapshots POST .../v1alpha/properties/{propertyId}:submitUserDeletion with body { "clientId": "<client_id>" }; notes the legacy shape is retired.
  • vectors/data-subject-rights.jsondsr.ga4.delete-binding updated to input: { clientId, propertyId }expect.request: { body: { clientId }, url }, matching the shipped buildGa4UserDeletionRequest (feat(tracking): GA4 DSR delegation via the Admin API submitUserDeletion #608).
  • spec CHANGELOG 1.0.1 — citation refresh.

No package behavior change (spec docs are versioned independently via their own CHANGELOG). oxfmt clean; DSR vector is language-neutral reference (not wired into the TS test suite).

The spec's DSR-V3 and §3 cited the legacy v3 userDeletionRequests:upsert
(id.type=CLIENT_ID/userId), which was sunset with Universal Analytics. Update to the
current Analytics Admin API properties.submitUserDeletion (analytics.edit scope, flat
clientId), matching the shipped buildGa4UserDeletionRequest. Refreshes §3, the DSR-V3
vector prose, data-subject-rights.json, and adds spec CHANGELOG 1.0.1 (citation refresh).
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codefastlabs Ready Ready Preview, Comment Jul 18, 2026 9:48am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
codefast-tanstack-start Skipped Skipped Jul 18, 2026 9:48am

@vercel
vercel Bot temporarily deployed to Preview – codefast-tanstack-start July 18, 2026 09:47 Inactive
@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@thevuong
thevuong merged commit 6a78a8f into main Jul 18, 2026
10 checks passed
@thevuong
thevuong deleted the docs/spec-dsr-v3-admin-api branch July 18, 2026 09:49
thevuong added a commit that referenced this pull request Jul 18, 2026
…tion (#614)

Final doc cleanup for the enterprise-hardening session. Three extension
docs had stale status lines after their contracts were implemented this
session.

## Changes (spec-only, non-normative)
- **spec-destinations §5** — "design target, not yet implemented" →
reference `{ ads, analytics }` mappings for **Meta / TikTok / Microsoft
UET** now ship (consent-restriction mapping only; the
Pixel/CAPI/`ttq`/`uetq` transports + credentials remain the
integrator's).
- **spec-consent-receipts** — records that the **durable store frame**
(`createDurableReceiptStore` over an injected backend) and the
**integrity `sign` seam** (HMAC wired in the reference app) now ship;
what remains is a backend client, retention, and counsel review.
- **spec-data-subject-rights** — "partially met" → **"largely met"**:
the per-destination `onErasure` hook + `tracker.erase` and the GA4
delete delegation now ship alongside the gate + `clear()`.
- **spec CHANGELOG 1.0.3** — status refresh (patch).

Contracts and conformance vectors are unchanged across all three.
`oxfmt` clean; no code change.

Completes the spec-accuracy pass alongside #609 (DSR-V3 API correction)
and #613 (ad-frameworks status).
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