Google Analytics 4 tools
Overview, channel and landing page reports, realtime data, conversion events and Google Ads links.
Los nombres y descripciones se generan directamente desde el código del servidor; las descripciones son el texto original en inglés que ve el asistente.
Herramientas de lectura10 herramientas
list_ga4_properties
Lectura1 créditosGA4 properties (id, name, account) the connected Google account can read, plus the default property used when property_id is omitted.
Esta herramienta no recibe parámetros.
ga4_report
Lectura1 créditosCustom GA4 report (runReport): any dimensions × metrics for a date range with filters, ordering and limit. Rows carry conversion_rate (keyEvents/sessions %) when both are present. 'conversions' are GA4 key events (metric keyEvents). Requires a connected Google account; otherwise connected=false.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateOpcional | string | YYYY-MM-DD |
end_dateOpcional | string | YYYY-MM-DD |
daysOpcional | integer (1–730) | window ending today when dates are omitted (default 30) |
metricsOpcional | array<string> | GA4 Data API metric names, default [sessions, totalUsers, keyEvents] |
dimensionsOpcional | array<string> | GA4 dimension names, e.g. sessionDefaultChannelGroup, landingPage, date, country, deviceCategory, eventName |
filtersOpcional | array<object> | AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'} |
order_byOpcional | string | a metric or dimension in the request |
orderOpcional | asc | desc | — |
limitOpcional | integer (1–10000) | — |
offsetOpcional | integer (0–…) | — |
ga4_overview
Lectura1 créditosOverview totals for the period: sessions, users, new users, engaged sessions, key events (conversions), revenue, page views, with engagement and conversion rates; compare_previous adds the preceding equal period and change.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateOpcional | string | YYYY-MM-DD |
end_dateOpcional | string | YYYY-MM-DD |
daysOpcional | integer (1–730) | window ending today when dates are omitted (default 30) |
compare_previousOpcional | boolean | — |
ga4_realtime
Lectura1 créditosActive users right now (last 30 minutes) and where they are — by page/screen title by default.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
dimensionsOpcional | array<string> | realtime dimensions: unifiedScreenName (default), country, city, deviceCategory, eventName, platform |
metricsOpcional | array<string> | realtime metrics: activeUsers (default), screenPageViews, eventCount, keyEvents |
limitOpcional | integer (1–1000) | — |
ga4_landing_pages
Lectura1 créditosLanding pages with sessions, engaged sessions, key events (conversions), revenue and conversion rate, ordered by key events by default.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateOpcional | string | YYYY-MM-DD |
end_dateOpcional | string | YYYY-MM-DD |
daysOpcional | integer (1–730) | window ending today when dates are omitted (default 30) |
filtersOpcional | array<object> | AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'} |
with_query_stringOpcional | boolean | — |
order_byOpcional | keyEvents | sessions | engagedSessions | totalRevenue | — |
limitOpcional | integer (1–1000) | — |
ga4_channel_report
Lectura1 créditosSessions, engaged sessions, users, key events (conversions), revenue and rates by default channel group (or source/medium/campaign).
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateOpcional | string | YYYY-MM-DD |
end_dateOpcional | string | YYYY-MM-DD |
daysOpcional | integer (1–730) | window ending today when dates are omitted (default 30) |
filtersOpcional | array<object> | AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'} |
dimensionOpcional | string | sessionDefaultChannelGroup (default), sessionSource, sessionMedium, sessionCampaignName, sessionSourceMedium |
limitOpcional | integer (1–1000) | — |
ga4_vs_google_ads
Lectura2 créditosGA4 'Paid Search' channel (sessions, key events, revenue) next to Google Ads spend, clicks, conversions and CPA for the same last-N-days window, with the attribution gap. If Google Ads is not connected the Ads side is null with a note.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
daysOpcional | integer (1–90) | — |
list_ga4_google_ads_links
Lectura1 créditosGoogle Ads accounts linked to the GA4 property (customer id, personalization flag, creator, created time); linked=false flags a property with no link.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
list_ga4_conversion_events
Lectura1 créditosConversion (key) events defined on the property with counting method and custom/deletable flags.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
list_ga4_custom_dimensions
Lectura1 créditosCustom dimensions on the property (parameter name, display name, scope).
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
Herramientas de escritura3 herramientas
create_ga4_conversion_event
Escritura2 créditosMark a GA4 event as a conversion (key event). Creates an approval item with a preview; applied via the Admin API only after approval and only with a connected account that has edit access.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
event_nameObligatorio | string | — |
counting_methodOpcional | ONCE_PER_EVENT | ONCE_PER_SESSION | — |
Herramienta de escritura: la llamada genera primero una vista previa; el cambio llega a la plataforma solo tras tu aprobación.
create_ga4_custom_dimension
Escritura2 créditosCreate a custom dimension (event, user or item scope). Goes through preview and approval before the Admin API call.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
parameter_nameObligatorio | string | — |
display_nameOpcional | string | — |
scopeOpcional | EVENT | USER | ITEM | — |
descriptionOpcional | string | — |
Herramienta de escritura: la llamada genera primero una vista previa; el cambio llega a la plataforma solo tras tu aprobación.
create_ga4_google_ads_link
Escritura2 créditosLink a Google Ads account to the GA4 property so conversions flow to Google Ads. Goes through preview and approval; requires edit access on both sides.
| Parámetro | Tipo | Descripción |
|---|---|---|
property_idOpcional | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
customer_idObligatorio | string | Google Ads customer id, 123-456-7890 |
ads_personalizationOpcional | boolean | — |
Herramienta de escritura: la llamada genera primero una vista previa; el cambio llega a la plataforma solo tras tu aprobación.