Google Analytics 4 / API Reference
get_ga_compare_yoy
GA4 Preset tool. Year-over-year comparison — last 30 days vs same 30 days one year ago.
This is a read-only tool: it retrieves ga compare yoy from your Google Analytics 4 account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Get ga compare yoy in my Google Analytics 4 account.
It takes 0 required and 1 optional parameter.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_id | string | No | Property Id |
Related Google Analytics 4 tools
get_ga_compare_momget_ga_compare_qoqget_ga_compare_wowget_ga_audience_engagementget_ga_conversions_30dget_ga_conversions_7d
Before you can call it
This tool needs a connected Google Analytics 4 account. The Google Analytics 4 connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.
Workflows that use this
Rather than calling tools one at a time, these skills run a whole procedure against the same account: