attribution

Analytics

coreyhaines31/marketingskillsskills.sh ↗

Installs

15,487

deduplicated, at the last sync

Since we started

+11.4%

40 readings, about 2 hours apart. Not a live curve.

Our category

Analytics

ours

Last read

Sep 3, 2026

from the directory

Our brief

ours

This skill helps users determine which marketing efforts are responsible for conversions and revenue by interpreting various attribution models and measurement paradigms. It provides frameworks for reconciling conflicting data reported by different marketing tools, such as Google Analytics or CRMs, and guides the setup of first-party tracking.

What it produces
  • Attribution model interpretation
  • Recommendations for measurement paradigms (MTA, MMM, Incrementality)
  • Frameworks for reconciling conflicting source data
What it needs
  • User's marketing goals and data sources
  • Website/App access for first-party tracking setup
Paid services

not detected

The evidence does not contain any information regarding required paid services, APIs, or credentials.

Registration

not detected

The evidence does not provide any information about registration requirements for using the skill.

Limits and human review

It cannot determine a single objective truth for attribution, as it is directional and depends on the model used. It also requires users to understand that data is often incomplete due to privacy changes (e.g., cookie loss) or offline activity. The skill does not set up ad-platform pixels or define CRM pipeline stages.

Evidencestatic findingsskills/attribution/references/attribution-models.md:1-37skills/attribution/references/by-business-type.md:1-19skills/attribution/references/first-party-tracking.md:1-30+2
static findingsstatic_finding
[{"code":"oauth","match":"OAuth","path":"SKILL.md"},{"code":"payment","match":"Stripe","path":"SKILL.md"},{"code":"payment","match":"stripe","path":"SKILL.md"},{"code":"env_var","match":"POSTHOG_API_KEY","path":"references/first-party-tracking.md"},{"code":"env_var","match":"SAVVYCAL_WEBHOOK_SECRET","path":"references/first-party-tracking.md"},{"code":"api_key_mention","match":"api_key","path":"references/first-party-tracking.md"},{"code":"oauth","match":"OAuth","path":"references/first-party-tracking.md"},{"code":"payment","match":"Stripe","path":"references/first-party-tracking.md"},{"code":"payment","match":"stripe","path":"references/first-party-tracking.md"}]
skills/attribution/references/attribution-models.md1–37 · excerpt truncated
# Attribution Models — The Math, Worked

Six standard models, one journey scored six ways, and data-driven attribution explained without the black box. Use this when the user wants to understand *why* two models disagree, or needs to pick one defensibly.

## The worked journey

A single B2B buyer's path to a $12,000 annual deal, five touches over 38 days:

| # | Day | Touch | Role in the story |
|---|---|---|---|
| T1 | 0 | LinkedIn ad (paid social) | First discovered you — created awareness |
| T2 | 5 | Organic blog post (organic search) | Came back to learn — built interest |
| T3 | 12 | Retargeting ad (paid social) | Nudged back mid-consideration |
| T4 | 30 | Branded search (paid search, branded) | Ready to act — searched your name |
| T5 | 38 | Direct → demo request (direct) | Converted |

The whole point: **the touch that gets credit depends entirely on the model, and each model tells a different story about where your $12k came from.**

## The six models, applied

Credit for the $12,000 deal under each model:

| Touch | Channel | First-touch | Last-touch | Last non-direct | Linear | Time-decay | Position (U) |
|---|---|---|---|---|---|---|---|
| T1 | Paid social | **$12,000*
skills/attribution/references/by-business-type.md1–19 · excerpt truncated
# Attribution by Business Type

Attribution defaults differ sharply by business model. The same "which channel drives revenue?" question wants a different source of truth, model, and paradigm depending on how long your cycle is, how many people are involved, and where your budget goes. Two playbooks: B2B SaaS and Ecommerce/DTC. Match the user's product to one (or blend, for PLG-with-sales).

---

## B2B SaaS (long cycle, sales-assisted)

**Shape of the problem:** journeys run weeks to months, span multiple people (champion, economic buyer, users), and include touches that never appear in web analytics — a conference conversation, a sales call, a Slack-community mention, a peer recommendation. Deal values are high and volume is low, so every deal matters and averages are noisy.

**Why single-touch models mislead badly here:** with 15 touches over 3 months across 4 people, "last-touch = direct" and "first-touch = one LinkedIn ad" are both almost useless. The middle — and the offline — is where the deal was actually won.

### The B2B playbook

1. **Source of truth = the CRM**, not any analytics tool. Revenue is real in the CRM (closed-won, ARR); everything else explains where those de
skills/attribution/references/first-party-tracking.md1–30 · excerpt truncated
# First-Party Attribution — The Own-Your-Attribution Runbook

