wp_ga_get_metadata 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_get_metadata
Read-onlyGet all available dimensions and metrics for a property β use to discover valid names before building reports
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
Before your AI can build a meaningful GA4 report, it needs to know the exact field names available on your property β that's what wp_ga_get_metadata delivers. Easy MCP AI bridges Claude Desktop, Cursor, Windsurf, and 12 other AI clients directly to your GA4 account, returning the full dimension and metric catalog without any dashboard visit required. Call this tool first; Easy MCP AI's 11-tool GA4 integration handles the GA4 Admin API lookup via your configured Google service-account key.
See it in action
wp_ga_get_metadata Done. I've used wp_ga_get_metadata to complete that for you.
Example Use Cases & Sample Prompts
- Discover valid dimension names before building a custom report
- Prompt: βWhat dimensions are available for GA4 property 123456789? I want to build a report by city and device.β
- Find the correct metric name for a specific measurement
- Prompt: βWhat is the correct metric name for bounce rate in GA4 property 123456789?β
- Check whether custom dimensions and metrics appear in the metadata
- Prompt: βList all available dimensions and metrics for GA4 property 123456789, including any custom ones.β
Frequently Asked Questions
What does wp_ga_get_metadata do?
Before your AI can build a meaningful GA4 report, it needs to know the exact field names available on your property β that's what wp_ga_get_metadata delivers. Easy MCP AI bridges Claude Desktop, Cursor, Windsurf, and 12 other AI clients directly to your GA4 account, returning the full dimension and metric catalog without any dashboard visit required. Call this tool first; Easy MCP AI's 11-tool GA4 integration handles the GA4 Admin API lookup via your configured Google service-account key.
How do I use wp_ga_get_metadata 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 dimensions and metrics are available for GA4 property 123456789?"
Do I need Easy MCP AI to use wp_ga_get_metadata?
Yes. wp_ga_get_metadata 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 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
List custom metrics registered on a property
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_ga_get_metadata 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.