Google Analytics 4 / API Reference
ga4_create_audience
GA4 analytics tool. Create a new GA4 audience based on an event trigger. Args: property_id: GA4 property ID display_name: Human-readable audience name description: Optional description membership_duration_days: How long users stay in the audience (1-540 days) event_name: GA4 event that qualifies users for this audience (e.g. 'purchase', 'sign_up')
This is a write tool: it creates audience in your Google Analytics 4 account. Claude asks you to confirm before it runs.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Create audience in my Google Analytics 4 account for [display name].
It takes 2 required and 3 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_id | string | Yes | Property Id |
display_name | string | Yes | Display Name |
description | string | No | Description |
membership_duration_days | integer | No | Membership Duration Days |
event_name | string | No | Event Name |
Related Google Analytics 4 tools
ga4_create_custom_dimensionga4_acquisition_channelsga4_attribution_pathsga4_audiencesga4_audit_property_settingsga4_available_metrics
Before you can call it
This tool needs a connected Google Analytics 4 account. The Google Analytics 4 connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.
Workflows that use this
Rather than calling tools one at a time, these skills run a whole procedure against the same account: