Skip to main content
Glama

mcp-server-google-analytics

by ruchernchong

getPageViews

Retrieve page view metrics from Google Analytics 4 for a specified date range. Analyze website traffic by grouping data with dimensions like page or country to understand visitor behavior patterns.

Instructions

Get page view metrics for a specific date range

Input Schema

NameRequiredDescriptionDefault
dimensionsNoDimensions to group by (e.g., page, country)
endDateYesEnd date in YYYY-MM-DD format
startDateYesStart date in YYYY-MM-DD format

Input Schema (JSON Schema)

{ "properties": { "dimensions": { "description": "Dimensions to group by (e.g., page, country)", "items": { "type": "string" }, "type": "array" }, "endDate": { "description": "End date in YYYY-MM-DD format", "type": "string" }, "startDate": { "description": "Start date in YYYY-MM-DD format", "type": "string" } }, "required": [ "startDate", "endDate" ], "type": "object" }

Other Tools from mcp-server-google-analytics

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ruchernchong/mcp-server-google-analytics'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server