To create a custom dimension in GA4 with Claude or ChatGPT, connect your Google Analytics 4 account to PaidSync.ai and ask the assistant to create a custom dimension for an event parameter, which makes a parameter available in reports. It changes the property, so approve it only after you read it.
GA4 only reports on event parameters you register. A write tool registers one, and a read tool shows what is already registered:
list_ga4_custom_dimensions lists the custom dimensions already on the property.create_ga4_custom_dimension registers a parameter name as a custom dimension with a display name, a scope and a description.list_ga4_custom_dimensions only reads your account. create_ga4_custom_dimension changes it. That is the full set you need to create a custom dimension.
| Tool | What it does |
|---|---|
| list_ga4_custom_dimensions | Lists current dimensions |
| create_ga4_custom_dimension | Registers the dimension |
Use the exact parameter name your tag sends. A mismatch leaves the dimension empty. Pick event scope for parameters that change per event and user scope for traits.
These steps use Claude to create a custom dimension. PaidSync.ai also works in ChatGPT, and the prompts are the same.
Create a free account at paidsync.ai and approve Google Analytics 4 on Google's own sign-in screen. You do not need an API key or any config file, only a login with access to the property where you will create a custom dimension.
Open Claude's connector directory, add PaidSync.ai and sign in. Ask "list my GA4 properties", then pick the one where you will create a custom dimension.
Ask for the custom dimensions on the property.
Give the parameter name, a display name and a scope.
Approve the request and list the dimensions again.
Data appears for new events only, so wait for traffic and then run a report using the new dimension.
Use these two prompts to create a custom dimension, in this order.
list_ga4_custom_dimensions only reads Google Analytics 4, so the lookup before you create a custom dimension changes nothing.create_ga4_custom_dimension applies on the first call without a dry run, so when you create a custom dimension, your assistant's approval prompt is the check before it runs.create_ga4_custom_dimension runs to create a custom dimension.Every Google Analytics 4 tool PaidSync.ai offers is listed on the GA4 MCP server tools page, including the tools used to create a custom dimension.
In GA4, open Admin, then Custom definitions. With PaidSync.ai you ask Claude or ChatGPT to register the parameter, then check that it appears.
No. It collects data from the time it is created.
Yes. PaidSync.ai connects Google Analytics 4 to ChatGPT and to Claude, and the same tools run in both, so you can ask it to create a custom dimension the same way you would in Claude.
The exact parameter name sent by your tag.
PaidSync.ai is free for 15 tasks a month with no card, enough to create a custom dimension and see the result. Pro starts at $99 a month. See pricing.
PaidSync.ai runs 630+ tools across 14 ad and analytics platforms. Connect your accounts once and use them in the AI assistant you already work in.
Get Started Free Book a Demo