Skip to content
AI & Agents
Skill

/google-analytics

Integrate with Google Analytics for web metrics. Use when you need to: (1) retrieve website analytics reports, (2) track traffic and user metrics, or (3) analyze web performance data.

From plugin
refly-skills
20459 skills

Claude Code

$ npx -y skills add refly-ai/refly-skills --skill google-analytics --agent claude-code

SKILL.md

google-analytics.SKILL.md
name: google-analytics
description: "Integrate with Google Analytics for web metrics. Use when you need to: (1) retrieve website analytics reports, (2) track traffic and user metrics, or (3) analyze web performance data."
version: 1.0.0
skillId: skp-pd5q1x9nd5zoqjihacwf7apk
workflowId: c-o5nfiwa9rm39qmcjglnva7ye
installationId: skpi-mtb0qx9adafqm4d2ll3f9zqr
category: text-data

Google Analytics

Integrate with Google Analytics for web metrics. Use when you need to: (1) retrieve website analytics reports, (2) track traffic and user metrics, or (3) analyze web performance data.

Input

Provide input as JSON:

{
  "property_id": "Google Analytics property ID (e.g., properties/123456789)",
  "date_range": "Date range for the report (e.g., last 7 days, last 30 days, last 90 days)",
  "metrics": "Metrics to retrieve (e.g., sessions, users, pageviews, bounce rate, conversion rate)",
  "dimensions": "Dimensions to group by (e.g., date, country, device category, page path)"
}

Execution (Pattern B: Text/Data)

Step 1: Run the Skill and Get Run ID

RESULT=$(refly skill run --id skpi-mtb0qx9adafqm4d2ll3f9zqr --input '{
  "property_id": "GA-XXXXXXX",
  "start_date": "2024-01-01",
  "end_date": "2024-01-31",
  "metrics": "sessions,pageviews"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands

Step 2: Open Workflow in Browser and Wait for Completion

open "https://refly.ai/workflow/c-o5nfiwa9rm39qmcjglnva7ye"
refly workflow status "$RUN_ID" --watch --interval 30000

Step 3: Extract Text Content

# Get analytics data from toolcalls
CONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"

Expected Output

  • **Type**: Text content
  • **Format**: JSON analytics data
  • **Action**: Display analytics report to user

Rules

Follow base skill workflow: `~/.claude/skills/refly/SKILL.md`

Read more
@refly-ai
Ships withrefly-skills

Refly skills repository

Stars on GitHub

Momentum

stars in total
204
Star history of refly-ai/refly-skills on GitHub, a chart by star-history.com

Other skills on refly-skills.

ai-readability-audit

ai-readability-audit

AI可读性审计工具,模拟AI爬虫视角评估网站对大语言模型的友好程度,分析结构化数据、语义HTML和Meta信息

airtable

airtable

Integrate with Airtable for database management. Use when you need to: (1) create and query Airtable records, (2) manage…

alpha-vantage

alpha-vantage

Get financial data from Alpha Vantage. Use when you need to: (1) retrieve stock quotes and prices, (2) get forex or crypto rates,…

apollo

apollo

Search sales leads with Apollo.io. Use when you need to: (1) find company and contact information, (2) enrich lead data, or (3)…

asana

asana

Integrate with Asana for task management. Use when you need to: (1) create and manage Asana tasks, (2) organize project work, or…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about google-analytics.

Which coding agents can use google-analytics?
google-analytics installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.