Add Analytics
PassAudited by ClawScan on May 1, 2026.
Overview
This appears to be a normal GA4 setup skill, but it will edit project files and add Google tracking that affects site visitors once deployed.
Install only if you want GA4 added to the project. Provide your own GA4 Measurement ID, review all file changes, and consider enabling consent/privacy controls before deploying the modified site.
Findings (2)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
The agent may change application files to add analytics support.
The skill instructs the agent to modify project source files. This is central to adding analytics, but users should review the resulting code changes before committing or deploying.
Create `app/layout.tsx` modification or create `components/GoogleAnalytics.tsx` ... Modify `pages/_app.tsx`
Review the diff, confirm the Measurement ID, and test locally before deploying.
Your deployed site may begin sending pageview or event information to Google Analytics.
The generated code loads Google's analytics script and configures tracking. Once deployed, this change affects site visitors and can propagate through production builds.
script.src = `https://www.googletagmanager.com/gtag/js?id=${GA_MEASUREMENT_ID}` ... window.gtag('config', GA_MEASUREMENT_ID)Ensure analytics use is intentional, privacy notices are updated, and consent handling is enabled where required.
