PaidSync>Blog>How to Create a Custom Dimension in GA4 With AI

How to Create a Custom Dimension in GA4 With AI

Founder written
Author: Ahmed Ashraf|4 min read|Updated October 24, 2026
$1B+ ad revenue generated $500M+ managed Ex-Scandiweb paid media lead 630+ MCP tools

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.

Which Tools Do the Work

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 only reads your account. create_ga4_custom_dimension changes it. That is the full set you need to create a custom dimension.

How the Workflow Is Built

ToolWhat it does
list_ga4_custom_dimensionsLists current dimensions
create_ga4_custom_dimensionRegisters 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.

How to Create a Custom Dimension in GA4 With Claude in 5 Steps

These steps use Claude to create a custom dimension. PaidSync.ai also works in ChatGPT, and the prompts are the same.

1

Connect GA4 to PaidSync.ai

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.

2

Add PaidSync.ai to Claude

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.

3

List existing dimensions

Ask for the custom dimensions on the property.

4

Define the new one

Give the parameter name, a display name and a scope.

5

Create and check

Approve the request and list the dimensions again.

How to Check the Result

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 the custom dimensions on my GA4 property."
Reads your account and changes nothing.
"Create a custom dimension for the parameter form_name with the display name Form Name and event scope."
Applies when your assistant runs it, so approve it only after you read it.

How PaidSync.ai Protects You

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.

Frequently Asked Questions

How do I create a custom dimension in GA4?

In GA4, open Admin, then Custom definitions. With PaidSync.ai you ask Claude or ChatGPT to register the parameter, then check that it appears.

Does a new dimension fill old reports?

No. It collects data from the time it is created.

Can ChatGPT create a custom dimension in GA4?

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.

What do I need before I create a custom dimension?

The exact parameter name sent by your tag.

How much does it cost?

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.

How to Create a Custom Metric in GA4 With AI→ How to Review Custom Dimensions and Metrics in GA4 With AI→ How to Discover Dimensions and Metrics in GA4 With AI→ GA4 MCP server tools→

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