Google Analytics 4 Setup
ooiyeefei/ccc
Sets up GA4 on a website and wires one real conversion event end to end, verified in DebugView before any money goes into ads.
Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.
$ npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-analytics --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/google-analytics .claude/skills/google-analytics && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "google-analytics" agent skill from https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analytics into .claude/skills/google-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-analytics", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analyticsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-analytics --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/google-analytics .agents/skills/google-analytics && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "google-analytics" agent skill from https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analytics into .agents/skills/google-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-analytics", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-analytics --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/google-analytics .cursor/skills/google-analytics && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "google-analytics" agent skill from https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analytics into .cursor/skills/google-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-analytics", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/thatrebeccarae/claude-marketing.git --path skills/google-analytics--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-analytics --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/google-analytics .gemini/skills/google-analytics && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "google-analytics" agent skill from https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analytics into .gemini/skills/google-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-analytics", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install thatrebeccarae/claude-marketing google-analyticsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/google-analytics .github/skills/google-analytics && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "google-analytics" agent skill from https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analytics into .github/skills/google-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-analytics", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-analytics --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/google-analytics .opencode/skills/google-analytics && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "google-analytics" agent skill from https://github.com/thatrebeccarae/claude-marketing/tree/main/skills/google-analytics into .opencode/skills/google-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-analytics", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
google-analyticsAnalyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.
Google Analytics is an agent skill from thatrebeccarae/claude-marketing. Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `EXAMPLES.md`, `REFERENCE.md` and `scripts/analyze.py`).
It sits in Marketing & SEO, covering Conversion rate optimization, OKRs and executive reporting and Performance optimization. It works with Google Analytics. The repository describes itself as: A full marketing department for Claude Code. Skill packs for Klaviyo, Shopify, GA4, Looker Studio, paid media, and more. Audit, optimize, and report using natural language. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a8a63ec. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pippythongitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GOOGLE_APPLICATION_CREDENTIALSFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Google Analytics loads about 1.3k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 463 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
Or create a `.env` file in your project root:- Use environment variables or `.env` files for configuration- Add `.env` and credential files to `.gitignore`Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from thatrebeccarae/claude-marketing at commit a8a63ec, republished under its MIT licence (© thatrebeccarae). 463 words, ~1,290 tokens.
.claude/skills/google-analytics/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Analyze website performance using Google Analytics data to provide actionable insights and improvement recommendations.
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/google-analytics ~/.claude/skills/This Skill requires Google Analytics API credentials. Set up environment variables:
export GOOGLE_ANALYTICS_PROPERTY_ID="your-property-id"
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"Or create a .env file in your project root:
GOOGLE_ANALYTICS_PROPERTY_ID=123456789
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.jsonNever commit credentials to version control. The service account JSON file should be stored securely outside your repository.
# Option 1: Install from requirements file (recommended)
pip install -r cli-tool/components/skills/analytics/google-analytics/requirements.txt
# Option 2: Install individually
pip install google-analytics-data python-dotenv pandasOnce configured, I can:
Ask me questions like:
When you ask me to analyze Google Analytics data, I will:
For detailed metric definitions and dimensions, see REFERENCE.md.
For complete analysis patterns and use cases, see EXAMPLES.md.
The Skill includes utility scripts for API interaction:
python scripts/ga_client.py --days 30 --metrics sessions,users,bounceRatepython scripts/analyze.py --period last-30-days --compare previous-periodThe scripts handle API authentication, data fetching, and basic analysis. I'll interpret the results and provide actionable recommendations.
Authentication Error: Verify that:
GOOGLE_APPLICATION_CREDENTIALS points to a valid service account JSON fileGOOGLE_ANALYTICS_PROPERTY_ID matches your GA4 property ID (not the measurement ID)No Data Returned: Check that:
Import Errors: Install required packages:
pip install google-analytics-data python-dotenv pandas.env files for configuration.env and credential files to .gitignoreThis Skill accesses aggregated analytics data only. It does not:
All data is processed locally and used only to generate recommendations during the conversation.
© thatrebeccarae, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts) in skills/google-analytics of thatrebeccarae/claude-marketing.
Open the folder on GitHubat commit a8a63ec
We found 7 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in thatrebeccarae/claude-marketing, which our catalogue first saw on October 7, 2026.
Google Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Google Analytics this skillthatrebeccarae/claude-marketing | 162 | 4 repos | ~1.3k | Automated safety check: Notes | MIT | |
| Google Analytics 4 Setupooiyeefei/ccc | 494 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Analyticsericrisco/rsc-harness | 156 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Analytics And Reportingsocial-media-skills/skills | 116 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Revenue Centric Designfabricioctelles/skills | 105 | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Analytics Insightsindranilbanerjee/digital-marketing-pro | 854 | 1 repos | ~6.7k | Automated safety check: Pass | MIT |
ooiyeefei/ccc
Sets up GA4 on a website and wires one real conversion event end to end, verified in DebugView before any money goes into ads.
ericrisco/rsc-harness
A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.
social-media-skills/skills
Social media analytics and reporting — read native platform data honestly and turn it into next actions.
fabricioctelles/skills
Revenue-Centric Design (RCD) — evidence-backed principles for making a SaaS or startup product convert, retain, and monetize.
indranilbanerjee/digital-marketing-pro
Marketing measurement module — builds KPI trees per business model, reporting templates (weekly, monthly, QBR, campaign), anomaly root-cause diagnosis, MMM and incrementality guidance, dark-social…
social-media-skills/skills
Lead magnets and funnels — design offers that turn social traffic into subscribers, leads, and customers.
thatrebeccarae/claude-marketing
Comprehensive content marketing toolkit with brand voice analysis, SEO optimization scripts, content frameworks, social media strategy, and content calendar planning.
thatrebeccarae/claude-marketing
Klaviyo marketing operations and analyst expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
Klaviyo API and developer integration expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
Looker Studio (formerly Google Data Studio) expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
Shopify e-commerce platform marketing expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
A/B and multivariate testing methodology. An agent skill from thatrebeccarae/claude-marketing.
Works with
Categories
Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Google Analytics is an agent skill from thatrebeccarae/claude-marketing. Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.
Google Analytics fits situations like: the user asks about analytics; website metrics; traffic analysis; conversion rates.
Run `npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a claude-code`. Or copy the skill folder (skills/google-analytics in thatrebeccarae/claude-marketing) into .claude/skills/google-analytics in your project. Claude Code loads it when a task matches its description.
Run `npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a codex`. Or copy the skill folder (skills/google-analytics in thatrebeccarae/claude-marketing) into .agents/skills/google-analytics in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add thatrebeccarae/claude-marketing --skill google-analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-analytics, .gemini/skills/google-analytics, .github/skills/google-analytics and .opencode/skills/google-analytics in your project.
Going by SKILL.md and its folder, Google Analytics needs Python for the scripts in its folder, the command-line tools its instructions call (pip, python and git) and credentials named GOOGLE_APPLICATION_CREDENTIALS. Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Google Analytics is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Google Analytics: Google Analytics 4 Setup (ooiyeefei/ccc, 494 stars), Analytics (ericrisco/rsc-harness, 156 stars), Analytics And Reporting (social-media-skills/skills, 116 stars) and Revenue Centric Design (fabricioctelles/skills, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
thatrebeccarae (a GitHub user) maintains it in thatrebeccarae/claude-marketing, which has 162 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on May 14, 2026.
Source: thatrebeccarae/claude-marketing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.