Skip to content

Conversation

@paustint
Copy link
Contributor

@paustint paustint commented Nov 2, 2025

Analytics are now opt-in with a cookie consent banner to ensure compliance with GDPR guidelines.

Analytics are now opt-in with a cookie consent banner to ensure compliance with GDPR guidelines.
@paustint paustint requested a review from Copilot November 2, 2025 18:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a cookie consent banner to comply with privacy regulations (GDPR/CCPA). The implementation adds user consent management for analytics tracking with opt-in/opt-out functionality.

  • Adds a new shared library @jetstream/ui/cookie-consent-banner with consent management utilities
  • Integrates consent-based analytics initialization for both Amplitude and Google Analytics
  • Updates privacy documentation to reflect the new opt-in consent mechanism

Reviewed Changes

Copilot reviewed 27 out of 27 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tsconfig.base.json Adds path mapping for new cookie consent banner library
libs/shared/ui-core/src/analytics.tsx Updates Amplitude initialization to respect consent opt-out flag
libs/shared/ui-app-state/src/lib/ui-app-state.ts Adds global analytics consent state atom
libs/shared/cookie-consent-banner/* New library providing cookie consent UI, storage, and analytics integration
apps/landing/pages/_document.js Integrates conditional Google Analytics loading
apps/landing/pages/_app.js Adds cookie consent banner to landing app
apps/jetstream/src/app/components/core/AppInitializer.tsx Integrates consent banner and conditional GA in main app
apps/jetstream/src/app/components/settings/AnalyticsTrackingSetting.tsx New settings component for managing analytics preferences
apps/landing/pages/privacy/index.tsx Updates privacy policy removing "Do Not Track" section
apps/landing/pages/subprocessors/index.tsx Updates data processor information with consent details
apps/api/src/app/controllers/auth.controller.ts Adds OAuth validation and error handling improvements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paustint paustint requested a review from Copilot November 2, 2025 18:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 29 out of 29 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paustint paustint merged commit 8966751 into main Nov 6, 2025
8 checks passed
@paustint paustint deleted the chore/cookie-consent-banner branch November 6, 2025 15:01
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.

2 participants