# Hermoso: check_analytics_compatibility · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/check_analytics_compatibility/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / check_analytics_compatibility

# `check_analytics_compatibility`

Check a GA4 report will work, before running it read-only

Area: GOOGLE ANALYTICS · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

FREE PRE-FLIGHT FOR analytics_report — ask Google whether these dimensions and metrics can appear in ONE report together, BEFORE running the report that would fail. Use it whenever a report combines fields you have not combined before, and especially when one of them is a custom dimension: GA4 has real pairs that are each perfectly valid alone and cannot be queried together, and `analytics_report` deliberately forwards names AS GIVEN (GA4 publishes hundreds of dimensions and every property ships its own custom ones, so validating against a copied list would go stale and start REFUSING names Google accepts). Pass EXACTLY what you would pass to analytics_report — same metrics, same dimensions, same filters — and it returns which fields are INCOMPATIBLE so you can drop one and run the real report once. IT DOES NOT CHECK THAT A NAME EXISTS: an unknown api name is refused by Google outright, and list_analytics_metadata is what resolves names. Read-only, 0 credits.

## Parameters

Parameter Type Description

`property` required `string` NUMERIC GA4 property id

`metrics` `string[]` the same metrics you would send to analytics_report (defaults to the same three it defaults to)

`dimensions` `string[]` the same dimensions you would send to analytics_report

`dimensionFilter` `object` the same GA4 FilterExpression you would send to analytics_report

`metricFilter` `object` the same GA4 FilterExpression you would send to analytics_report

`compatibilityFilter` `"COMPATIBILITY_UNSPECIFIED" | "COMPATIBLE" | "INCOMPATIBLE"` narrow the answer — COMPATIBLE returns only the fields that CAN be added

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/check_analytics_compatibility`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_analytics_compatibility","arguments":{"property":"<string>"}}}`
**CLI**

`hermoso call check_analytics_compatibility --json '{"property":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [analytics_report](https://hermoso.ai/docs/reference/ads/analytics_report/) Run a GA4 report
- [list_analytics_metadata](https://hermoso.ai/docs/reference/ads/list_analytics_metadata/) What a GA4 property can be asked
- [archive_analytics_custom_metric](https://hermoso.ai/docs/reference/ads/archive_analytics_custom_metric/) Archive a GA4 custom metric (one-way)
- [create_analytics_custom_metric](https://hermoso.ai/docs/reference/ads/create_analytics_custom_metric/) Register a GA4 custom metric
- [delete_analytics_key_event](https://hermoso.ai/docs/reference/ads/delete_analytics_key_event/) Stop counting a GA4 event as a conversion
- [archive_analytics_custom_dimension](https://hermoso.ai/docs/reference/ads/archive_analytics_custom_dimension/) Archive a GA4 custom dimension
- [create_analytics_custom_dimension](https://hermoso.ai/docs/reference/ads/create_analytics_custom_dimension/) Create a GA4 custom dimension
- [create_analytics_key_event](https://hermoso.ai/docs/reference/ads/create_analytics_key_event/) Mark a GA4 event as a key event (conversion)
- [list_analytics_definitions](https://hermoso.ai/docs/reference/ads/list_analytics_definitions/) List a GA4 property’s key events and custom dimensions
- [analytics_realtime](https://hermoso.ai/docs/reference/ads/analytics_realtime/) Who is on the site right now (GA4 realtime)

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
