Install
openclaw skills install remove-analyticsSafely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables.
openclaw skills install remove-analyticsYou are removing Google Analytics from this project. This is a destructive action - confirm with the user before proceeding.
Ask the user to confirm they want to remove analytics:
"This will remove all Google Analytics tracking from your project. This action will:
- Remove gtag scripts and components
- Remove analytics utility files
- Remove related environment variables from .env.example
- Remove npm packages if any
Type 'yes' to confirm."
Search for:
gtag, dataLayer, GoogleAnalyticsgoogletagmanager.comGA_, GTAG_, MEASUREMENT_ID@types/gtag.js, react-ga4, vue-gtag, etc.For each finding:
npm uninstall @types/gtag.js (or equivalent).env.exampleProvide a summary of: