{"id":"689586d2-e6d5-47d6-9b2a-5e5d0895ad70","shortId":"rnR8JF","kind":"skill","title":"google-analytics-automation","tagline":"Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events. Always search tools first for current schemas.","description":"# Google Analytics Automation via Rube MCP\n\nAutomate Google Analytics 4 (GA4) reporting and property management through Composio's Google Analytics toolkit via Rube MCP.\n\n## Prerequisites\n\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active Google Analytics connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `google_analytics`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n\n**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.\n\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `google_analytics`\n3. If connection is not ACTIVE, follow the returned auth link to complete Google OAuth\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. List Accounts and Properties\n\n**When to use**: User wants to discover available GA4 accounts and properties\n\n**Tool sequence**:\n1. `GOOGLE_ANALYTICS_LIST_ACCOUNTS` - List all accessible GA4 accounts [Required]\n2. `GOOGLE_ANALYTICS_LIST_PROPERTIES` - List properties under an account [Required]\n\n**Key parameters**:\n- `pageSize`: Number of results per page\n- `pageToken`: Pagination token from previous response\n- `filter`: Filter expression for properties (e.g., `parent:accounts/12345`)\n\n**Pitfalls**:\n- Property IDs are numeric strings prefixed with 'properties/' (e.g., 'properties/123456')\n- Account IDs are prefixed with 'accounts/' (e.g., 'accounts/12345')\n- Always list accounts first, then properties under each account\n- Pagination required for organizations with many properties\n\n### 2. Run Standard Reports\n\n**When to use**: User wants to query metrics and dimensions from GA4 data\n\n**Tool sequence**:\n1. `GOOGLE_ANALYTICS_LIST_PROPERTIES` - Get property ID [Prerequisite]\n2. `GOOGLE_ANALYTICS_GET_METADATA` - Discover available dimensions and metrics [Optional]\n3. `GOOGLE_ANALYTICS_CHECK_COMPATIBILITY` - Verify dimension/metric compatibility [Optional]\n4. `GOOGLE_ANALYTICS_RUN_REPORT` - Execute the report query [Required]\n\n**Key parameters**:\n- `property`: Property ID (e.g., 'properties/123456')\n- `dateRanges`: Array of date range objects with `startDate` and `endDate`\n- `dimensions`: Array of dimension objects with `name` field\n- `metrics`: Array of metric objects with `name` field\n- `dimensionFilter` / `metricFilter`: Filter expressions\n- `orderBys`: Sort order configuration\n- `limit`: Maximum rows to return\n- `offset`: Row offset for pagination\n\n**Pitfalls**:\n- Date format is 'YYYY-MM-DD' or relative values like 'today', 'yesterday', '7daysAgo', '30daysAgo'\n- Not all dimensions and metrics are compatible; use CHECK_COMPATIBILITY first\n- Use GET_METADATA to discover valid dimension and metric names\n- Maximum 9 dimensions per report request\n- Row limit defaults vary; set explicitly for large datasets\n- `offset` is for result pagination, not date pagination\n\n### 3. Run Batch Reports\n\n**When to use**: User needs multiple different reports from the same property in one call\n\n**Tool sequence**:\n1. `GOOGLE_ANALYTICS_LIST_PROPERTIES` - Get property ID [Prerequisite]\n2. `GOOGLE_ANALYTICS_BATCH_RUN_REPORTS` - Execute multiple reports at once [Required]\n\n**Key parameters**:\n- `property`: Property ID (required)\n- `requests`: Array of individual report request objects (same structure as RUN_REPORT)\n\n**Pitfalls**:\n- Maximum 5 report requests per batch call\n- All reports in a batch must target the same property\n- Each individual report has the same dimension/metric limits as RUN_REPORT\n- Batch errors may affect all reports; check individual report responses\n\n### 4. Run Pivot Reports\n\n**When to use**: User wants cross-tabulated data (rows vs columns) like pivot tables\n\n**Tool sequence**:\n1. `GOOGLE_ANALYTICS_LIST_PROPERTIES` - Get property ID [Prerequisite]\n2. `GOOGLE_ANALYTICS_RUN_PIVOT_REPORT` - Execute pivot report [Required]\n\n**Key parameters**:\n- `property`: Property ID (required)\n- `dateRanges`: Date range objects\n- `dimensions`: All dimensions used in any pivot\n- `metrics`: Metrics to aggregate\n- `pivots`: Array of pivot definitions with `fieldNames`, `limit`, and `orderBys`\n\n**Pitfalls**:\n- Dimensions used in pivots must also be listed in top-level `dimensions`\n- Pivot `fieldNames` reference dimension names from the top-level list\n- Complex pivots with many dimensions can produce very large result sets\n- Each pivot has its own independent `limit` and `orderBys`\n\n### 5. Run Funnel Reports\n\n**When to use**: User wants to analyze conversion funnels and drop-off rates\n\n**Tool sequence**:\n1. `GOOGLE_ANALYTICS_LIST_PROPERTIES` - Get property ID [Prerequisite]\n2. `GOOGLE_ANALYTICS_RUN_FUNNEL_REPORT` - Execute funnel analysis [Required]\n\n**Key parameters**:\n- `property`: Property ID (required)\n- `dateRanges`: Date range objects\n- `funnel`: Funnel definition with `steps` array\n- `funnelBreakdown`: Optional dimension to break down funnel by\n\n**Pitfalls**:\n- Funnel steps are ordered; each step defines a condition users must meet\n- Steps use filter expressions similar to dimension/metric filters\n- Open funnels allow entry at any step; closed funnels require sequential progression\n- Funnel reports may take longer to process than standard reports\n\n### 6. Manage Key Events\n\n**When to use**: User wants to view or manage conversion events (key events) in GA4\n\n**Tool sequence**:\n1. `GOOGLE_ANALYTICS_LIST_PROPERTIES` - Get property ID [Prerequisite]\n2. `GOOGLE_ANALYTICS_LIST_KEY_EVENTS` - List all key events for the property [Required]\n\n**Key parameters**:\n- `parent`: Property resource name (e.g., 'properties/123456')\n- `pageSize`: Number of results per page\n- `pageToken`: Pagination token\n\n**Pitfalls**:\n- Key events were previously called \"conversions\" in GA4\n- Property must have key events configured to return results\n- Key event names correspond to GA4 event names\n\n## Common Patterns\n\n### ID Resolution\n\n**Account name -> Account ID**:\n```\n1. Call GOOGLE_ANALYTICS_LIST_ACCOUNTS\n2. Find account by displayName\n3. Extract name field (e.g., 'accounts/12345')\n```\n\n**Property name -> Property ID**:\n```\n1. Call GOOGLE_ANALYTICS_LIST_PROPERTIES with filter\n2. Find property by displayName\n3. Extract name field (e.g., 'properties/123456')\n```\n\n### Dimension/Metric Discovery\n\n```\n1. Call GOOGLE_ANALYTICS_GET_METADATA with property ID\n2. Browse available dimensions and metrics\n3. Call GOOGLE_ANALYTICS_CHECK_COMPATIBILITY to verify combinations\n4. Use verified dimensions/metrics in RUN_REPORT\n```\n\n### Pagination\n\n- Reports: Use `offset` and `limit` for row pagination\n- Accounts/Properties: Use `pageToken` from response\n- Continue until `pageToken` is absent or `rowCount` reached\n\n### Common Dimensions and Metrics\n\n**Dimensions**: `date`, `city`, `country`, `deviceCategory`, `sessionSource`, `sessionMedium`, `pagePath`, `pageTitle`, `eventName`\n\n**Metrics**: `activeUsers`, `sessions`, `screenPageViews`, `eventCount`, `conversions`, `totalRevenue`, `bounceRate`, `averageSessionDuration`\n\n## Known Pitfalls\n\n**Property IDs**:\n- Always use full resource name format: 'properties/123456'\n- Numeric ID alone will cause errors\n- Resolve property names to IDs via LIST_PROPERTIES\n\n**Date Ranges**:\n- Format: 'YYYY-MM-DD' or relative ('today', 'yesterday', '7daysAgo', '30daysAgo')\n- Data processing delay means today's data may be incomplete\n- Maximum date range varies by property configuration\n\n**Compatibility**:\n- Not all dimensions work with all metrics\n- Always verify with CHECK_COMPATIBILITY before complex reports\n- Custom dimensions/metrics have specific naming patterns\n\n**Response Parsing**:\n- Report data is nested in `rows` array with `dimensionValues` and `metricValues`\n- Values are returned as strings; parse numbers explicitly\n- Empty reports return no `rows` key (not an empty array)\n\n## Quick Reference\n\n| Task | Tool Slug | Key Params |\n|------|-----------|------------|\n| List accounts | GOOGLE_ANALYTICS_LIST_ACCOUNTS | pageSize, pageToken |\n| List properties | GOOGLE_ANALYTICS_LIST_PROPERTIES | filter, pageSize |\n| Get metadata | GOOGLE_ANALYTICS_GET_METADATA | property |\n| Check compatibility | GOOGLE_ANALYTICS_CHECK_COMPATIBILITY | property, dimensions, metrics |\n| Run report | GOOGLE_ANALYTICS_RUN_REPORT | property, dateRanges, dimensions, metrics |\n| Batch reports | GOOGLE_ANALYTICS_BATCH_RUN_REPORTS | property, requests |\n| Pivot report | GOOGLE_ANALYTICS_RUN_PIVOT_REPORT | property, dateRanges, pivots |\n| Funnel report | GOOGLE_ANALYTICS_RUN_FUNNEL_REPORT | property, dateRanges, funnel |\n| List key events | GOOGLE_ANALYTICS_LIST_KEY_EVENTS | parent, pageSize |\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["google","analytics","automation","antigravity","awesome","skills","sickn33","agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding"],"capabilities":["skill","source-sickn33","skill-google-analytics-automation","topic-agent-skills","topic-agentic-skills","topic-ai-agent-skills","topic-ai-agents","topic-ai-coding","topic-ai-workflows","topic-antigravity","topic-antigravity-skills","topic-claude-code","topic-claude-code-skills","topic-codex-cli","topic-codex-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/google-analytics-automation","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add sickn33/antigravity-awesome-skills","source_repo":"https://github.com/sickn33/antigravity-awesome-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34768 github stars · SKILL.md body (9,097 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T18:51:24.576Z","embedding":null,"createdAt":"2026-04-18T21:38:10.374Z","updatedAt":"2026-04-23T18:51:24.576Z","lastSeenAt":"2026-04-23T18:51:24.576Z","tsv":"'/mcp':92 '1':112,160,179,277,448,547,662,769,843,864,885 '2':124,190,258,286,457,556,671,778,849,872,894 '3':133,297,427,854,877,900 '30daysago':382,998 '4':37,148,306,526,909 '5':489,642 '6':748 '7daysago':381,997 '9':405 'absent':934 'access':186 'account':162,174,183,188,199,234,239,244,250,839,841,848,851,1077,1081 'accounts/12345':222,241,859 'accounts/properties':16,925 'action':1169 'activ':62,138,153 'activeus':953 'add':89,106 'affect':519 'aggreg':586 'allow':728 'alon':974 'also':603 'alway':21,74,242,965,1024 'analysi':679 'analyt':3,7,29,36,47,64,73,132,181,192,279,288,299,308,450,459,549,558,664,673,771,780,846,867,888,903,1079,1087,1095,1102,1111,1121,1130,1140,1151 'analyz':652 'api':102 'applic':1163 'array':324,334,342,476,588,696,1046,1068 'ask':1207 'auth':142 'autom':4,5,30,34 'avail':61,117,172,292,896 'averagesessiondur':960 'batch':429,460,493,499,516,1118,1122 'bouncer':959 'boundari':1215 'break':701 'brows':895 'call':75,125,445,494,814,844,865,886,901 'caus':976 'check':300,391,522,904,1027,1099,1103 'citi':944 'clarif':1209 'clear':1182 'client':99 'close':733 'column':541 'combin':908 'common':835,938 'compat':301,304,389,392,905,1016,1028,1100,1104 'complet':145 'complex':622,1030 'composio':12,44 'condit':714 'configur':100,356,823,1015 'confirm':119,149 'connect':57,65,69,128,135,150 'continu':930 'convers':653,761,815,957 'core':158 'correspond':830 'countri':945 'criteria':1218 'cross':536 'cross-tabul':535 'current':26,82 'custom':1032 'data':274,538,999,1005,1041 'dataset':418 'date':326,368,425,573,688,943,986,1010 'daterang':323,572,687,1115,1135,1145 'dd':374,992 'default':412 'defin':712 'definit':591,693 'delay':1001 'describ':1170,1186 'devicecategori':946 'differ':437 'dimens':271,293,333,336,385,400,406,576,578,598,610,614,626,699,897,939,942,1019,1106,1116 'dimension/metric':303,511,724,883 'dimensionfilt':349 'dimensions/metrics':912,1033 'dimensionvalu':1048 'discov':171,291,398 'discoveri':884 'displaynam':853,876 'drop':657 'drop-off':656 'e.g':220,232,240,321,798,858,881 'empti':1059,1067 'enddat':332 'endpoint':108 'entri':729 'environ':1198 'environment-specif':1197 'error':517,977 'event':20,751,762,764,783,787,811,822,828,833,1149,1154 'eventcount':956 'eventnam':951 'execut':311,463,562,677,1165 'expert':1203 'explicit':415,1058 'express':217,352,721 'extract':855,878 'field':340,348,857,880 'fieldnam':593,612 'filter':215,216,351,720,725,871,1090 'find':850,873 'first':24,79,245,393 'follow':139 'format':369,970,988 'full':967 'funnel':17,644,654,675,678,691,692,703,706,727,734,738,1137,1142,1146 'funnelbreakdown':697 'ga4':38,173,187,273,766,817,832 'get':81,86,282,289,395,453,552,667,774,889,1092,1096 'googl':2,6,28,35,46,63,72,131,146,180,191,278,287,298,307,449,458,548,557,663,672,770,779,845,866,887,902,1078,1086,1094,1101,1110,1120,1129,1139,1150 'google-analytics-autom':1 'id':225,235,284,320,455,473,554,570,669,685,776,837,842,863,893,964,973,982 'incomplet':1008 'independ':638 'individu':478,506,523 'input':1212 'key':19,103,201,316,469,566,681,750,763,782,786,792,810,821,827,1064,1074,1148,1153 'known':961 'larg':417,630 'level':609,620 'like':378,542 'limit':357,411,512,594,639,921,1174 'link':143 'list':15,161,182,184,193,195,243,280,451,550,605,621,665,772,781,784,847,868,984,1076,1080,1084,1088,1147,1152 'longer':742 'manag':42,68,127,749,760 'mani':256,625 'match':1183 'maximum':358,404,488,1009 'may':518,740,1006 'mcp':11,33,51,54,88,95,115 'mean':1002 'meet':717 'metadata':290,396,890,1093,1097 'metric':269,295,341,344,387,402,583,584,899,941,952,1023,1107,1117 'metricfilt':350 'metricvalu':1050 'miss':1220 'mm':373,991 'multipl':436,464 'must':55,500,602,716,819 'name':339,347,403,615,797,829,834,840,856,861,879,969,980,1036 'need':104,435 'nest':1043 'number':204,801,1057 'numer':227,972 'oauth':147 'object':328,337,345,481,575,690 'offset':362,364,419,919 'one':444 'open':726 'option':296,305,698 'order':355,709 'orderbi':353,596,641 'organ':254 'output':1192 'overview':1173 'page':208,805 'pagepath':949 'pages':203,800,1082,1091,1156 'pagetitl':950 'pagetoken':209,806,927,932,1083 'pagin':210,251,366,423,426,807,916,924 'param':1075 'paramet':202,317,470,567,682,793 'parent':221,794,1155 'pars':1039,1056 'pattern':836,1037 'per':207,407,492,804 'permiss':1213 'pitfal':223,367,487,597,705,809,962 'pivot':18,528,543,560,563,582,587,590,601,611,623,634,1127,1132,1136 'prefix':229,237 'prerequisit':52,285,456,555,670,777 'previous':213,813 'process':744,1000 'produc':628 'progress':737 'properti':41,164,176,194,196,219,224,231,247,257,281,283,318,319,442,452,454,471,472,504,551,553,568,569,666,668,683,684,773,775,790,795,818,860,862,869,874,892,963,979,985,1014,1085,1089,1098,1105,1114,1125,1134,1144 'properties/123456':233,322,799,882,971 'queri':268,314 'quick':1069 'rang':327,574,689,987,1011 'rate':659 'reach':937 'refer':613,1070 'relat':376,994 'report':14,39,261,310,313,408,430,438,462,465,479,486,490,496,507,515,521,524,529,561,564,645,676,739,747,915,917,1031,1040,1060,1109,1113,1119,1124,1128,1133,1138,1143 'request':409,475,480,491,1126 'requir':189,200,252,315,468,474,565,571,680,686,735,791,1211 'resolut':838 'resolv':978 'resourc':796,968 'respond':123 'respons':214,525,929,1038 'result':206,422,631,803,826 'return':141,361,825,1053,1061 'review':1204 'row':359,363,410,539,923,1045,1063 'rowcount':936 'rube':10,32,50,53,58,67,76,87,114,120,126 'rube.app':91 'rube.app/mcp':90 'run':13,155,259,309,428,461,485,514,527,559,643,674,914,1108,1112,1123,1131,1141 'safeti':1214 'schema':27,84 'scope':1185 'screenpageview':955 'search':22,59,77,121 'sequenc':178,276,447,546,661,768 'sequenti':736 'server':96 'session':954 'sessionmedium':948 'sessionsourc':947 'set':414,632 'setup':85 'show':152 'similar':722 'skill':1161,1177 'skill-google-analytics-automation' 'slug':1073 'sort':354 'source-sickn33' 'specif':1035,1199 'standard':260,746 'startdat':330 'status':151 'step':695,707,711,718,732 'stop':1205 'string':228,1055 'structur':483 'substitut':1195 'success':1217 'tabl':544 'tabul':537 'take':741 'target':501 'task':8,1071,1181 'test':1201 'today':379,995,1003 'token':211,808 'tool':23,60,78,83,122,177,275,446,545,660,767,1072 'toolkit':48,71,130 'top':608,619 'top-level':607,618 'topic-agent-skills' 'topic-agentic-skills' 'topic-ai-agent-skills' 'topic-ai-agents' 'topic-ai-coding' 'topic-ai-workflows' 'topic-antigravity' 'topic-antigravity-skills' 'topic-claude-code' 'topic-claude-code-skills' 'topic-codex-cli' 'topic-codex-skills' 'totalrevenu':958 'treat':1190 'use':167,264,390,394,433,532,579,599,648,719,754,910,918,926,966,1159,1175 'user':168,265,434,533,649,715,755 'valid':399,1200 'valu':377,1051 'vari':413,1012 'verifi':113,302,907,911,1025 'via':9,31,49,66,983 'view':758 'vs':540 'want':169,266,534,650,756 'work':111,1020 'workflow':157,159,1167 'yesterday':380,996 'yyyi':372,990 'yyyy-mm-dd':371,989","prices":[{"id":"b79816a3-c6f5-46eb-901b-e9ae8e0033a0","listingId":"689586d2-e6d5-47d6-9b2a-5e5d0895ad70","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:38:10.374Z"}],"sources":[{"listingId":"689586d2-e6d5-47d6-9b2a-5e5d0895ad70","source":"github","sourceId":"sickn33/antigravity-awesome-skills/google-analytics-automation","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/google-analytics-automation","isPrimary":false,"firstSeenAt":"2026-04-18T21:38:10.374Z","lastSeenAt":"2026-04-23T18:51:24.576Z"}],"details":{"listingId":"689586d2-e6d5-47d6-9b2a-5e5d0895ad70","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"google-analytics-automation","github":{"repo":"sickn33/antigravity-awesome-skills","stars":34768,"topics":["agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows","antigravity","antigravity-skills","claude-code","claude-code-skills","codex-cli","codex-skills","cursor","cursor-skills","developer-tools","gemini-cli","gemini-skills","kiro","mcp","skill-library"],"license":"mit","html_url":"https://github.com/sickn33/antigravity-awesome-skills","pushed_at":"2026-04-23T06:41:03Z","description":"Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.","skill_md_sha":"9c07211825266a6e75ca6997ed6e91feb7d38ae0","skill_md_path":"skills/google-analytics-automation/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/google-analytics-automation"},"layout":"multi","source":"github","category":"antigravity-awesome-skills","frontmatter":{"name":"google-analytics-automation","description":"Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events. Always search tools first for current schemas."},"skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/google-analytics-automation"},"updatedAt":"2026-04-23T18:51:24.576Z"}}