ENG-3489: Add CCPA/CPRA privacy request disclosure metrics page#7980
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
eastandwestwind
added a commit
that referenced
this pull request
Apr 24, 2026
Co-authored-by: Catherine Smith <eastandwestwind@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Ticket ENG-3489
Description Of Changes
Adds a new publicly accessible page to the Privacy Center (
/privacy-request-metrics) that displays CCPA/CPRA annual privacy request disclosure metrics, as required by California Civil Code § 1798.130(a)(5) and 11 CCR § 7102.The page shows a table of request types (delete, correct, know, opt-out, limit) with counts for received, complied with, denied, and median/mean response times. Data is fetched from the
plus/privacy-request-metricsAPI endpoint, hardcoded to California (us_ca).The page is gated behind the
PRIVACY_REQUEST_DISCLOSURE_ENABLEDfeature flag (server-sidenotFound()when disabled).Code Changes
/privacy-request-metricspage route with server-side feature flag gate[propertyPath]/privacy-request-metricsroute for multi-property supportPrivacyRequestMetricscomponent with CCPA-formatted disclosure table and legal footerplus/privacy-request-metricsbasePathfor property paths)PRIVACY_REQUEST_DISCLOSURE_ENABLED, independent ofSHOW_BRAND_LINKSteps to Confirm
FIDES_PRIVACY_CENTER__PRIVACY_REQUEST_DISCLOSURE_ENABLED=truefalse— confirm the footer link disappears and navigating directly to/privacy-request-metricsreturns a 404/<propertyPath>/privacy-request-metricsalso worksPre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works