Get one weekly SEO report from Search Console and GA4

Every Monday: Google clicks and position from Search Console, organic sessions and key events from GA4, and the pages that moved, in a single card.

Runs
Mondays at 10:00
Posts
Report card

What lands on your board

example.comWeekly SEO report: Search Console and GA4 · Claude Code

Organic clicks up 6%, but /pricing is slipping

Google clicks 4,960 (+6%), organic sessions 6,120 (+4%), organic key events 188 (+9%). The gain came from a how-to guide and two templates; /pricing lost 19% of its clicks, and it carries 51 of the 188 key events.

Google clicks4,960+6.0% vs previous period, better
Organic sessions6,120+4.0% vs previous period, better
Organic key events188+9.0% vs previous period, better
Avg position11.2-3.0% vs previous period, better
PageClicksChangeSessionsKey events
/blog/how-to-write-an-invoice620+38%7609
/templates/invoice-pdf1,310+14%1,54022
/templates/receipt190+212%2304
/blog/best-invoicing-software240-31%30014
/pricing280-19%41051

This week: check /pricing rankings first. It lost 66 clicks, and its organic visitors convert at the highest rate on the site.

Done
An example with made-up numbers. Your agent posts your real ones.

What it does

Search Console knows what happened before the click, and GA4 knows what happened after it. An SEO report built from only one of them either celebrates traffic that never converts or misses why sign-ups fell. Joining the two by hand means two exports and a lookup on URLs that never quite match.

The agent pulls both for the same seven days, matches Search Console pages to GA4 landing pages, and writes one update: clicks and position, organic sessions and key events, and the pages behind the change. It is the weekly SEO report for people who will never open either tool.

How it works

  1. 1Pull Google clicks by page

    Call searchanalytics.query with dimensions: ["page"] for the 7 days ending 2 days ago and the 7 before, keeping clicks, impressions, CTR and position, plus the property totals from a query with no dimension.

  2. 2Pull organic sessions for the same days

    Call GA4 runReport for the same two date ranges with landingPagePlusQueryString, the metrics sessions, engagementRate and keyEvents, and a filter on sessionDefaultChannelGroup exactly Organic Search. Matching Search Console's dates keeps the two sources comparable.

  3. 3

    3Match pages across the tools

    Strip scheme, host and query string from Search Console URLs and the query string from GA4 paths, lowercase both and drop trailing slashes, then join. Search Console counts Google only; Organic Search in GA4 includes Bing and the rest.

  4. 4

    4Pick the movers

    Rank pages by the absolute change in clicks. Flag any page that lost clicks while carrying a large share of organic key events, since those cost the business most.

  5. 5

    5Write the update

    Four numbers up top (Google clicks, organic sessions, organic key events, average position) with their change, then up to 5 movers and one line on what to do this week.

  6. Post it to the board

    With BRIEFKIN_TOKEN set, the agent sends the result as one card that updates in place every run. Without it, you get the report in the chat.

What you get

  • Google clicks, organic sessions, organic key events and average position, each with the change on the week before.
  • Top movers by page: clicks and change from Search Console next to sessions and key events from GA4.
  • At-risk pages: pages losing clicks that carry many organic key events.
  • One line on this week's priority.

Install and run it

Pick your agent, where the data comes from and how to schedule it; the commands below follow.

Agent
Data
Schedule
  1. Install the skill

    One command. It puts the SKILL.md in ~/.claude/skills and in ~/.agents/skills, which Codex, Cursor, Gemini CLI, Copilot CLI and OpenCode read too.

    shellcurl -fsSL https://briefkin.dev/skills/weekly-seo-report/install | sh
  2. Run it

    Ask Claude Code:

    promptRun the weekly-seo-report skill

    Or paste the prompt instead of installing:

    promptWrite my weekly SEO report from Google Search Console and GA4 for the same 7 days (ending 2 days ago), compared with the 7 days before. From Search Console (searchanalytics.query, dimension page): clicks, impressions and average position, totals and per page. From GA4 (runReport, landingPagePlusQueryString, filtered to sessionDefaultChannelGroup = Organic Search): sessions, engagementRate and keyEvents per landing page. Match pages by path. Give me four headline numbers with their change (Google clicks, organic sessions, organic key events, average position), the 5 pages that moved most with both sources side by side, any page losing clicks that carries many key events, and one priority for this week.
  3. Put it on a schedule

    Mondays at 10:00, from cron on any machine where Claude Code is signed in:

    crontab0 10 * * 1 claude -p "Run the weekly-seo-report skill"

    Add it with crontab -e. A laptop asleep at that time runs it when it wakes if you use launchd or Task Scheduler instead; GitHub Actions works for the API route.

  4. Send it to your board

    Connect Briefkin once with curl -fsSL https://briefkin.dev/install | sh and every run lands on your board as a report card. How setup works

