Tecrübetecrube.com
Référence des outils — Données & site

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

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

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.

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateFacultatifstringYYYY-MM-DD
end_dateFacultatifstringYYYY-MM-DD
daysFacultatifinteger (1–730)window ending today when dates are omitted (default 30)
metricsFacultatifarray<string>GA4 Data API metric names, default [sessions, totalUsers, keyEvents]
dimensionsFacultatifarray<string>GA4 dimension names, e.g. sessionDefaultChannelGroup, landingPage, date, country, deviceCategory, eventName
filtersFacultatifarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
order_byFacultatifstringa metric or dimension in the request
orderFacultatifasc | desc—
limitFacultatifinteger (1–10000)—
offsetFacultatifinteger (0–…)—

ga4_overview

Lecture1 crédits

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.

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateFacultatifstringYYYY-MM-DD
end_dateFacultatifstringYYYY-MM-DD
daysFacultatifinteger (1–730)window ending today when dates are omitted (default 30)
compare_previousFacultatifboolean—

ga4_realtime

Lecture1 crédits

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

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
dimensionsFacultatifarray<string>realtime dimensions: unifiedScreenName (default), country, city, deviceCategory, eventName, platform
metricsFacultatifarray<string>realtime metrics: activeUsers (default), screenPageViews, eventCount, keyEvents
limitFacultatifinteger (1–1000)—

ga4_landing_pages

Lecture1 crédits

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

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateFacultatifstringYYYY-MM-DD
end_dateFacultatifstringYYYY-MM-DD
daysFacultatifinteger (1–730)window ending today when dates are omitted (default 30)
filtersFacultatifarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
with_query_stringFacultatifboolean—
order_byFacultatifkeyEvents | sessions | engagedSessions | totalRevenue—
limitFacultatifinteger (1–1000)—

ga4_channel_report

Lecture1 crédits

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

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateFacultatifstringYYYY-MM-DD
end_dateFacultatifstringYYYY-MM-DD
daysFacultatifinteger (1–730)window ending today when dates are omitted (default 30)
filtersFacultatifarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
dimensionFacultatifstringsessionDefaultChannelGroup (default), sessionSource, sessionMedium, sessionCampaignName, sessionSourceMedium
limitFacultatifinteger (1–1000)—

ga4_vs_google_ads

Lecture2 crédits

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.

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
daysFacultatifinteger (1–90)—

list_ga4_conversion_events

Lecture1 crédits

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

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.

list_ga4_custom_dimensions

Lecture1 crédits

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

ParamètreTypeDescription
property_idFacultatifstringGA4 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édits

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.

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
event_nameObligatoirestring—
counting_methodFacultatifONCE_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édits

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

ParamètreTypeDescription
property_idFacultatifstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
parameter_nameObligatoirestring—
display_nameFacultatifstring—
scopeFacultatifEVENT | USER | ITEM—
descriptionFacultatifstring—

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.