enable-analytics
Pass
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: SAFE
Full Analysis
- [Dependency Management]: The skill installs official vendor packages (
@vercel/analytics,@vercel/speed-insights, and@next/third-parties). These are standard, well-maintained libraries for the described functionality. - [Environment Configuration]: The skill instructs the agent to store the Google Tag Manager ID in a public environment variable (
NEXT_PUBLIC_GTM_ID) and update.env.example. This is the standard and recommended way to handle non-sensitive configuration in Next.js applications. - [Code Implementation]: The generated React components follow current best practices for Next.js, using the
/nextsubpath for optimized loading and preventing hardcoded identifiers.
Audit Metadata