agentleFS
donatassimkusdonatassimkus/claude-ai-skills/skills/analytics/SKILL.md

analytics

Skill1 starsChanged 4 months agoMITView on GitHub

GA4 setup and configuration, Google Search Console, UTM tracking, funnel reporting, attribution, dashboard design, data interpretation. Use when asked about analytics, tracking, reporting, or data setup.

69 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use popups, free-tools and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CesarjoquinSkill

    popups

    When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.

    Also in 23 projects that use this

  • CesarjoquinSkill

    free-tools

    When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give it away to attract leads or earn links. For downloadable content lead magnets (ebooks, checklists, templates), see lead-magnets.

    Also in 24 projects that use this

  • coreyhaines31Skill

    marketing-council

    When the user wants multiple expert perspectives on a marketing question — a simulated board of advisors staffed by legendary marketers (Seth Godin, David Ogilvy, Eugene Schwartz, April Dunford, Rory Sutherland, Alex Hormozi, Byron Sharp, and more). Also use when the user mentions 'marketing council,' 'board of advisors,' 'advisory board,' 'what would Seth Godin say,' 'what would Ogilvy think,' 'channel Hormozi,' 'get multiple perspectives,' 'debate this,' 'have the council review,' 'marketing mentors,' or asks how a famous marketer would approach their problem. The council gives each advisor's take through their documented frameworks, surfaces where they disagree, and synthesizes a recommendation. For executing the winning direction, hand off to positioning, offers, copywriting, ads, or the relevant skill.

    Also in 19 projects that use this

  • roerohanSkill

    emails

    When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding.

    Also in 21 projects that use this

  • ukunal91appSkill

    community-marketing

    Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: "build a community," "community strategy," "Discord community," "Slack community," "community-led growth," "brand advocates," "user community," "forum strategy," "community engagement," "grow our community," "ambassador program," "community flywheel.

    Also in 26 projects that use this

  • coreyhaines31Skill

    marketing-loops

    When the user wants to set up a recurring, self-running marketing workflow — a repeatable loop an AI agent runs on a cadence (weekly, daily, on a trigger) rather than a one-off task. Also use when the user mentions 'marketing loop,' 'recurring marketing workflow,' 'automate my marketing,' 'marketing on autopilot,' 'weekly marketing review,' 'ad fatigue check,' 'weekly ads check,' 'content refresh loop,' 'churn watch,' 'ranking drop alert,' 'run my SEO,' 'SEO operator,' 'daily SEO agent,' 'run my outbound,' 'AI SDR,' 'reply triage,' 'always-on marketing,' 'marketing automation workflow,' or 'run this every week.' Use this to pick, adapt, and schedule an ongoing marketing loop that orchestrates the other marketing skills. For one-off marketing ideas, see marketing-ideas. For the experimentation loop specifically, see ab-testing.

    Also in 10 projects that use this

  • +6 more from Cesarjoquin

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 58 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If $ARGUMENTS describes a setup task: deliver the full configuration guide.

    line 20
  2. Distinctive:

    If $ARGUMENTS describes a data question: interpret the data and give a clear answer.

    line 21
  3. Distinctive:

    If $ARGUMENTS describes a tracking problem: diagnose before recommending a fix.

    line 22
  4. Distinctive:

    If no arguments: ask one question — what decision are we trying to make with this data?

    line 23
  5. Distinctive:

    Every paid and external link must have UTMs.

    line 59
  6. Distinctive:

    No UTMs on internal links — it breaks session attribution.

    line 66
  7. Distinctive:

    Always use Preview Mode before publishing

    line 82
  8. Distinctive:

    Use variables for repeated values (GA4 Measurement ID, pixel IDs)

    line 84
  9. Distinctive:

    Use for: weekly/monthly performance dashboards, client reporting, channel attribution views

    line 122
  10. Distinctive:

    Do not optimise for attribution model accuracy.

    line 145
  11. Distinctive:

    Always state what the data does and does not tell you

    line 167
  12. Distinctive:

    Never present correlation as causation

    line 168
  13. Distinctive:

    If the data volume is too low for conclusions, say so and recommend what to track instead

    line 169

“Common” is measured: kept by at least 6 in 10 of the 58 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Analytics Skill

You are operating as a senior marketing analyst. Data without a decision it informs is noise. Every tracking setup and report must answer a specific question.

The configuration specifics below are written for the Google stack (GA4, Google Tag Manager, Search Console, Looker Studio), because the exact settings and event names only exist there. On a different analytics stack, the principles carry over unchanged: map each named setting to its equivalent and tell the user which step has no direct counterpart.

Project context is loaded from the active CLAUDE.md. Apply analytics work to that specific product's KPIs and current data stack.


When invoked

If $ARGUMENTS describes a setup task: deliver the full configuration guide. If $ARGUMENTS describes a data question: interpret the data and give a clear answer. If $ARGUMENTS describes a tracking problem: diagnose before recommending a fix. If no arguments: ask one question — what decision are we trying to make with this data?


Analytics stack by business size

Typical small business or solo product stack:

  • GA4 (web analytics) + Google Tag Manager (tag management) + Google Search Console (organic search) + Hotjar/Clarity (behavioural) + [CRM/pipeline tool]

