ga4 by jdrhyne/agent-skills
npx skills add https://github.com/jdrhyne/agent-skills --skill ga4查询 GA4 属性以获取分析数据:页面浏览量、会话数、用户数、流量来源、转化次数等。
GA4_PROPERTY_ID - 您的 GA4 属性 ID(数字,例如 "123456789")GOOGLE_CLIENT_ID - OAuth 客户端 IDGOOGLE_CLIENT_SECRET - OAuth 客户端密钥GOOGLE_REFRESH_TOKEN - OAuth 刷新令牌(来自初始授权流程)python3 scripts/ga4_query.py --metric screenPageViews --dimension pagePath --limit 30
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
python3 scripts/ga4_query.py --metrics screenPageViews,sessions,totalUsers --dimension pagePath --limit 20
python3 scripts/ga4_query.py --metric sessions --dimension sessionSource --limit 20
python3 scripts/ga4_query.py --metric sessions --dimension landingPage --limit 30
python3 scripts/ga4_query.py --metric sessions --dimension pagePath --start 2026-01-01 --end 2026-01-15
python3 scripts/ga4_query.py --metric screenPageViews --dimension pagePath --filter "pagePath=~/blog/"
常用指标:screenPageViews, sessions, totalUsers, newUsers, activeUsers, bounceRate, averageSessionDuration, conversions, eventCount
常用维度:pagePath, pageTitle, landingPage, sessionSource, sessionMedium, sessionCampaignName, country, city, deviceCategory, browser, date
默认:表格格式
添加 --json 参数以输出 JSON 格式
添加 --csv 参数以输出 CSV 格式
每周安装量
102
仓库
GitHub 星标数
219
首次出现
2026年2月4日
安全审计
安装于
gemini-cli93
opencode91
codex90
cursor88
github-copilot85
kimi-cli84
Query GA4 properties for analytics data: page views, sessions, users, traffic sources, conversions, and more.
GA4_PROPERTY_ID - Your GA4 property ID (numeric, e.g., "123456789")GOOGLE_CLIENT_ID - OAuth client IDGOOGLE_CLIENT_SECRET - OAuth client secretGOOGLE_REFRESH_TOKEN - OAuth refresh token (from initial auth flow)python3 scripts/ga4_query.py --metric screenPageViews --dimension pagePath --limit 30
python3 scripts/ga4_query.py --metrics screenPageViews,sessions,totalUsers --dimension pagePath --limit 20
python3 scripts/ga4_query.py --metric sessions --dimension sessionSource --limit 20
python3 scripts/ga4_query.py --metric sessions --dimension landingPage --limit 30
python3 scripts/ga4_query.py --metric sessions --dimension pagePath --start 2026-01-01 --end 2026-01-15
python3 scripts/ga4_query.py --metric screenPageViews --dimension pagePath --filter "pagePath=~/blog/"
Common metrics: screenPageViews, sessions, totalUsers, newUsers, activeUsers, bounceRate, averageSessionDuration, conversions, eventCount
Common dimensions: pagePath, pageTitle, landingPage, sessionSource, sessionMedium, sessionCampaignName, country, city, deviceCategory, browser, date
Default: Table format Add --json for JSON output Add --csv for CSV output
Weekly Installs
102
Repository
GitHub Stars
219
First Seen
Feb 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli93
opencode91
codex90
cursor88
github-copilot85
kimi-cli84
Python PDF处理教程:合并拆分、提取文本表格、创建PDF文件
65,000 周安装
DuckDuckGo搜索技能 - 开源网络搜索工具,集成DuckDuckGo API,支持多种开发环境
106 周安装
Nuxt 4 数据管理:useFetch、useAsyncData、useState 组合式函数与 SSR 状态管理
70 周安装
Tauri v2 前端调用 Rust 后端函数教程:命令系统与参数传递详解
108 周安装
定价策略师指南:SaaS定价模型、价值指标与分层定价策略框架
106 周安装
Godot组合式架构技能包:组件化游戏开发最佳实践与脚本示例
108 周安装
Firebase 开发指南:Firestore 数据建模、安全规则与实时应用开发
108 周安装