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 krediGA4 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 krediCustom 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.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateİsteğe bağlı | string | YYYY-MM-DD |
end_dateİsteğe bağlı | string | YYYY-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ı | string | a 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 krediOverview 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.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateİsteğe bağlı | string | YYYY-MM-DD |
end_dateİsteğe bağlı | string | YYYY-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 krediActive users right now (last 30 minutes) and where they are — by page/screen title by default.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 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 krediLanding pages with sessions, engaged sessions, key events (conversions), revenue and conversion rate, ordered by key events by default.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateİsteğe bağlı | string | YYYY-MM-DD |
end_dateİsteğe bağlı | string | YYYY-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 krediSessions, engaged sessions, users, key events (conversions), revenue and rates by default channel group (or source/medium/campaign).
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
start_dateİsteğe bağlı | string | YYYY-MM-DD |
end_dateİsteğe bağlı | string | YYYY-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ı | string | sessionDefaultChannelGroup (default), sessionSource, sessionMedium, sessionCampaignName, sessionSourceMedium |
limitİsteğe bağlı | integer (1–1000) | — |
ga4_vs_google_ads
Okuma2 krediGA4 '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.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 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_google_ads_links
Okuma1 krediGoogle Ads accounts linked to the GA4 property (customer id, personalization flag, creator, created time); linked=false flags a property with no link.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
list_ga4_conversion_events
Okuma1 krediConversion (key) events defined on the property with counting method and custom/deletable flags.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
list_ga4_custom_dimensions
Okuma1 krediCustom dimensions on the property (parameter name, display name, scope).
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 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 krediMark 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.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
event_nameZorunlu | string | — |
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 krediCreate a custom dimension (event, user or item scope). Goes through preview and approval before the Admin API call.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
parameter_nameZorunlu | string | — |
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.
create_ga4_google_ads_link
Yazma2 krediLink 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.
| Parametre | Tip | Açıklama |
|---|---|---|
property_idİsteğe bağlı | string | GA4 property id (digits or properties/123). Omit to use the connected default; list_ga4_properties shows the options. |
customer_idZorunlu | string | Google Ads customer id, 123-456-7890 |
ads_personalizationİsteğe bağlı | boolean | — |
Yazma aracı: çağrı önce bir önizleme üretir, değişiklik yalnızca siz onayladıktan sonra platforma gider.