CONNECTED DATA / GOOGLE ANALYTICS
Google Analytics MCP: give an agent the right report scope
Use GWG SEO’s actual GA4 report contract, inspect a runnable synthetic response, and connect it to a landing-page review.
BUILD THIS WITH GWG SEO
The example makes the data shape and agent handoff visible before you supply real Google credentials.
See the working setupChoose the analytics question before the connector
An agent needs to know whether it is investigating organic landing pages, referral sources, engagement, or a measured conversion step. Those questions need different report dimensions and filters. Connecting an MCP server does not make every analytics question answerable.
The GWG SEO google.analytics report reads organic-search landing pages with sessions, engaged sessions, and key events for explicit dates. It is not a general GA4 query builder or an AI-referral classifier. Google support is preview in package 0.1.0, with live-account release verification still pending.
Inspect the GWG SEO contract before connecting a live property
npx --no-install gwg-seo reports describe google.analytics
npx --no-install gwg-seo mcp configInstall the package first through the quickstart. The schema identifies the required numeric property ID and dates. The launcher connects the installed local server to a compatible client. Neither step proves that a particular Google identity can read your chosen property.
To inspect a complete example without credentials, download the synthetic GA4 report demo into the Node.js project where you installed @getwickedgrowth/seo and run it with Node. The demo injects a response through the library’s supported fetch context. It makes no Google request and verifies the report’s Organic Search filter before returning the teaching rows.
Read the actual report shape from the runnable fixture
{
"id": "google.analytics",
"data": {
"dimensionHeaders": [{"name":"landingPagePlusQueryString"}],
"metricHeaders": [
{"name":"sessions"},
{"name":"engagedSessions"},
{"name":"keyEvents"}
],
"rows": [{
"dimensionValues": [{"value":"/guides/account-research/"}],
"metricValues": [{"value":"75"},{"value":"23"},{"value":"3"}]
}]
}
}Inspect the complete generated teaching report. The values are fictional, and the example is not live-account verification. Its purpose is to show how a header identifies each value and how the report carries scope into the agent’s input.
Read the metric values in header order. The three values are sessions, engaged sessions, and key events. The report is scoped to Organic Search landing pages; asking it for assistant referral traffic or a general channel comparison would require a different report source.
GET WICKED GROWTH / FIELD NOTES
Get the next connected-data build with a sample output.
GWG field notes show the data contract, tool call, result, and human checks behind a useful AI workflow. Subscribe to see how the connection becomes work a sales or marketing team can actually use.
The inputs. The prompt. An example output. The checks before your team uses it.
Confirm your email to join. Unsubscribe whenever you like.
Separate local MCP setup from Google authorization
- 01 /
Install and inspect
Install the package locally and print mcp config for the actual Node.js and package paths.
- 02 /
Configure the client
Use the local stdio entry in a compatible client such as Claude Code, Codex, or Gemini CLI.
- 03 /
Authorize the data source
Configure your own Google credentials and property access using the documented preview setup.
- 04 /
Inspect the report contract
Describe google.analytics, use the numeric GA4 property ID and dates, then review coverage before interpreting the rows.
Match the client’s transport and configuration
Claude Code and Codex setup commands are in the GWG SEO MCP connection guide. Gemini CLI uses an mcpServers entry in settings.json; retain the generated command and ordered args, adapting the surrounding configuration to its official documentation.
These instructions describe a local process. They do not provide a hosted GWG SEO MCP URL for a web-only client such as a remote ChatGPT connection. Use an environment that supports launching the local server, or supply a reviewed export through a supported workflow.
Turn the row into the next page investigation
The teaching row gives you a destination to inspect. Use GWG SEO page.audit for the current response and supply the page content, buyer task, and measurement definitions. A row with a small number of key events does not establish that the CTA is wrong or that the page produced unqualified visitors.
Scroll the table sideways to see all columns.
| Check | Why it belongs in the review |
|---|---|
| Measurement definition | Know which action each key event represents before interpreting it. |
| Landing-page task | Check what the reader wanted to finish and what the page actually provides. |
| Next action | Review the relevant setup, subscription, or implementation handoff. |
| Attribution and scope | Keep organic sessions separate from Search Console clicks and other channel sources. |
An agent can prepare a short review packet with the data row and page evidence. The marketer should decide whether the sample and measurement setup justify action. If the question is commercial quality, add the authorized business evidence that supports that question rather than converting key-event counts into revenue.
For a live workflow, validate property access and compare an initial report with the intended GA4 context. Google support remains preview in package 0.1.0. Keep that verification step in your deployment checklist before making the report a recurring dependency.
Give the agent a bounded analytics job
Read the GA4 report headers, rows, and coverage.
Map each metric value using its header, not a guessed order.
Use the supplied page audit and buyer task for interpretation.
Separate measured actions from hypotheses about the content.
Return one next check with the measurement evidence it requires.
Do not infer pipeline or revenue from key-event counts.Use the MCP connection guide for supported local clients. The client connection is the transport; this report and review contract define the useful job. Keep both documented so another operator can reproduce the result.
WORK WITH VIKASH
Connect analytics to the decisions your team owns.
An MCP connection still leaves work around authorization, report scope, retained evidence, interpretation, review, and the task created after the result.
Work with Vikash to build those connected steps in your stack, using the appropriate source reports and explicit review. The process includes the handover your team needs to operate it, rather than ending at a successful connection test.
Start with the AI GTM Audit: a working call and a written roadmap for the systems worth building first. We agree on the process and success criteria before a build.
Book the AI GTM AuditYour stack, your prompts, your team trained to run it.
Sources and scope
- Google: GA4 Data API report method
- Gemini CLI: MCP server configuration
- GWG SEO source and report definitions
Observed site reports and synthetic teaching data are labeled separately. Saved reports retain their collection time and coverage. Follow the linked setup documentation when running the workflow with your own inputs.