How to instrument and stitch attribution yourself when you control the site/app. This is the build track (Pillar B). It's distilled from real production builds and kept tool-agnostic — **PostHog + SavvyCal are the worked example**, but the pattern maps to any product-analytics tool with `identify()`/merge (Segment, Amplitude, GA4 user-id) and any third-party conversion domain with a metadata passthrough + webhook (Calendly, Cal.com, Stripe Checkout, Typeform).

The core method — closing the `identify()` gap so conversions join to anonymous browsing history — is **adapted from Tessa Kriesel's PostHog attribution approach**. Several of the production refinements that make this operate at scale are also hers, credited inline: the full-touch-path capture that feeds the model track (Step 4), the CRM last-mile with source/confidence/basis and a Paid-vs-Organic read (Step 5), the account rollup, and the "expect ~zero until the stitch is verified, with a campaign-window fallback + backfill" window (Cross-subdomain stitching). Credit where due.

## The one idea

First-party attribution joins **anonymous browsing** to the **eventu
skills/attribution/references/measurement-paradigms.md1–24 · excerpt truncated
# Measurement Paradigms — MTA vs. MMM vs. Incrementality

Attribution *models* (see `attribution-models.md`) split credit *within* your tracked data. They can't tell you what would have happened anyway. That's what these three paradigms are for — increasingly rigorous, increasingly expensive ways to get closer to causality. Use this reference to help a user pick, and to explain how a test *reads* (not how to run the statistics).

## The three, compared

| | **MTA** (multi-touch) | **MMM** (media mix modeling) | **Incrementality** (experiments) |
|---|---|---|---|
| **Approach** | Bottom-up: stitch user-level touches, apply a model | Top-down: regress outcomes vs. spend/factors over time | Controlled: withhold exposure from a group, measure the difference |
| **Answers** | "Which touchpoints are on converting journeys?" | "What's each channel's aggregate contribution?" | "Did this channel *cause* lift I wouldn't have gotten?" |
| **Granularity** | Per user, per touch | Per channel, per week | Per test (one channel/tactic at a time) |
| **Data needed** | Clean cross-device user-level tracking | 2–3 yrs weekly data + spend variation | Ability to withhold + enough volume for significan
skills/attribution/SKILL.md1–118 · excerpt truncated
---
name: attribution
description: When the user wants to figure out which marketing actually drives conversions and revenue, choose or interpret an attribution model, or reconcile conflicting numbers across tools. Also use when the user mentions "attribution," "attribution model," "first-touch vs last-touch," "multi-touch," "which channel drives revenue," "what's my real CAC," "my dashboards disagree," "Google/Meta says X but GA says Y," "media mix model," "MMM," "incrementality," "geo lift," "holdout test," "how did you hear about us," "self-reported attribution," "dark social," or wants to instrument attribution themselves — "stitch my bookings to their source," "SavvyCal/Calendly attribution," "close the identify gap," "track conversions on a third-party domain," "first-party / self-hosted attribution." For event tracking setup and UTMs, see analytics. For ad-platform pixels/CAPI, see ads. For pipeline and CRM revenue reporting, see revops. For the AI-search attribution blind spot, see ai-seo.
metadata:
  version: 1.1.0
---

# Attribution

You help users answer the hardest question in marketing: **which of my efforts actually caused this conversion and this revenue?** Attributi

Read 6 of 6 text files in the skill.

Checked September 2026 · GemmaWritten from the skill's published files. Check the source before relying on access or cost details.

Installfrom the directory

npx skills add https://github.com/coreyhaines31/marketingskills

Installing happens there, not here. We are an index with an opinion, not a mirror.

What is inside itfrom the directory

evals/evals.json
references/attribution-models.md
references/by-business-type.md
references/first-party-tracking.md
references/measurement-paradigms.md
SKILL.md

6 files — names only. The directory does not report sizes.

What the auditors foundfrom the directory

A skill is instructions your agent will follow and scripts it may run, so who checked it matters as much as how many people installed it.

Gen Agent Trust HubThis skill provides instructions and references for marketing attribution analysis and implementation. It covers standard attribution models, measurement paradigms (MTA, MMM, incrementality), and includes a technical runbook for first-party tracking. The analysis found no malicious code, unauthorized data access, or obfuscation. While the skill handles external data from ad platforms and webhooks, it includes strong security recommendations for data sanitization and identity protection.Jul 27, 2026 · SAFEpass
SocketNo alertsJul 27, 2026pass
SnykRisk: LOW · No issuesJul 27, 2026 · LOWpass

Installs, reading by readingours

14.3k
15.5k
Aug 31, 202640 readings over 4 days, drawn as the last reading of each day.Sep 3, 2026

Axis starts at 14.3k, not zero — the range is 14.3k to 15.5k.

Filed alongside itours