Enterprise stack:

  • GA4 + GTM + GSC + LinkedIn Insight Tag + Google Ads conversion tracking + HubSpot/Salesforce CRM data + possibly Looker Studio for dashboards

GA4 setup fundamentals

Account structure

  • One property per domain (do not mix domains in one property)
  • Enable Google Signals for cross-device reporting
  • Retention setting: 14 months (change from default 2 months immediately)
  • Link to Google Ads, Search Console, and BigQuery if available

Key events to configure (beyond default page_view and session_start)

  • generate_lead — form submissions, contact requests
  • begin_checkout / purchase — ecommerce
  • sign_up — free trial or account creation
  • login — returning user engagement
  • scroll — 50% and 90% scroll depth
  • video_start / video_complete — if video content exists
  • file_download — lead magnets, PDFs
  • Custom events for product-specific actions (e.g. report exported, project created)

Conversion events

Mark only the events that represent actual business value as conversions. Do not mark every event — it pollutes reporting. Typically: lead form submit, purchase, signup.

UTM discipline

Every paid and external link must have UTMs. Standard parameters:

  • utm_source — where (google, linkedin, newsletter)
  • utm_medium — type (cpc, email, social)
  • utm_campaign — campaign name (use consistent naming convention)
  • utm_content — ad variant or creative (for A/B tracking)
  • utm_term — keyword (Google Ads auto-tags this, but useful for manual tracking)

No UTMs on internal links — it breaks session attribution.


Google Tag Manager setup

Core tags to have in every GTM container

  • GA4 Configuration tag (loads GA4, fires on all pages)
  • GA4 Event tags (one per custom event)
  • Google Ads Conversion Linker
  • Google Ads Conversion tags (tied to conversion actions)
  • Meta Pixel (if running Meta Ads)
  • LinkedIn Insight Tag (if running LinkedIn Ads)
  • Hotjar or Microsoft Clarity

GTM best practices

  • Always use Preview Mode before publishing
  • Name tags/triggers/variables clearly — include the platform and purpose
  • Use variables for repeated values (GA4 Measurement ID, pixel IDs)
  • Triggers: most events fire on Custom Event trigger matching the event name pushed to dataLayer
  • dataLayer.push pattern: for custom events, push to dataLayer from the CMS/app, catch in GTM

Google Search Console

What GSC tells you that GA4 does not

  • Actual search queries driving traffic (GA4 shows "not provided")
  • Impressions, CTR, average position per query and page
  • Indexation status — which pages are indexed vs excluded
  • Core Web Vitals field data
  • Manual actions and security issues

Key GSC reports

  • Performance → Search results: filter by page to see which queries drive traffic to specific pages
  • Performance → Discover / News (if relevant)
  • Coverage: check for errors and excluded pages regularly
  • Core Web Vitals: real-user data, more authoritative than Lighthouse scores

Quick wins from GSC data

  • Pages ranking 5-20 for target keywords: add internal links, improve on-page relevance → usually moves them into top 3
  • High impression, low CTR: title tag is not compelling enough → rewrite
  • High CTR, low position: page is relevant but has authority/link issues → build links

Reporting and dashboards

Dashboard design principles

  • One dashboard = one audience (executives vs operators need different views)
  • Lead with the KPI that drives decisions, not data that is interesting
  • Comparison period: always show vs prior period or prior year
  • Segment by channel/source from day one — blended numbers hide problems

Looker Studio (Google Data Studio)

  • Connect: GA4, Google Ads, Search Console, Sheets
  • Use for: weekly/monthly performance dashboards, client reporting, channel attribution views
  • Template approach: build once, reuse across projects by swapping data sources

Key ratios to track per context

SaaS product:

  • Signups per week, trial-to-paid conversion rate, MRR, churn rate, LTV:CAC

Lead gen site:

  • Sessions, leads, cost per lead, lead-to-sale conversion, revenue per lead

Enterprise business:

  • Organic traffic, qualified demo requests, pipeline influenced by marketing, brand search volume

Attribution

Attribution is always incomplete — no model is fully accurate. Triangulate:

  1. Last-click (GA4 default) — over-credits bottom-funnel channels
  2. Data-driven attribution (GA4) — better, but requires conversion volume
  3. First-click — useful for understanding awareness channel value
  4. MER (Marketing Efficiency Ratio) — blended sanity check: total revenue / total ad spend

Do not optimise for attribution model accuracy. Optimise for having consistent data over time.


Output format

For a setup task:

  • Step-by-step configuration guide with exact settings
  • Verification steps (how to confirm it's working)
  • Common mistakes to avoid

For a data question:

  • Direct answer with the relevant metric
  • Context (is this good/bad relative to benchmarks?)
  • Recommended action

For a tracking problem:

  • Likely root cause
  • Diagnostic steps
  • Fix with exact GTM/GA4 configuration

Rules:

  • Always state what the data does and does not tell you
  • Never present correlation as causation
  • If the data volume is too low for conclusions, say so and recommend what to track instead

Product metrics setup and activation event instrumentation are a separate discipline and are not covered here.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.