Examples
Complete, real-life integrations — not isolated snippets. Each example is a full working setup for a specific kind of project, with the full code and a walkthrough of every decision.
E-commerce Storefront — GDPR Banner + GTM
Frontend-only opt-in banner wired to Google Tag Manager and Google Consent Mode v2 for an EU storefront.
Frontend onlyGDPRGTM
SaaS Dashboard — Backend + SSO Admin
Backend deployment with Auth0 OIDC admin login, node:sqlite storage, and server-recorded consent.
Frontend + BackendOIDC / SSONode.js
Next.js App Router — Full-Stack Integration
Widget mounted as a Client Component in the root layout; backend mounted on a Route Handler.
Next.jsFrontend + Backend
Multi-Region Site — GDPR + CCPA Geo-Routing
One backend serving both an opt-in EU profile and an opt-out US/CCPA profile, resolved per visitor.
Frontend + BackendGDPRCCPAGeo-Routing
Vue 3 + Pinia — Composable-Driven Integration
The useConsent() composable wired into a Pinia store so any component reads consent reactively.
Frontend onlyVue 3Pinia