wp_ga_run_realtime_report is a Google Analytics 4 MCP tool inside Easy MCP AI — the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_ga_run_realtime_report

Read-only

Run a real-time GA4 report — active users and events in the last 30 minutes

Requires a Google service-account key configured in Easy MCP AI → External Data. Requires the manage_options capability and the mcp:ga:read OAuth scope. Only GA4 properties are supported — Universal Analytics was sunset July 2024.

Description

Live traffic data has a shelf life of minutes — wp_ga_run_realtime_report gives your AI a window into active users and events from the last 30 minutes, ideal for validating a new post launch or confirming a tracking deployment worked. Easy MCP AI connects Claude Desktop, ChatGPT, n8n, or any MCP-compatible AI client directly to GA4's Realtime API, delivering the live data to your conversation without a Google Analytics tab open. Requires the mcp:ga:read scope and a service-account key configured in Easy MCP AI → External Data.

See it in action

Claude Desktop — MCP Connection
👤
How many active users are on my site right now and which pages are they on?
🤖
Tool called wp_ga_run_realtime_report

Done. I've used wp_ga_run_realtime_report to complete that for you.

Example Use Cases & Sample Prompts

  1. Monitor live traffic after publishing a new blog post
    • Prompt: “How many active users are on GA4 property 123456789 right now and which pages are they viewing?”
  2. Verify tracking is firing correctly after a site deployment
    • Prompt: “Show me real-time events on GA4 property 123456789 for the last 30 minutes to confirm tracking is working.”
  3. Check active users by country during a live campaign launch
    • Prompt: “Show me the real-time active user count by country on GA4 property 123456789 right now.”

Frequently Asked Questions

What does wp_ga_run_realtime_report do?

Live traffic data has a shelf life of minutes — wp_ga_run_realtime_report gives your AI a window into active users and events from the last 30 minutes, ideal for validating a new post launch or confirming a tracking deployment worked. Easy MCP AI connects Claude Desktop, ChatGPT, n8n, or any MCP-compatible AI client directly to GA4's Realtime API, delivering the live data to your conversation without a Google Analytics tab open. Requires the mcp:ga:read scope and a service-account key configured in Easy MCP AI → External Data.

How do I use wp_ga_run_realtime_report with my AI assistant?

Install Easy MCP AI and configure your Google Analytics 4 credentials in the dashboard. Then connect your AI client and describe what you want in natural language — for example: "How many active users are on my site right now and which pages are they on?"

Do I need Easy MCP AI to use wp_ga_run_realtime_report?

Yes. wp_ga_run_realtime_report is bundled inside Easy MCP AI as part of the Google Analytics 4 data integration. Configure your credentials, connect your AI, and this tool is available immediately — no coding required.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_ga_run_realtime_report and all Google Analytics 4 tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.