amp zoning

amp zoning returns zone metrics for one page URL. It requires the analytics:read scope.

amp zoning zone-metrics

Returns one metric for every zone on a page URL, ranked by value. A zone is identified by the CSS selector of its element. Results reflect the authenticated caller's project access and data access controls.

This POST computes a result and does not mutate state. It is therefore a read operation and does not require an Idempotency-Key.

Omitting time_range uses the last 30 days in the project timezone. The span of time_range cannot exceed 90 days.

bash
amp zoning zone-metrics --project <project_id> --page-url https://example.com/pricing --metric rage_click_rate_session

Requires the analytics:read scope.

Was this helpful?

For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

On this page