View as .md ↗
Google Analytics

Google Analytics | Trend

MCP server · Marketing · analytics.google.com · 5 categories · 11 tools

Powered by Advanced GSC ↗

Google Analytics is Google's web and app analytics platform. This integration lets your AI workflows read that data — properties, audience and engagement metrics, and traffic sources — for the properties your connected Google account can access.

ga4_trend

Day-by-day or week-by-week session trend. Run ga4_list-properties first if you don't have a property ID.

Tool Input

propertyIdstringrequired— Numeric GA4 property ID (e.g. "123456789"). Get it from ga4_list-properties if you don't have one.(pattern: ^\d{1,15}$)
startDatestring— Window start. "90daysAgo", "30daysAgo", or YYYY-MM-DD. Defaults to "90daysAgo" when omitted.(min length: 1, max length: 30)
endDatestring— Window end. "today" or YYYY-MM-DD. Defaults to "today" when omitted.(min length: 1, max length: 30)
granularitystring— Bucket size for each row. "daily" or "weekly". Defaults to "daily" when omitted.(enum: "daily", "weekly")
organicOnlyboolean— Filter to organic search only. Defaults to true when omitted.

Tool Output

propertyIdstringrequired— The GA4 property this data came from, as a bare numeric id.
startDatestringrequired— Window start, echoing the request ("YYYY-MM-DD" or a relative form).
endDatestringrequired— Window end, echoing the request.
granularitystringrequired— Bucket size for each row. Known values: "daily", "weekly".
scopestringrequired— Traffic scope applied — "Organic Search" when organicOnly is true (the default), "All Traffic" when false. This tool has no channel_filter input, so scope is never a specific channel.
rowsarrayrequired— Periods in chronological order.
[]object
periodstringrequired— "YYYY-MM-DD" for daily, "YYYY-Www" (ISO week) for weekly.
sessionsnumberrequired— Sessions.
usersnumberrequired— Active users. Not additive across rows: GA4 de-duplicates them.
newUsersnumberrequired— First-time users in this period.
engagementRatenumberrequired— Engaged sessions as a percentage (0-100).
bounceRatenumberrequired— Non-engaged sessions as a percentage (0-100). The inverse of engagement rate.

We're Adding More Google Analytics Tools Constantly!

Don't see a specific Google Analytics tool you need? Email [email protected] and we can add it.

Google Analytics Frequently Asked Questions

What does the Trend tool do?

This page documents the Trend tool (ga4_trend). Day-by-day or week-by-week session trend. Run ga4_list-properties first if you don't have a property ID. It is one of the Google Analytics Traffic tools, invoked through your firm's Weave MCP connection and available to members whose access level permits it.

What scope does trend report?

Organic Search by default (organicOnly: true); pass organicOnly: false for all traffic. This tool has no channelFilter, so scope is never a single specific channel.

What is the Google Analytics integration?

The Google Analytics integration connects your firm's Google Analytics account to Weave. Google Analytics is Google's web and app analytics platform. This integration lets your AI workflows read that data, properties, audience and engagement metrics, and traffic sources, for the properties your connected Google account can access. It groups 11 tools into 5 categories, exposed through your firm's Weave MCP connection and filtered per member by access level.

How does my firm connect Google Analytics to Weave?

An admin authorizes a Google account with access to your GA4 properties once, via Google's OAuth consent flow in the Weave console. Every firm member then works through that single connection, there is no per-member Google sign-in.

Can these tools change anything in Google Analytics?

No. Every ga4 tool is read-only reporting, none of them can edit a property, change tracking configuration, or modify GA4 data.

Do I need to specify a property every time?

Yes, run ga4_list-properties first to get the numeric propertyId for the account/property you want; every other ga4 tool requires it.

What does organicOnly mean on these reports?

Most tools default to organicOnly: true, scoping the report to organic search traffic; widen the scope with organicOnly: false, or narrow it further with a channelFilter where the tool supports one.

Related Tools