[Don't merge] chore: remove Google Analytics and consent tracking#1804
Draft
jdorfman wants to merge 1 commit into
Draft
[Don't merge] chore: remove Google Analytics and consent tracking#1804jdorfman wants to merge 1 commit into
jdorfman wants to merge 1 commit into
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Still being discussed:
Summary
@next/third-partiesGoogleAnalyticscomponent (GTM containerGTM-TB4NLS7) from the root layout and the homepage.@next/third-partiesdependency and updatespnpm-lock.yaml.Best practices comparison
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).pnpm devand loaded/and/docs— served HTML contains nogoogletagmanager.com,google-analytics.com, orcmp.osano.comreferences; both routes return HTTP 200.Generated with Claude Code