View the SKILL.mdRaw file
SKILL.md---
name: weekly-seo-report
description: "Every Monday: Google clicks and position from Search Console, organic sessions and key events from GA4, and the pages that moved, in a single card. Use when the user asks for this, or when it runs on a schedule."
---

# Weekly SEO report: Search Console and GA4

Every Monday: Google clicks and position from Search Console, organic sessions and key events from GA4, and the pages that moved, in a single card.

Search Console knows what happened before the click, and GA4 knows what happened after it. An SEO report built from only one of them either celebrates traffic that never converts or misses why sign-ups fell. Joining the two by hand means two exports and a lookup on URLs that never quite match.

The agent pulls both for the same seven days, matches Search Console pages to GA4 landing pages, and writes one update: clicks and position, organic sessions and key events, and the pages behind the change. It is the weekly SEO report for people who will never open either tool.

## Two ways to get the data

Use the API or MCP route when you have an MCP server, a CLI or an API token for the app. Otherwise, if you can drive a browser the user is signed in to (Claude in Chrome, a Playwright or Chrome DevTools MCP server), use the browser route. Say which one you used.

## Route A: API or MCP server

### What you need

- Read access to the Search Console property and Viewer access to the GA4 property for the same site.
- API access to both: Search Console and Google Analytics MCP servers or connectors, or one Google service account added to both properties with `GOOGLE_APPLICATION_CREDENTIALS` set.

If something is missing, say what and stop; do not invent numbers.

### Steps

1. **Pull Google clicks by page** (Google Search Console): Call `searchanalytics.query` with `dimensions: ["page"]` for the 7 days ending 2 days ago and the 7 before, keeping clicks, impressions, CTR and position, plus the property totals from a query with no dimension.
2. **Pull organic sessions for the same days** (Google Analytics): Call GA4 `runReport` for the same two date ranges with `landingPagePlusQueryString`, the metrics `sessions`, `engagementRate` and `keyEvents`, and a filter on `sessionDefaultChannelGroup` exactly `Organic Search`. Matching Search Console's dates keeps the two sources comparable.
3. **Match pages across the tools**: Strip scheme, host and query string from Search Console URLs and the query string from GA4 paths, lowercase both and drop trailing slashes, then join. Search Console counts Google only; Organic Search in GA4 includes Bing and the rest.
4. **Pick the movers**: Rank pages by the absolute change in clicks. Flag any page that lost clicks while carrying a large share of organic key events, since those cost the business most.
5. **Write the update**: Four numbers up top (Google clicks, organic sessions, organic key events, average position) with their change, then up to 5 movers and one line on what to do this week.

## Route B: the browser

### What you need

- Signed in to Google with at least Restricted access to the Search Console property and Viewer access to the GA4 property.

If something is missing, say what and stop; do not invent numbers.

### Steps

Start at https://search.google.com/search-console/performance/search-analytics. The user is signed in already; never type passwords or codes, and ask if a sign-in page appears.

1. **Set up the Search Console view**: Open `https://search.google.com/search-console/performance/search-analytics`, pick the property, keep Search type `Web`, and under Date choose `Compare`, `Last 7 days` against the previous period. Note the dates it uses: they end 2 days ago.
2. **Read totals and pages**: Read Total clicks, Total impressions and Average position for both periods from the tiles. Open the `Pages` tab, sort by the clicks `Difference` column, and keep the biggest gains and losses; use `Export` when the property has more than 1,000 pages.
3. **Open the GA4 landing page report**: In a new tab open `https://analytics.google.com/`, pick the property, go to Reports, Engagement, `Landing page`. Set the date picker to the same two 7-day ranges with `Compare` on.
4. **Filter to organic**: Click `Add filter`, dimension `Session default channel group`, match `exactly matches`, value `Organic Search`, and apply. Read Sessions, Engagement rate and Key events from the totals row and for the pages found in step 2.
5. **Join and write**: Match pages by path (drop host, query string and trailing slash). Give the four headline numbers with their change, the 5 movers with both sources side by side, any page losing clicks that carries many key events, and one priority for the week.

