Skip to content

connected with google analytics - #34

Merged
prathmesh796 merged 3 commits into
mainfrom
ui
Sep 23, 2026
Merged

prathmesh796 merged 3 commits into
mainfrom
ui

Conversation

@prathmesh796

Copy link
Copy Markdown
Owner

Description

Created a property in Google Analytics and connected the app using next.js third party api.

Copilot AI lite review requested due to automatic review settings September 23, 2026 08:14
@prathmesh796 prathmesh796 added the enhancement New feature or request label Sep 23, 2026
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
getlancer Ready Ready Preview Sep 23, 2026 8:47am UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved critical token exposure and analytics configuration issues must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 2 Medium severity

Open (3)
What changed in this PR

Adds Google Analytics 4 to the Next.js application.

Changes:

  • Adds @next/third-parties.
  • Updates dependency lockfiles.
  • Mounts Google Analytics in the root layout.
File Summary
package.json Adds the analytics dependency.
package-lock.json Locks the new dependency and related updates.
app/​layout.tsx Adds global analytics, but currently exposes tokenized URLs, tracks E2E/local traffic, and conflicts with the CSP.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/layout.tsx Outdated
/>
)}
</body>
<GoogleAnalytics gaId="G-EB4WH5BSHM" />
Comment thread app/layout.tsx Outdated
/>
)}
</body>
<GoogleAnalytics gaId="G-EB4WH5BSHM" />
Comment thread app/layout.tsx Outdated
@prathmesh796
prathmesh796 merged commit 1d9f4d5 into main Sep 23, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 00890085 Deployed Sep 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants