remove-analytics

Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "remove-analytics" with this command: npx skills add jeftekhari/remove-analytics

Remove Analytics Skill

You are removing Google Analytics from this project. This is a destructive action - confirm with the user before proceeding.

Step 1: Confirm Intent

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."

Step 2: Find All Analytics Code

Search for:

  • Files containing gtag, dataLayer, GoogleAnalytics
  • Import statements for analytics utilities
  • Script tags with googletagmanager.com
  • Environment variables: GA_, GTAG_, MEASUREMENT_ID
  • Package.json dependencies: @types/gtag.js, react-ga4, vue-gtag, etc.

Step 3: Remove Code

For each finding:

  1. Show the file and code to be removed
  2. Remove the code or file
  3. Clean up any orphaned imports

Step 4: Clean Up

  • Remove analytics-related packages: npm uninstall @types/gtag.js (or equivalent)
  • Remove environment variables from .env.example
  • Update any documentation that references analytics

Step 5: Summary

Provide a summary of:

  • Files deleted
  • Files modified
  • Packages removed
  • Environment variables removed
  • Any manual steps needed (like removing actual env values)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Ai Freelancing Guide

Provides a complete guide to AI freelancing including niche analysis, pricing, client acquisition, proposal templates, and delivery workflows.

Registry SourceRecently Updated
Coding

Ai Code Assistant

提供多语言AI智能代码处理与批量自动化,显著提升开发效率,适合企业、团队及自由职业者。

Registry SourceRecently Updated
Coding

Life Control

Orchestrate the Life Control CLI skill for OpenClaw agent fleets: initialize the Life Control database, register agent personas, wire Telegram bots, and run daily routines (Morning Alignment, Body Protocol, Financial Pulse, Social Radar, Work Priming, Shutdown). Use when a user asks to create or run a Life Control system, OpenClaw skill integration, or agent persona automation for personal life tracking.

Registry SourceRecently Updated