analytics

analytics is a skill for Claude Code, Codex from LuuOW/meridian-mcp. It costs 33 tokens per session (1,852 once invoked), scanned A, original, MIT.

A reference guide for measuring website and business growth, including visits, conversion steps, marketing sources, customer groups, experiments, and revenue.

In plain words
What is it for?
It helps set up GA4 tracking, conversion funnels, attribution, cohort analysis, A/B tests, Supabase analytics queries, and revenue reports.
Why use it?
It provides consistent ways to define events and analyze how people move from visiting a site to signing up, buying, and returning.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps set up GA4 tracking, conversion funnels, attribution, cohort analysis, A/B…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luuow/meridian-mcp/analytics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LuuOW/meridian-mcp --skill analytics
Clone the repo
git clone --depth 1 https://github.com/LuuOW/meridian-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/luuow/meridian-mcp/analytics.svg)](https://agentmods.dev/skills/luuow/meridian-mcp/analytics)
Your own site
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/analytics"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/analytics.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01852
Opus 5 $0.00016 $0.00926
Sonnet 5 $0.00007 $0.00370
Haiku 4.5 $0.00003 $0.00185

Measured 6d ago against content hash d103d7cb2bf8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

analytics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/analytics/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

analytics

Covers measurement, attribution, and reporting for growth systems: web analytics, conversion funnels, cohort analysis, and revenue tracking.

1) GA4 event taxonomy

// Standardised event naming: object_action
gtag('event', 'article_view',    { article_slug, word_count, cluster });
gtag('event', 'email_signup',    { source, form_id, article_slug });
gtag('event', 'purchase',        { value, currency, product_id, funnel_stage });
gtag('event', 'outbound_click',  { link_url, link_text, page_path });
gtag('event', 'scroll_depth',    { percent_scrolled: 75, article_slug });

// Conversion events (mark as Key Events in GA4)
// email_signup, purchase, trial_start, demo_booked

2) Conversion funnel tracking

# Funnel stages — track at each transition
FUNNEL = [
    ("landing",    "user hits any page"),
    ("engaged",    "scroll > 60% or time > 90s"),
    ("intent",     "visits pricing, about, or contact page"),
    ("signup",     "email captured"),
    ("activated",  "completes onboarding action"),
    ("converted",  "purchase or subscription"),
    ("retained",   "returns within 30 days"),
]

# Supabase funnel query
FUNNEL_QUERY = """
WITH events AS (
  SELECT user_id, event_name, created_at
  FROM analytics_events
  WHERE created_at >= NOW() - INTERVAL '30 days'
)
SELECT
  COUNT(DISTINCT CASE WHEN event_name = 'page_view'   THEN user_id END) AS landing,
  COUNT(DISTINCT CASE WHEN event_name = 'engaged'     THEN user_id END) AS engaged,
  COUNT(DISTINCT CASE WHEN event_name = 'email_signup' THEN user_id END) AS signup,
  COUNT(DISTINCT CASE WHEN event_name = 'purchase'    THEN user_id END) AS converted
FROM events;
"""

3) Attribution models

# First-touch: credit goes to first touchpoint
# Last-touch: credit goes to last touchpoint (GA4 default)
# Linear: equal credit to all touchpoints
# Time-decay: more credit to recent touchpoints
# Data-driven: ML-based (GA4 Pro only)

# Simple first/last-touch implementation
def attribute_conversion(touchpoints: list[dict], model: str = "linear") -> dict[str, float]:
    if not touchpoints:
        return {}
    if model == "first_touch":
        return {touchpoints[0]["source"]: 1.0}
    if model == "last_touch":
        return {touchpoints[-1]["source"]: 1.0}
    if model == "linear":
        weight = 1.0 / len(touchpoints)
        result: dict[str, float] = {}
        for t in touchpoints:
            result[t["source"]] = result.get(t["source"], 0.0) + weight
        return result
    raise ValueError(f"Unknown model: {model}")

Read the full file on GitHub · 207 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 207 lines · 33 tokens per session scan A d103d7cb2bf8

Subscribe to this mod's changes

analytics is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed 2d ago), licensed MIT. It adds 33 tokens to every session and 1,852 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-analytics

Product analytics with your AI agent: set up consent-based tracking, read funnels, paths, retention, experiments, and context, then recommend the smallest growth action using the official Agent Analytics CLI.

alisunstar/OpenSunstar · 42 tokens

conversion-tracker

Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "set up tracking", "create UTM links", "track my affiliate links", "tracking pixels", "click attribution", "organize my links", "UTM parameters", "tag my links", "campaign tracking", "link tracking setup", "prepare for launch"…

Affitor/affiliate-skills · 84 tokens

product-analytics

A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions. Use when analyzing experiments, measuring feature adoption, diagnosing conversion drop-offs, or evaluating statistical significance of product changes.

yonatangross/orchestkit · 44 tokens

analytics

Use when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing. NOT charting that data (that is dashboard), NOT choosing which metrics matter (that is kpi-framework), NOT experiment math (that is ab-testing), NOT cookie-policy…

ericrisco/rsc-harness · 80 tokens

landing-page-copy-writer

Writes the complete copy for a newsletter subscribe page — headline, subheadline, value proposition, social proof block, what-to-expect section, and call-to-action button text — optimised for conversion without resorting to hype or false urgency.

ur-grue/autopunk-media-skills · 54 tokens

ga4-attribution-advisor

This skill should be used when the user asks to "choose an attribution model", "compare DDA vs last-click", "configure attribution windows", or mentions "cross-channel attribution", "first-click vs position-based", or "GA4 model comparison". Do NOT use for: conversion import to Google Ads (use ga4-conversion-import)…

Ad-Superpowers/ad-superpowers-plugin · 86 tokens