Skip to content

Add opt-in cookie consent banner and gate RB2B behind it - #366

Merged
tsmithv11 merged 1 commit into
deploy-freezefrom
add-rb2b
Sep 24, 2026
Merged

tsmithv11 merged 1 commit into
deploy-freezefrom
add-rb2b

Conversation

@tsmithv11

Copy link
Copy Markdown
Contributor

Adds a site-wide custom script (docs/static/scripts/cookie-consent.js) that shows a cookie banner and only loads RB2B after the visitor clicks Accept. The choice is stored in localStorage, RB2B is re-injected on client-side route changes per RB2B's SPA guidance, and a "Cookie settings" footer link lets visitors change their choice. GA4 and Mintlify analytics are unchanged.

@tsmithv11
tsmithv11 marked this pull request as draft September 24, 2026 05:20
Adds a site-wide custom script (docs/static/scripts/cookie-consent.js) that
shows a cookie banner and only loads RB2B after the visitor clicks Accept.
The choice is stored in localStorage, RB2B is re-injected on client-side
route changes per RB2B's SPA guidance, and a "Cookie settings" footer link
lets visitors change their choice. GA4 and Mintlify analytics are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0121ipdAPCi6Z7wLBLf7GjUY
@tsmithv11
tsmithv11 changed the base branch from main to deploy-freeze September 24, 2026 05:24
@mintlify

mintlify Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
lancedb-bcbb4faf 🟢 Ready View Preview Sep 24, 2026, 5:30 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@tsmithv11
tsmithv11 marked this pull request as ready for review September 24, 2026 05:39
@tsmithv11
tsmithv11 merged commit 7a95f09 into deploy-freeze Sep 24, 2026
2 checks passed
@tsmithv11
tsmithv11 deleted the add-rb2b branch September 24, 2026 05:41

This branch was successfully deployed

1 active deployment
staging - docs — cf92709e Deployed Sep 24, 2026 by mintlify[bot]
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