Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

google-analyticsGoogle Analytics 分析

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

336

周安装

14

GitHub Stars

51

下载量

112
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-analytics(Google Analytics 分析)
来源仓库:https://github.com/henkisdabro/wookstar-claude-code-plugins
仓库路径:skills/google-analytics
安装命令:
npx skills add https://github.com/henkisdabro/wookstar-claude-code-plugins --skill google-analytics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/henkisdabro/wookstar-claude-code-plugins --skill google-analytics

简介

google-analytics 用于辅助数据整理、表格处理和指标计算,适合清洗字段、汇总数据或生成统计口径。

  • 适用于需要分析 CSV/Excel 文件或准备图表数据的场景。
  • 使用时需确认数据来源、字段含义和时间范围,避免将样本当作全量事实。
  • 涉及敏感数据或批量写回操作时,应先确认权限和脱敏边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Google Analytics 4 Complete Guide

Overview

Google Analytics 4 (GA4) is Google's event-based analytics platform for measuring user interactions across websites and applications. Every user interaction is tracked as an event with associated parameters, providing flexible cross-platform measurement.

When to Use This Skill

Invoke this skill for any GA4-related task:

  • Setting up GA4 properties, data streams, and Measurement IDs
  • Installing GA4 via gtag.js, GTM, or CMS plugins
  • Implementing event tracking (automatic, recommended, custom, ecommerce)
  • Creating custom dimensions, audiences, and reports
  • Exporting data to BigQuery for SQL analysis
  • Server-side tracking via Measurement Protocol
  • User ID and cross-device tracking
  • Privacy compliance, Consent Mode, and GDPR/CCPA
  • Testing and debugging with DebugView

Quick Start

  1. Create property: analytics.google.com -> Admin -> Create -> Property
  2. Create data stream: Add web stream, note Measurement ID (G-XXXXXXXXXX)
  3. Install tracking (choose one):

- GTM (recommended): Install container, create Google Tag with Measurement ID, trigger on All Pages, publish - gtag.js direct: <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXXX'); </script>

  1. Verify: Enable GA Debugger extension, check Admin -> DebugView for session_start, page_view
  2. Send custom events: gtag('event', 'button_click', {button_name: 'Subscribe', button_location: 'header'});

Decision Tree: Which Reference Do I Need?

What are you trying to do?

Setting up GA4 for the first time?         -> references/setup.md
Understanding how events work?              -> references/events-fundamentals.md
Implementing standard tracking events?      -> references/recommended-events.md
Creating business-specific custom events?   -> references/custom-events.md
Making parameters appear in reports?        -> references/custom-dimensions.md
Implementing User ID / cross-device?        -> references/user-tracking.md
Building audiences for remarketing?         -> references/audiences.md
Analysing data in GA4 reports?              -> references/reporting.md
Exporting to BigQuery for SQL analysis?     -> references/bigquery.md
Installing via gtag.js directly?            -> references/gtag.md
Setting up GA4 in Google Tag Manager?       -> references/gtm-integration.md
Sending events from server/backend?         -> references/measurement-protocol.md
Testing and debugging implementation?       -> references/debugview.md
Implementing GDPR/Consent Mode?             -> references/privacy.md
Configuring Admin settings?                 -> references/data-management.md

Core Concepts

Event-Based Model

GA4 tracks everything as events in four categories:

CategoryDescriptionExamples
AutomaticFire without configurationsession_start, first_visit
Enhanced MeasurementToggle on/off in settingsscroll, click, file_download
RecommendedGoogle-defined with standard parameterspurchase, login, sign_up
CustomBusiness-specific trackingdemo_requested, trial_started

Key Limits

LimitValue
Event names per property500 distinct
Parameters per event25
Event name length40 characters
Parameter name/value length40 / 100 characters
Custom dimensions (event/user/item)50 / 25 / 10
Audiences per property100

Measurement ID

  • Format: G-XXXXXXXXXX (G- prefix + 10 alphanumeric characters)
  • Location: Admin -> Data Streams -> Web Stream
  • Used in: gtag.js config, GTM tags, Measurement Protocol

Common Workflows

Ecommerce Tracking

  1. Review recommended events for the purchase funnel: view_item -> add_to_cart -> begin_checkout -> purchase
  2. Structure items array (required: item_id OR item_name; recommended: price, quantity, item_category)
  3. Test with DebugView, then register custom item parameters as custom dimensions

Cross-Device Tracking

  1. Implement User ID and configure Reporting Identity (Admin -> Data Settings)
  2. Set user properties and build cross-device audiences

GDPR Compliance

  1. Set up Consent Mode with default denied state
  2. Integrate with CMP (OneTrust, Cookiebot, etc.), update consent on user acceptance
  3. Test consent implementation with DebugView

Custom Reports

  1. Understand available data in reporting
  2. Register custom parameters as dimensions, create Explorations
  3. For unsampled data, export to BigQuery

Best Practices

  • Naming: Use snake_case, be descriptive and action-oriented, keep under 40 characters, avoid generic names
  • Implementation order: Enhanced Measurement -> recommended events -> custom events -> custom dimensions
  • Data quality: Separate test/production properties, set up internal traffic filters from day one, document all custom events, audit regularly with DebugView, export to BigQuery for backup

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.93%
按下载量换算40

Claude

31.48%
按下载量换算35

Cursor

17.17%
按下载量换算19

Gemini CLI

8.47%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills