Tecrübetecrube.com
Referencia de herramientas — Datos y sitio

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éditos

GA4 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éditos

Custom 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ámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateOpcionalstringYYYY-MM-DD
end_dateOpcionalstringYYYY-MM-DD
daysOpcionalinteger (1–730)window ending today when dates are omitted (default 30)
metricsOpcionalarray<string>GA4 Data API metric names, default [sessions, totalUsers, keyEvents]
dimensionsOpcionalarray<string>GA4 dimension names, e.g. sessionDefaultChannelGroup, landingPage, date, country, deviceCategory, eventName
filtersOpcionalarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
order_byOpcionalstringa metric or dimension in the request
orderOpcionalasc | desc—
limitOpcionalinteger (1–10000)—
offsetOpcionalinteger (0–…)—

ga4_overview

Lectura1 créditos

Overview 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ámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateOpcionalstringYYYY-MM-DD
end_dateOpcionalstringYYYY-MM-DD
daysOpcionalinteger (1–730)window ending today when dates are omitted (default 30)
compare_previousOpcionalboolean—

ga4_realtime

Lectura1 créditos

Active users right now (last 30 minutes) and where they are — by page/screen title by default.

ParámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
dimensionsOpcionalarray<string>realtime dimensions: unifiedScreenName (default), country, city, deviceCategory, eventName, platform
metricsOpcionalarray<string>realtime metrics: activeUsers (default), screenPageViews, eventCount, keyEvents
limitOpcionalinteger (1–1000)—

ga4_landing_pages

Lectura1 créditos

Landing pages with sessions, engaged sessions, key events (conversions), revenue and conversion rate, ordered by key events by default.

ParámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateOpcionalstringYYYY-MM-DD
end_dateOpcionalstringYYYY-MM-DD
daysOpcionalinteger (1–730)window ending today when dates are omitted (default 30)
filtersOpcionalarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
with_query_stringOpcionalboolean—
order_byOpcionalkeyEvents | sessions | engagedSessions | totalRevenue—
limitOpcionalinteger (1–1000)—

ga4_channel_report

Lectura1 créditos

Sessions, engaged sessions, users, key events (conversions), revenue and rates by default channel group (or source/medium/campaign).

ParámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateOpcionalstringYYYY-MM-DD
end_dateOpcionalstringYYYY-MM-DD
daysOpcionalinteger (1–730)window ending today when dates are omitted (default 30)
filtersOpcionalarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
dimensionOpcionalstringsessionDefaultChannelGroup (default), sessionSource, sessionMedium, sessionCampaignName, sessionSourceMedium
limitOpcionalinteger (1–1000)—

ga4_vs_google_ads

Lectura2 créditos

GA4 '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ámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
daysOpcionalinteger (1–90)—

list_ga4_conversion_events

Lectura1 créditos

Conversion (key) events defined on the property with counting method and custom/deletable flags.

ParámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.

list_ga4_custom_dimensions

Lectura1 créditos

Custom dimensions on the property (parameter name, display name, scope).

ParámetroTipoDescripción
property_idOpcionalstringGA4 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éditos

Mark 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ámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
event_nameObligatoriostring—
counting_methodOpcionalONCE_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éditos

Create a custom dimension (event, user or item scope). Goes through preview and approval before the Admin API call.

ParámetroTipoDescripción
property_idOpcionalstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
parameter_nameObligatoriostring—
display_nameOpcionalstring—
scopeOpcionalEVENT | USER | ITEM—
descriptionOpcionalstring—

Herramienta de escritura: la llamada genera primero una vista previa; el cambio llega a la plataforma solo tras tu aprobación.