page_analysis
Join Google Search Console and GA4 page-level data, rank by opportunity score to identify high-impact pages for optimization.
Instructions
Join GSC and GA4 data at the page level and rank by opportunity score.
GSC rows are fetched with dimensions=["page"] (already aggregated per page). GA4 organic landing pages are fetched with a high limit to avoid truncation. Pages are joined on _normalize_url. Pages that appear in only one source get None for the missing fields.
opportunity_score = log10(impressions+1)10 + engagement_rate100 + log10(conversions+1)*20
engagement_rate is derived as engaged_sessions/sessions (GA4 native formula) because ga4_organic_landing_pages does not expose it directly.
Results are sorted by opportunity_score descending, truncated to limit.
hostname and country narrow the GA4 query to a specific host or country.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| site | Yes | ||
| limit | No | ||
| country | No | ||
| hostname | No | ||
| property_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |