remove-analytics

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

7 stars

Best use case

remove-analytics is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using remove-analytics should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/remove-analytics/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/jeftekhari/remove-analytics/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/remove-analytics/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How remove-analytics Compares

Feature / Agentremove-analyticsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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)

Related Skills

oura-analytics

7
from Demerzels-lab/elsamultiskillagent

Oura Ring data integration and analytics. Fetch sleep scores, readiness, activity, HRV, and trends from the Oura Cloud API. Generate automated reports, correlations with productivity, and trigger-based alerts for low recovery days. Requires OURA_API_TOKEN (get at cloud.ouraring.com).

fitbit-analytics

7
from Demerzels-lab/elsamultiskillagent

Fitbit health and fitness data integration. Fetch steps, heart rate, sleep, activity, calories, and trends from Fitbit Web API. Generate automated health reports and alerts. Requires FITBIT_CLIENT_ID, FITBIT_CLIENT_SECRET, FITBIT_ACCESS_TOKEN, FITBIT_REFRESH_TOKEN.

check-analytics

7
from Demerzels-lab/elsamultiskillagent

Audit existing Google Analytics implementation. Checks for common issues, missing configurations, and optimization opportunities.

add-analytics

7
from Demerzels-lab/elsamultiskillagent

Add Google Analytics 4 tracking to any project. Detects framework, adds tracking code, sets up events, and configures privacy settings.

analytics-tracking

7
from Demerzels-lab/elsamultiskillagent

When the user wants to set up, improve, or audit analytics tracking and measurement.

agent-analytics

7
from Demerzels-lab/elsamultiskillagent

Simple website analytics your AI agent controls end-to-end.

remove-password-from-pdf

7
from Demerzels-lab/elsamultiskillagent

Remove password protection from a PDF by uploading it (with its current password) to the Solutions API, polling.

remove-metadata-from-pdf

7
from Demerzels-lab/elsamultiskillagent

Remove metadata from one or multiple PDFs by uploading them to the Solutions API, polling until completion.

native-google-analytics

7
from Demerzels-lab/elsamultiskillagent

Query Google Analytics 4 (GA4) data directly via the Analytics Data API.

plausible-analytics

7
from Demerzels-lab/elsamultiskillagent

Query and analyze website analytics from Plausible Analytics.

google-analytics

7
from Demerzels-lab/elsamultiskillagent

Google Analytics API integration with managed OAuth. Manage accounts, properties, and data streams (Admin API). Run reports on sessions, users, page views, and conversions (Data API). Use this skill when users want to configure or query Google Analytics. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

datafast-analytics

7
from Demerzels-lab/elsamultiskillagent

Query DataFast website analytics and visitor data via the DataFast API for metrics, time series, realtime stats.