analyticsDeploy privacy-first analytics with correct API patterns, rate limits, and GDPR compliance.
Install via ClawdBot CLI:
clawdbot install ivangdavila/analyticsUmami API timestamps: Use milliseconds, not seconds. Date.now() in JS, int(time.time() * 1000) in Python.
Plausible API v2: Requires site_id parameter, NOT domain name. Get site_id from dashboard URL first.
PostHog events: Properties must be JSON serializable. Never pass DOM elements or functions.
Rate limits: Umami 600/hour, Plausible 600/hour, PostHog 1000/minute. Implement exponential backoff on 429.
Development: ALWAYS use separate project/site for local testing. Production data pollution is irreversible.
Tracking domains: Never hardcode. Use env vars to switch between localhost and production.
Bot filtering: Enable in settings. Privacy tools have weaker bot detection than Google Analytics.
EU visitors need explicit consent even for privacy-first tools. Check IP geolocation before tracking.
Data retention: Set automatic deletion - Umami in Settings > Data, Plausible 30 days max, PostHog in project settings.
Cookie-free warning: Umami/Plausible don't use cookies but still need consent for EU visitors if collecting identifiers.
Verify script loads before sending events. Check for umami, plausible, or posthog globals first.
Never track PII (email, names, IP) in custom events. Violates privacy principles.
Batch PostHog events via /batch endpoint. Umami/Plausible require individual requests.
Store API keys in environment variables only. Never hardcode.
Umami: Requires website ID + API key combination.
Plausible: Uses Bearer token authentication.
PostHog: Uses project-specific API key.
Generated Mar 1, 2026
An online retailer needs to track product views, add-to-cart events, and purchases without collecting personal data. They implement Umami with proper timestamp handling and consent checks for EU visitors to maintain GDPR compliance while understanding customer behavior.
A B2B software company wants to monitor feature adoption and user engagement across their web application. They use PostHog with batched events and JSON-serializable properties to track custom events while avoiding PII and implementing rate limit handling for high-volume usage.
A news website needs to understand article performance and reader engagement patterns. They deploy Plausible with correct site_id configuration and bot filtering enabled, using environment variables to separate development and production tracking while maintaining 30-day data retention.
An early-stage startup wants to validate their minimum viable product with basic analytics while maintaining user privacy. They implement a development-only analytics instance with separate project setup, using cookie-free tracking and explicit consent mechanisms for all visitors.
A healthcare provider portal needs to track user navigation and form interactions while strictly avoiding any PII collection. They implement analytics with automatic data deletion settings, IP geolocation checks for EU visitors, and verification that tracking scripts load before sending events.
Consultants help businesses implement and configure privacy-compliant analytics solutions. Revenue comes from setup fees, ongoing configuration services, and compliance audits for GDPR and other regulations. This model leverages the growing demand for alternatives to traditional analytics platforms.
A software platform that includes built-in analytics capabilities using these tools as a value-added feature. Revenue is generated through subscription tiers, with higher tiers offering more advanced analytics, custom event tracking, and compliance features for enterprise clients.
Digital marketing agencies implement these analytics tools for client websites as part of their service packages. Revenue comes from bundled service offerings, where analytics setup and reporting are included with website development, SEO, or digital marketing campaigns.
💬 Integration Tip
Always verify tracking scripts load before sending events and use environment variables for API keys and domain configuration to maintain security and flexibility across environments.
Quick system diagnostics: CPU, memory, disk, uptime
Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, ses...
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.
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).
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.
YouTube Data API v3 analytics toolkit. Analyze YouTube channels, videos, and search results. Use when the user asks to: check YouTube channel stats, analyze video performance, compare channels, search for videos, get subscriber counts, view engagement metrics, find trending videos, get channel uploads, or analyze YouTube competition. Requires a YouTube Data API v3 key from Google Cloud Console.