Tecrübetecrube.com
Araç referansı — Veri & Site

Google Analytics 4 araçları

Genel bakış, kanal ve açılış sayfası raporları, gerçek zamanlı veri, dönüşüm olayları ve Google Ads bağlantıları.

Araç adları ve açıklamaları doğrudan sunucu kodundan üretilir; açıklamalar asistanın gördüğü özgün İngilizce metinlerdir.

Okuma araçları10 araç

list_ga4_properties

Okuma1 kredi

GA4 properties (id, name, account) the connected Google account can read, plus the default property used when property_id is omitted.

Bu araç parametre almaz.

ga4_report

Okuma1 kredi

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.

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateİsteğe bağlıstringYYYY-MM-DD
end_dateİsteğe bağlıstringYYYY-MM-DD
daysİsteğe bağlıinteger (1–730)window ending today when dates are omitted (default 30)
metricsİsteğe bağlıarray<string>GA4 Data API metric names, default [sessions, totalUsers, keyEvents]
dimensionsİsteğe bağlıarray<string>GA4 dimension names, e.g. sessionDefaultChannelGroup, landingPage, date, country, deviceCategory, eventName
filtersİsteğe bağlıarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
order_byİsteğe bağlıstringa metric or dimension in the request
orderİsteğe bağlıasc | desc—
limitİsteğe bağlıinteger (1–10000)—
offsetİsteğe bağlıinteger (0–…)—

ga4_overview

Okuma1 kredi

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.

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateİsteğe bağlıstringYYYY-MM-DD
end_dateİsteğe bağlıstringYYYY-MM-DD
daysİsteğe bağlıinteger (1–730)window ending today when dates are omitted (default 30)
compare_previousİsteğe bağlıboolean—

ga4_realtime

Okuma1 kredi

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

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
dimensionsİsteğe bağlıarray<string>realtime dimensions: unifiedScreenName (default), country, city, deviceCategory, eventName, platform
metricsİsteğe bağlıarray<string>realtime metrics: activeUsers (default), screenPageViews, eventCount, keyEvents
limitİsteğe bağlıinteger (1–1000)—

ga4_landing_pages

Okuma1 kredi

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

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateİsteğe bağlıstringYYYY-MM-DD
end_dateİsteğe bağlıstringYYYY-MM-DD
daysİsteğe bağlıinteger (1–730)window ending today when dates are omitted (default 30)
filtersİsteğe bağlıarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
with_query_stringİsteğe bağlıboolean—
order_byİsteğe bağlıkeyEvents | sessions | engagedSessions | totalRevenue—
limitİsteğe bağlıinteger (1–1000)—

ga4_channel_report

Okuma1 kredi

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

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
start_dateİsteğe bağlıstringYYYY-MM-DD
end_dateİsteğe bağlıstringYYYY-MM-DD
daysİsteğe bağlıinteger (1–730)window ending today when dates are omitted (default 30)
filtersİsteğe bağlıarray<object>AND-combined dimension filters, e.g. {dimension: sessionDefaultChannelGroup, value: 'Paid Search'}
dimensionİsteğe bağlıstringsessionDefaultChannelGroup (default), sessionSource, sessionMedium, sessionCampaignName, sessionSourceMedium
limitİsteğe bağlıinteger (1–1000)—

ga4_vs_google_ads

Okuma2 kredi

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.

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
daysİsteğe bağlıinteger (1–90)—

list_ga4_conversion_events

Okuma1 kredi

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

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.

list_ga4_custom_dimensions

Okuma1 kredi

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

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.

Yazma araçları3 araç

create_ga4_conversion_event

Yazma2 kredi

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.

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
event_nameZorunlustring—
counting_methodİsteğe bağlıONCE_PER_EVENT | ONCE_PER_SESSION—

Yazma aracı: çağrı önce bir önizleme üretir, değişiklik yalnızca siz onayladıktan sonra platforma gider.

create_ga4_custom_dimension

Yazma2 kredi

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

ParametreTipAçıklama
property_idİsteğe bağlıstringGA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options.
parameter_nameZorunlustring—
display_nameİsteğe bağlıstring—
scopeİsteğe bağlıEVENT | USER | ITEM—
descriptionİsteğe bağlıstring—

Yazma aracı: çağrı önce bir önizleme üretir, değişiklik yalnızca siz onayladıktan sonra platforma gider.