traffic_analytics
Google Analytics (GA4) traffic and Google Ads account, campaign, and search-term performance. overview/sources/landing_pages/top_pages read GA4; the ads_* actions read Google Ads - each names its missing connection instead of returning empty data. GA4 sessions and Search Console clicks measure different things: for search clicks use gsc_performance. ai_pages is first-party AI engagement (answer-crawler fetches and AI-referred visits per page) that GA4 cannot attribute - it files that traffic as "Direct". Already scoped to the connected workspace and its site; call directly, no domain or site parameter is needed. Cost: FREE - reads your connected/stored data, no AI credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | look-back window in days. | |
| limit | No | max rows where applicable. | |
| action | Yes | Which operation to run. ai_pages (first-party AI engagement per page: crawler fetches + AI-referred visits). | |
| user_intent | No | Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||