Note: Search Console's Last 7 days ends 2 days ago, so set GA4 to those exact dates rather than its own Last 7 days. GA4 standard reports may apply thresholds on small properties, and its Organic Search includes every search engine while Search Console is Google only.

## The report

- **Google clicks**, **organic sessions**, **organic key events** and **average position**, each with the change on the week before.
- **Top movers by page**: clicks and change from Search Console next to sessions and key events from GA4.
- **At-risk pages**: pages losing clicks that carry many organic key events.
- One line on this week's priority.

## Post it to Briefkin

When `BRIEFKIN_TOKEN` is set, or `~/.config/briefkin/env` exists (the installer from https://briefkin.dev/docs writes it), also send the result to the user's Briefkin board as one card. Keep the `item_key` the same on every run so the card updates in place, use a new `event_id` per run, and put today's real numbers in place of the example ones. If the request fails, say so once and carry on.

```bash
[ -n "${BRIEFKIN_TOKEN:-}" ] || . ~/.config/briefkin/env
curl -sS -X POST "${BRIEFKIN_URL:-https://briefkin.dev}/v1/events" \
  -H "authorization: Bearer $BRIEFKIN_TOKEN" \
  -H "content-type: application/json" \
  -d @- <<'JSON'
{
  "v": 1,
  "event_id": "weekly-seo-report/<date of this run, e.g. 2026-10-16>",
  "item_key": "weekly-seo-report",
  "project": "example.com",
  "source": "Weekly SEO report: Search Console and GA4 skill",
  "kind": "update",
  "title": "Organic clicks up 6%, but /pricing is slipping",
  "summary": "Google clicks **4,960** (+6%), organic sessions **6,120** (+4%), organic key events **188** (+9%). The gain came from a how-to guide and two templates; /pricing lost 19% of its clicks, and it carries 51 of the 188 key events.",
  "widget": [
    {
      "type": "Grid",
      "props": {
        "columns": 4
      },
      "children": [
        {
          "type": "Stat",
          "props": {
            "label": "Google clicks",
            "value": 4960,
            "delta": 6
          }
        },
        {
          "type": "Stat",
          "props": {
            "label": "Organic sessions",
            "value": 6120,
            "delta": 4
          }
        },
        {
          "type": "Stat",
          "props": {
            "label": "Organic key events",
            "value": 188,
            "delta": 9,
            "better": "higher"
          }
        },
        {
          "type": "Stat",
          "props": {
            "label": "Avg position",
            "value": 11.2,
            "delta": -3,
            "better": "lower"
          }
        }
      ]
    },
    {
      "type": "Table",
      "props": {
        "columns": [
          "Page",
          "Clicks",
          "Change",
          "Sessions",
          "Key events"
        ],
        "align": [
          "left",
          "right",
          "right",
          "right",
          "right"
        ],
        "rows": [
          [
            "/blog/how-to-write-an-invoice",
            620,
            "+38%",
            760,
            9
          ],
          [
            "/templates/invoice-pdf",
            1310,
            "+14%",
            1540,
            22
          ],
          [
            "/templates/receipt",
            190,
            "+212%",
            230,
            4
          ],
          [
            "/blog/best-invoicing-software",
            240,
            "-31%",
            300,
            14
          ],
          [
            "/pricing",
            280,
            "-19%",
            410,
            51
          ]
        ]
      }
    },
    {
      "type": "Callout",
      "props": {
        "text": "This week: check /pricing rankings first. It lost 66 clicks, and its organic visitors convert at the highest rate on the site.",
        "tone": "warn"
      }
    }
  ]
}
JSON
```

Widgets come from the Briefkin catalog (https://briefkin.dev/v1/catalog). Without a token, just give the user the report.

## Run it on a schedule

Suggested: Mondays at 10:00 (`0 10 * * 1`). From cron, with the agent signed in on that machine:

```bash
0 10 * * 1 claude -p "Run the weekly-seo-report skill"
# Codex: codex exec, Gemini CLI: gemini -p, Copilot CLI: copilot -p, OpenCode: opencode run
```

Or use the agent's own scheduler (Claude Code routines, Codex automations, Claude or ChatGPT scheduled tasks): https://briefkin.dev/skills/weekly-seo-report#schedule

Source: https://briefkin.dev/skills/weekly-seo-report

What your agent needs

  • Read access to the Search Console property and Viewer access to the GA4 property for the same site.

  • API access to both: Search Console and Google Analytics MCP servers or connectors, or one Google service account added to both properties with GOOGLE_APPLICATION_CREDENTIALS set.

Connecting Google Search Console

  1. MCP server. Google doesn't publish one for Search Console. Community MCP servers exist; check which scopes one asks for before you sign in.
  2. API with a service account. Enable the Google Search Console API in a Google Cloud project, create a service account, and add its email under Settings > Users and permissions on the property. Point GOOGLE_APPLICATION_CREDENTIALS at the key and set GSC_SITE_URL to sc-domain:example.com or https://www.example.com/.
  3. OAuth as yourself. When you can't add users to the property, a desktop OAuth client with the webmasters.readonly scope and a stored refresh token works for scheduled runs.

Ask for webmasters.readonly and add the service account as a Restricted user; the reports only read.

Connecting Google Analytics

  1. Google Analytics MCP server, Google's own open-source server (analytics-mcp on PyPI, source). It runs locally with pipx run analytics-mcp, offers run_report, run_realtime_report and get_account_summaries, and Google labels it experimental.
  2. Data API with a service account. Enable the Google Analytics Data API in a Google Cloud project, create a service account, add its email as a Viewer on the GA4 property, and point GOOGLE_APPLICATION_CREDENTIALS at its JSON key. The skill also reads GA4_PROPERTY_ID.
  3. Your own Google login. gcloud auth application-default login --scopes https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/cloud-platform --client-id-file=client.json gives the MCP server or a script your user's access without a key file.

Request only analytics.readonly and keep the service account at Viewer: none of these reports needs Editor.

Questions

Why are organic sessions higher than Search Console clicks?

GA4 counts organic visits from every search engine, so Bing, DuckDuckGo and others are in it, while Search Console reports Google only. Consent banners pull the other way: visitors who decline analytics are missing from GA4 but still count as clicks. Watch the trend in each, not the gap between them.

Are AI Overviews and Discover included?

Clicks and impressions from AI Overviews and AI Mode are counted in Search Console's web search type, so they are in these numbers. Discover and Google News are separate search types and stay out unless you ask for them.

Do I need Briefkin to use the Weekly SEO report: Search Console and GA4 skill?

No. The skill runs with your own agent and gives you the report in the chat. With a Briefkin token set, each run also posts it to your board as a report card, so you can glance at it instead of asking again.

Which agents can run it?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, OpenCode, Windsurf and Amp all read SKILL.md files. The install command puts it in ~/.claude/skills and ~/.agents/skills, where they look. ChatGPT, the Claude app and Grok take the prompt instead. Pick your agent under "Install and run it" and the commands change to match.

Can it work without an API or MCP server, from my browser?

Yes. Switch the data source to "Your browser" and the steps change to the Google Search Console and Google Analytics pages themselves: the agent opens search.google.com/search-console/performance/search-analytics in a browser you are signed in to and reads the numbers off the page. Claude Code, Codex, Cursor, Claude app and ChatGPT can drive a browser out of the box; Gemini CLI, Copilot CLI and OpenCode need a Playwright or Chrome DevTools MCP server first. It is slower than the API and needs you signed in, so it suits a report you run by hand or from a scheduler on your own computer.

Read this report on your board, not in a chat log

Skills are free to use with any agent. Briefkin is where their results land: one board for every report, number and question your agents send, with a ping when something needs you.

Free during the open beta. No card.