web-analytics

Extract and analyze GA4, Mixpanel, and Amplitude data for anomaly detection and predictive audiences.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/weisberg/agile_agentic_analytics --skill web-analytics-weisberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-analytics
Source: https://github.com/weisberg/agile_agentic_analytics/tree/main/plugins/marketing-analytics/skills/web-analytics
Command: npx skills add https://github.com/weisberg/agile_agentic_analytics --skill web-analytics-weisberg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-analytics-data, pandas, numpy, scipy, statsmodels, scikit-learn, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the extraction and analysis of web analytics data from GA4, Mixpanel, and Amplitude, enabling early detection of anomalies and targeted audience insights.

Core Features & Use Cases

  • GA4 data extraction and normalization to daily traffic, engagement, and conversion metrics.
  • Anomaly detection with root-cause decomposition across sources, devices, geographies, and pages.
  • Markov path analysis for top conversion paths and funnel insights.
  • Predictive audience scoring for propensity to convert and churn, with temporal holdout validation.

Quick Start

Use GA4 data extraction to pull reports, run anomaly detection, and write the outputs to workspace/processed/web_metrics.json, workspace/analysis/web_anomalies.json, workspace/analysis/navigation_paths.json, and workspace/analysis/predictive_audiences.json.

Frequently Asked Questions about web-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect anomalies in GA4 web analytics data?

You can detect anomalies in GA4 web analytics data using STL-based decomposition to identify unusual patterns and root causes across sources, devices, geographies, and pages. The process extracts daily metrics via MCP or API and outputs analysis files to your workspace.

What is Markov path analysis for web analytics conversion paths?

Markov path analysis models session flows to identify top conversion paths and funnel insights. It processes extracted GA4, Mixpanel, or Amplitude data to reveal how users navigate and convert, writing navigation paths to workspace output files.

Can I build predictive audiences from Mixpanel and Amplitude data?

Predictive audience scoring works with GA4, Mixpanel, and Amplitude data to calculate propensity to convert and churn. It applies temporal holdout validation to ensure scoring accuracy and outputs audience profiles to your analysis workspace.

Do I need pandas and scikit-learn to run anomaly detection on web metrics?

Anomaly detection requires pandas, numpy, scipy, statsmodels, and scikit-learn to perform STL-based decomposition and predictive scoring. These dependencies support data normalization, statistical analysis, and machine learning workflows for web metrics.

What's the best way to automate GA4 data extraction and normalization for dashboards?

Automating GA4 data extraction involves using MCP or API calls to pull reports, normalizing them into daily traffic and conversion metrics, and writing outputs to workspace/processed. Script-driven pipelines handle incremental processing for dashboard integration.

Why use STL decomposition instead of standard thresholds for web traffic anomaly detection?

STL decomposition separates seasonal trends from residual noise, enabling precise root-cause analysis across dimensions like devices and geographies. Standard thresholds lack this decomposition, missing subtle anomalies in session flow and engagement metrics.