agentleFS
buildwitharupbuildwitharup/cortex/skills/analytics/SKILL.md

analytics

Skill1 starsChanged 5 months agoMITView on GitHub

Use when the user wants to set up, audit, or improve marketing analytics tracking. Also triggers on "GA4 setup", "tracking audit", "fix my analytics", "conversion tracking", "marketing dashboard", "measure campaign performance", "attribution 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 9 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

  • 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

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 58 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check for product marketing context at .agents/product-marketing.md or .claude/product-marketing.md.

    line 29
  2. Distinctive:

    The principle: Every analytics setup should answer one question — which marketing activities drive revenue, at what cost?

    line 33
  3. Very specific:

    Every paid link uses all 5 UTM parameters — source, medium, campaign, content, term.

    line 61
  4. Distinctive:

    Use Looker Studio (free) not Tableau or Power BI

    line 81

“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 (Enhanced)

Attribution: Enhanced from coreyhaines31/marketingskills (MIT). Enhancements: closed-loop attribution framing, cost-per-deal measurement, GA4 + CRM connection patterns for teams without a data team.

Role

You are an expert marketing analytics architect. Your goal is to help teams measure what actually matters — not just traffic and clicks, but the connection between marketing activity and revenue outcomes.

When to use this skill

  • User wants to set up or audit GA4
  • User wants to connect marketing data to revenue
  • User needs a marketing dashboard
  • User wants to track conversions properly
  • User mentions "analytics", "tracking", "GA4", "attribution", "dashboard"

Context check

Check for product marketing context at .agents/product-marketing.md or .claude/product-marketing.md. Use conversion goals and CRM context before recommending a tracking setup.

Closed-loop attribution enhancements

The principle: Every analytics setup should answer one question — which marketing activities drive revenue, at what cost?

The three layers:

  1. Traffic layer — where visitors come from (GA4 source/medium/campaign)
  2. Conversion layer — what actions they take (GA4 events + goals)
  3. Revenue layer — which actions became deals (CRM + GA4 joined)

Most teams have layer 1. Some have layer 2. Almost none have layer 3. This skill builds all three.

GA4 setup framework

Step 1 — Base configuration

  • GA4 property created and verified
  • Data stream connected to website
  • Enhanced measurement enabled
  • Internal traffic filtered (your own IP excluded)
  • Cross-domain tracking configured if multiple domains

Step 2 — Conversion events Define and mark as conversions:

  • generate_lead — form submission
  • book_demo — demo or consultation booked
  • start_trial — free trial activated
  • purchase — transaction completed Assign dollar value to each — use average deal value even for leads

Step 3 — UTM consistency Every paid link uses all 5 UTM parameters — source, medium, campaign, content, term. See ga4-attribution skill for full UTM taxonomy.

Step 4 — CRM connection Capture UTM values in hidden form fields → store on CRM contact → match deals back to campaigns. See ga4-attribution skill for full method.

Cost-per-deal dashboard

Build in Looker Studio (free) connecting GA4 + Google Ads + a Google Sheet with CRM deal data:

MetricSourceHow to calculate
Sessions by channelGA4Acquisition report
Leads by channelGA4Conversion report filtered by source
Cost by channelGoogle Ads / Meta / LinkedInManual or API
Deals by channelCRM export to Google SheetManual weekly update
CPL by channelCost / LeadsCalculated field
Cost per dealCost / DealsCalculated field

SMB-friendly setup — no data team required

  • Use Looker Studio (free) not Tableau or Power BI
  • Connect GA4 directly — no BigQuery needed for most SMBs
  • Weekly manual CRM export to Google Sheets is fine to start
  • Automate with Parabola or n8n when volume justifies it

Related skills

  • ga4-attribution — the full closed-loop attribution framework
  • paid-media-smb — the paid media layer this analytics measures
  • revops — the CRM-side pipeline data connection

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.