wp_ga_list_custom_metrics 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_list_custom_metrics

Read-only

List custom metrics registered on a property

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

Standard GA4 metrics won't capture subscription values, video watch-time, or any measurement unique to your business — that's what custom metrics are for. wp_ga_list_custom_metrics lets your AI retrieve every registered custom metric's name, measurement unit, and scope from GA4 via Easy MCP AI, skipping the Admin dashboard entirely. Once Easy MCP AI returns the list to your AI client — Claude Desktop, ChatGPT, n8n, or any of the 15 supported clients — you can immediately reference those metrics in a wp_ga_run_report call.

See it in action

Claude Desktop — MCP Connection
👤
What custom metrics are configured on GA4 property 123456789?
🤖
Tool called wp_ga_list_custom_metrics

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

Example Use Cases & Sample Prompts

  1. Discover custom metric names before running a report
    • Prompt: “List all custom metrics on GA4 property 123456789 so I know which ones I can include in a report.”
  2. Check whether a revenue-related custom metric has been registered
    • Prompt: “Is there a custom metric for ‘subscription_value’ on GA4 property 123456789?”
  3. Audit all custom metrics with their measurement units
    • Prompt: “Show me every custom metric on GA4 property 123456789 including the measurement unit for each.”

Frequently Asked Questions

What does wp_ga_list_custom_metrics do?

Standard GA4 metrics won't capture subscription values, video watch-time, or any measurement unique to your business — that's what custom metrics are for. wp_ga_list_custom_metrics lets your AI retrieve every registered custom metric's name, measurement unit, and scope from GA4 via Easy MCP AI, skipping the Admin dashboard entirely. Once Easy MCP AI returns the list to your AI client — Claude Desktop, ChatGPT, n8n, or any of the 15 supported clients — you can immediately reference those metrics in a wp_ga_run_report call.

How do I use wp_ga_list_custom_metrics 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: "What custom metrics are configured on GA4 property 123456789?"

Do I need Easy MCP AI to use wp_ga_list_custom_metrics?

Yes. wp_ga_list_custom_metrics 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_list_custom_metrics 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.