Google Analytics 4 tools
Overview, channel and landing page reports, realtime data, conversion events and Google Ads links.
Les noms et descriptions des outils sont générés directement depuis le code du serveur ; les descriptions sont le texte anglais d'origine vu par l'assistant.
Outils de lecture10 outils
list_ga4_properties
Lecture1 créditsGA4 properties (id, name, account) the connected Google account can read, plus the default property used when property_id is omitted.
Cet outil ne prend aucun paramètre.
ga4_report
Lecture1 créditsCustom 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.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateFacultatif | string | YYYY-MM-DD |
end_dateFacultatif | string | YYYY-MM-DD |
daysFacultatif | integer (1–730) | window ending today when dates are omitted (default 30) |
metricsFacultatif | array<string> | GA4 Data API metric names, default [sessions, totalUsers, keyEvents] |
dimensionsFacultatif | array<string> | GA4 dimension names, e.g. sessionDefaultChannelGroup, landingPage, date, country, deviceCategory, eventName |
filtersFacultatif | array<object> | AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'} |
order_byFacultatif | string | a metric or dimension in the request |
orderFacultatif | asc | desc | — |
limitFacultatif | integer (1–10000) | — |
offsetFacultatif | integer (0–…) | — |
ga4_overview
Lecture1 créditsOverview 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.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateFacultatif | string | YYYY-MM-DD |
end_dateFacultatif | string | YYYY-MM-DD |
daysFacultatif | integer (1–730) | window ending today when dates are omitted (default 30) |
compare_previousFacultatif | boolean | — |
ga4_realtime
Lecture1 créditsActive users right now (last 30 minutes) and where they are — by page/screen title by default.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
dimensionsFacultatif | array<string> | realtime dimensions: unifiedScreenName (default), country, city, deviceCategory, eventName, platform |
metricsFacultatif | array<string> | realtime metrics: activeUsers (default), screenPageViews, eventCount, keyEvents |
limitFacultatif | integer (1–1000) | — |
ga4_landing_pages
Lecture1 créditsLanding pages with sessions, engaged sessions, key events (conversions), revenue and conversion rate, ordered by key events by default.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateFacultatif | string | YYYY-MM-DD |
end_dateFacultatif | string | YYYY-MM-DD |
daysFacultatif | integer (1–730) | window ending today when dates are omitted (default 30) |
filtersFacultatif | array<object> | AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'} |
with_query_stringFacultatif | boolean | — |
order_byFacultatif | keyEvents | sessions | engagedSessions | totalRevenue | — |
limitFacultatif | integer (1–1000) | — |
ga4_channel_report
Lecture1 créditsSessions, engaged sessions, users, key events (conversions), revenue and rates by default channel group (or source/medium/campaign).
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateFacultatif | string | YYYY-MM-DD |
end_dateFacultatif | string | YYYY-MM-DD |
daysFacultatif | integer (1–730) | window ending today when dates are omitted (default 30) |
filtersFacultatif | array<object> | AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'} |
dimensionFacultatif | string | sessionDefaultChannelGroup (default), sessionSource, sessionMedium, sessionCampaignName, sessionSourceMedium |
limitFacultatif | integer (1–1000) | — |
ga4_vs_google_ads
Lecture2 créditsGA4 '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.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
daysFacultatif | integer (1–90) | — |
list_ga4_google_ads_links
Lecture1 créditsGoogle Ads accounts linked to the GA4 property (customer id, personalization flag, creator, created time); linked=false flags a property with no link.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
list_ga4_conversion_events
Lecture1 créditsConversion (key) events defined on the property with counting method and custom/deletable flags.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
list_ga4_custom_dimensions
Lecture1 créditsCustom dimensions on the property (parameter name, display name, scope).
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
Outils d'écriture3 outils
create_ga4_conversion_event
Écriture2 créditsMark 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.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
event_nameObligatoire | string | — |
counting_methodFacultatif | ONCE_PER_EVENT | ONCE_PER_SESSION | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
create_ga4_custom_dimension
Écriture2 créditsCreate a custom dimension (event, user or item scope). Goes through preview and approval before the Admin API call.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
parameter_nameObligatoire | string | — |
display_nameFacultatif | string | — |
scopeFacultatif | EVENT | USER | ITEM | — |
descriptionFacultatif | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
create_ga4_google_ads_link
Écriture2 créditsLink 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.
| Paramètre | Type | Description |
|---|---|---|
property_idFacultatif | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
customer_idObligatoire | string | Google Ads customer id, 123-456-7890 |
ads_personalizationFacultatif | boolean | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.