Goals
The site’s goals (a custom event or a page pattern the owner marked as a conversion) with their numbers for a period: completions, unique visitors who completed it, conversion rate against all visitors and attributed revenue. Use it for “how is goal X doing” and to learn which goals exist. Takes range (a preset) or from and to, optional compare and filters. Money is integer minor units (cents) in currency; rates are 0..1; durations are seconds; timestamps are ISO-8601 UTC.
Authorizations
Path Parameters
Query Parameters
Preset period: today (today), yesterday (yesterday), 24h (last 24 hours), 7d (last 7 days), 30d (last 30 days), 90d (last 90 days), mtd (month to date), last_month (last month), ytd (year to date), 12m (last 12 months), all (all time). Defaults to 30d. Use either this or from and to.
today, yesterday, 24h, 7d, 30d, 90d, mtd, last_month, ytd, 12m, all Narrow the data. Repeat the parameter to add filters; all must match. Format: dimension:op:value, for example country:is:DE. Dimensions: page, entry_page, exit_page, hostname, channel, source, referrer, utm_source, utm_medium, utm_campaign, utm_term, utm_content, country, region, city, browser, os, device, language, event, ai_assistant. Operators: is, is_not, contains.