# Hermoso: archive_analytics_custom_dimension · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/archive_analytics_custom_dimension/. 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/) / archive_analytics_custom_dimension

# `archive_analytics_custom_dimension`

Archive a GA4 custom dimension destructive

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

THE ONLY WAY TO RETIRE A CUSTOM DIMENSION, and it is ONE-WAY. GA4 publishes no delete and no un-archive for custom dimensions anywhere in its API — archiving is permanent through every programmatic surface — so this is how a typo'd or duplicate dimension is cleared, and it also frees the slot it was holding against the 50-event-scoped cap. Reports lose the ability to break down by it. CALLED WITHOUT `confirm` IT ARCHIVES NOTHING and instead reports what the dimension actually is, read back from Google — check that against what the user asked for before confirming, because naming the right dimension is the only thing `confirm` cannot prove. Identify it by its parameterName (the event parameter), which list_analytics_definitions lists. Needs edit access on the property.

## Parameters

Parameter Type Description

`property` required `string` the NUMERIC GA4 property id from list_analytics_properties

`parameterName` required `string` the event parameter of the dimension to archive, e.g. "customer_tier" — from list_analytics_definitions, NOT the report label

`confirm` `boolean` must be true to actually archive. Without it nothing changes and the dimension is described back to you

## 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/archive_analytics_custom_dimension`.

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

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

`hermoso call archive_analytics_custom_dimension --json '{"property":"<string>","parameterName":"<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

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

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