Tagely Analytics
Read-only website analytics from Tagely: traffic, pages, UTM campaigns, referrers and conversions.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"analytics": {
"url": "https://tagely.com/mcp"
}
}
}Puntos de conexión remotos
https://tagely.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (6)
🟢get_account
The account's business name and website, its data timezone, how far back data is available, and reference values (conversion event types, device type codes). Call this first.
Esquema de entrada
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_summary(period, start_date, end_date, compare_to_previous)
Headline numbers for a date range: page views (all, and excluding bots), unique visitors, new visitors, conversions, conversion rate and event counts by type. These match the Tagely analytics page. Set compare_to_previous to also get the preceding period.
Esquema de entrada
{
"type": "object",
"properties": {
"period": {
"type": "string",
"enum": [
"today",
"yesterday",
"last_7_days",
"last_30_days",
"this_month",
"last_month",
"custom"
],
"description": "Date range. last_7_days / last_30_days end yesterday (today excluded), as on the Tagely analytics page. Default last_7_days, or custom if start_date is given."
},
"start_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive)."
},
"end_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive). A custom range covers at most 366 days."
},
"compare_to_previous": {
"type": "boolean",
"description": "Also return the same figures for the preceding period: the previous calendar month for last_month, the same days of last month so far for this_month, otherwise the period of equal length immediately before."
}
},
"additionalProperties": false
}🟢get_breakdown(dimension, period, start_date, end_date, limit)
Top values of one dimension for a date range, for visitors and for conversions - the same breakdowns as the Tagely analytics page. url: page views (excluding bots) grouped by URL without query string; conversions not available for url. utm / referer / country / device: visitor counts are new visitors' entry views; conversion counts are conversion events, attributed by the event's own UTMs (utm) or by the converting visitor's entry view (referer, country, device). Bots excluded. Device codes: D desktop, M mobile, T tablet.
Esquema de entrada
{
"type": "object",
"properties": {
"dimension": {
"type": "string",
"enum": [
"url",
"utm",
"referer",
"country",
"device"
]
},
"period": {
"type": "string",
"enum": [
"today",
"yesterday",
"last_7_days",
"last_30_days",
"this_month",
"last_month",
"custom"
],
"description": "Date range. last_7_days / last_30_days end yesterday (today excluded), as on the Tagely analytics page. Default last_7_days, or custom if start_date is given."
},
"start_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive)."
},
"end_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive). A custom range covers at most 366 days."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Number of top values, default 10 (20 for url)."
}
},
"required": [
"dimension"
],
"additionalProperties": false
}🟢list_views(period, start_date, end_date, url, url_contains, ...)
Individual page view rows for a date range, newest first, with optional filters. Bots excluded unless include_bots is true. Visitor IP addresses are not included.
Esquema de entrada
{
"type": "object",
"properties": {
"period": {
"type": "string",
"enum": [
"today",
"yesterday",
"last_7_days",
"last_30_days",
"this_month",
"last_month",
"custom"
],
"description": "Date range. last_7_days / last_30_days end yesterday (today excluded), as on the Tagely analytics page. Default last_7_days, or custom if start_date is given."
},
"start_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive)."
},
"end_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive). A custom range covers at most 366 days."
},
"url": {
"type": "string",
"description": "Exact page URL."
},
"url_contains": {
"type": "string",
"description": "Substring of the page URL."
},
"country_code": {
"type": "string",
"description": "Two-letter country code."
},
"device_type": {
"type": "string",
"enum": [
"D",
"M",
"T",
"B"
]
},
"entry_views_only": {
"type": "boolean",
"description": "Only each visitor's first recorded view (new_vid=1)."
},
"include_bots": {
"type": "boolean"
},
"utm_source": {
"type": "string"
},
"utm_medium": {
"type": "string"
},
"utm_campaign": {
"type": "string"
},
"utm_term": {
"type": "string"
},
"utm_content": {
"type": "string"
},
"affiliate_id": {
"type": "string",
"description": "Tagely affiliate id (tgly_aid)."
},
"visitor_id": {
"type": "string",
"description": "Tagely visitor id (tgly_vid)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"description": "Rows per page, default 100."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page, to continue."
}
},
"additionalProperties": false
}🟢list_events(period, start_date, end_date, type, conversions_only, ...)
Individual event rows (leads, purchases, subscriptions etc.) for a date range, newest first, each with the URL of the page it fired on. args holds the event's own data (e.g. purchase value), decoded from JSON where possible.
Esquema de entrada
{
"type": "object",
"properties": {
"period": {
"type": "string",
"enum": [
"today",
"yesterday",
"last_7_days",
"last_30_days",
"this_month",
"last_month",
"custom"
],
"description": "Date range. last_7_days / last_30_days end yesterday (today excluded), as on the Tagely analytics page. Default last_7_days, or custom if start_date is given."
},
"start_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive)."
},
"end_date": {
"type": "string",
"description": "YYYY-MM-DD, for period=custom (inclusive). A custom range covers at most 366 days."
},
"type": {
"type": "string",
"description": "Event type, e.g. lead, purchase, subscribe, subscribeNoConv."
},
"conversions_only": {
"type": "boolean",
"description": "Only lead, purchase and subscribe."
},
"utm_source": {
"type": "string"
},
"utm_medium": {
"type": "string"
},
"utm_campaign": {
"type": "string"
},
"utm_term": {
"type": "string"
},
"utm_content": {
"type": "string"
},
"affiliate_id": {
"type": "string",
"description": "Tagely affiliate id (tgly_aid)."
},
"visitor_id": {
"type": "string",
"description": "Tagely visitor id (tgly_vid)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"description": "Rows per page, default 100."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page, to continue."
}
},
"additionalProperties": false
}🟢get_visitor_journey(visitor_id)
Every view and event recorded for one visitor (up to 500 of each), in time order, as a single timeline. Get visitor_id values from list_views or list_events.
Esquema de entrada
{
"type": "object",
"properties": {
"visitor_id": {
"type": "string",
"description": "Tagely visitor id (tgly_vid)."
}
},
"required": [
"visitor_id"
],
"additionalProperties": false
}Comunidad
Evidencia