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-onlyList 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
wp_ga_list_custom_metrics Done. I've used wp_ga_list_custom_metrics to complete that for you.
Example Use Cases & Sample Prompts
- 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.”
- Check whether a revenue-related custom metric has been registered
- Prompt: “Is there a custom metric for ‘subscription_value’ on GA4 property 123456789?”
- 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.
More Google Analytics 4 Tools
Check which dimension/metric combinations are valid together before running a report
Get all available dimensions and metrics for a property — use to discover valid names before building reports
Get details for a single GA4 property — display name, time zone, currency, data retention
List all GA4 accounts and their properties — entry point for discovering a valid property_id
List conversion/key events configured on a property
List custom dimensions registered on a property
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.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.