Skip to content

feat(misc): add Cookiebot global scripts to astro-docs#32660

Merged
jaysoo merged 1 commit intomasterfrom
DOC-95
Sep 9, 2025
Merged

feat(misc): add Cookiebot global scripts to astro-docs#32660
jaysoo merged 1 commit intomasterfrom
DOC-95

Conversation

@jaysoo
Copy link
Copy Markdown
Member

@jaysoo jaysoo commented Sep 8, 2025

Adds cookie consent management and analytics tracking to the astro-docs project:

  • Cookiebot consent script integration with COOKIEBOT_ID environment variable
  • GlobalScripts React component reused from nx-dev for consistency
  • Head.astro component override to integrate scripts into Starlight
  • Cookie consent categories: statistics (GA, GTM) and marketing (HubSpot, Apollo, Hotjar, Twitter)
  • Production-only script loading with COOKIEBOT_DISABLE bypass option

Fixes DOC-95

Adds cookie consent management and analytics tracking to the astro-docs project:
- Cookiebot consent script integration with COOKIEBOT_ID environment variable
- GlobalScripts React component reused from nx-dev for consistency
- Head.astro component override to integrate scripts into Starlight
- Cookie consent categories: statistics (GA, GTM) and marketing (HubSpot, Apollo, Hotjar, Twitter)
- Production-only script loading with COOKIEBOT_DISABLE bypass option

Fixes DOC-95

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jaysoo jaysoo requested a review from a team as a code owner September 8, 2025 20:32
@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 8, 2025

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

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Sep 8, 2025 8:45pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Sep 8, 2025

View your CI Pipeline Execution ↗ for commit 04610bb

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 2m 51s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 1m 41s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 5s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 5s View ↗
nx documentation ✅ Succeeded 2m 21s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-08 20:42:11 UTC

@jaysoo jaysoo merged commit 8fe7b0b into master Sep 9, 2025
16 checks passed
@jaysoo jaysoo deleted the DOC-95 branch September 9, 2025 12:30
FrozenPandaz pushed a commit that referenced this pull request Sep 10, 2025
Adds cookie consent management and analytics tracking to the astro-docs
project:
- Cookiebot consent script integration with COOKIEBOT_ID environment
variable
- GlobalScripts React component reused from nx-dev for consistency
- Head.astro component override to integrate scripts into Starlight
- Cookie consent categories: statistics (GA, GTM) and marketing
(HubSpot, Apollo, Hotjar, Twitter)
- Production-only script loading with COOKIEBOT_DISABLE bypass option

Fixes DOC-95

Co-authored-by: Claude <noreply@anthropic.com>
(cherry picked from commit 8fe7b0b)
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants