Skip to content

[Don't merge] chore: remove Google Analytics and consent tracking#1804

Draft
jdorfman wants to merge 1 commit into
mainfrom
chore/remove-google-analytics
Draft

[Don't merge] chore: remove Google Analytics and consent tracking#1804
jdorfman wants to merge 1 commit into
mainfrom
chore/remove-google-analytics

Conversation

@jdorfman

@jdorfman jdorfman commented Jul 3, 2026

Copy link
Copy Markdown
Member

Draft — do not merge. Opened for review/preview only.

Still being discussed:

Summary

  • Removes the @next/third-parties GoogleAnalytics component (GTM container GTM-TB4NLS7) from the root layout and the homepage.
  • Drops the now-unused @next/third-parties dependency and updates pnpm-lock.yaml.
  • Result: the site loads no Google Analytics, Google Tag Manager, or Osano consent scripts.

Best practices comparison

CleanShot 2026-07-03 at 10 04 29@2x

Test plan

  • grep -rn "GoogleAnalytics|@next/third-parties|osano|dataLayer|GTM-TB4NLS7" src/ package.json → clean.
  • pnpm lint → no errors (only pre-existing <img>/hooks warnings).
  • Ran pnpm dev and loaded / and /docs — served HTML contains no googletagmanager.com, google-analytics.com, or cmp.osano.com references; both routes return HTTP 200.

Generated with Claude Code


Remove the @next/third-parties GoogleAnalytics component (GTM-TB4NLS7)
from the root layout and homepage, drop the now-unused @next/third-parties
dependency, and update the lockfile. No Google Analytics, Google Tag
Manager, or Osano consent scripts are loaded by the site anymore.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
sourcegraph-docs Ready Ready Preview, Comment Jul 3, 2026 5:01pm

Request Review

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