Google Analytics Automation

🌐Community
by composiohq · vlatest · Repository

Helps with analytics, automation as part of data analysis and analytics workflows workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add google-analytics-automation npx -- -y @trustedskills/google-analytics-automation
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "google-analytics-automation": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/google-analytics-automation"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

google-analytics-automation

What it does

This skill enables AI agents to interact directly with Google Analytics 4 (GA4) to retrieve real-time data, generate custom reports, and analyze user behavior without manual login. It automates the extraction of key metrics such as sessions, conversions, and traffic sources to support data-driven decision-making.

When to use it

  • Automating weekly performance summaries for marketing teams by pulling session and engagement data.
  • Investigating sudden drops in conversion rates by querying specific event parameters in GA4.
  • Generating ad-hoc reports on user demographics and acquisition channels during a strategy meeting.
  • Validating the impact of recent website updates on bounce rates and average session duration.

Key capabilities

  • Connects securely to Google Analytics 4 accounts via API integration.
  • Retrieves custom dimensions and metrics defined in your GA4 property.
  • Filters data by date ranges, events, and user properties dynamically.
  • Formats complex analytics datasets into readable summaries or structured tables.

Example prompts

  • "Pull the top 5 traffic sources for my website over the last 30 days and summarize the trend."
  • "Generate a report showing conversion rates broken down by device category for the current week."
  • "What is the average session duration for users who arrived via organic search compared to paid ads?"

Tips & gotchas

Ensure your Google Analytics account has API access enabled and that the AI agent possesses valid authentication credentials before attempting to connect. Complex queries involving multiple custom dimensions may require more detailed prompt instructions to ensure accurate data retrieval.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
composiohq
Installs
86

🌐 Community

Passed automated security scans.