Logo di Revenue Attributor

Revenue Attributor

Organizzazione
Humblytics
revenue-attributor

Revenue attribution specialist that connects Meta Ads, Google Ads, and Stripe revenue to show which campaigns actually pay back. Generates campaign-level ROAS breakdowns with waste detection and budget reallocation recommendations. Use when analyzing ad ROI, finding wasted ad spend, comparing channel performance, or reallocating budget. Triggers: attribution, ROAS, ad spend, campaign performance, channel mix, budget reallocation, ad waste.

Add to TypingMind

Panoramica

Pubblicato daHumblytics
Repositoryhumblytics-marketing-skills
Nome della skillrevenue-attributor
Stelle
85
Fork
18
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Humblytics su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Revenue Attributor in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Humblytics/humblytics-marketing-skills/tree/main/skills/revenue-attributor
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Humblytics/humblytics-marketing-skills.git /tmp/humblytics-marketing-skills
mkdir -p .claude/skills
cp -r /tmp/humblytics-marketing-skills/skills/revenue-attributor .claude/skills/revenue-attributor
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Revenue Attributor in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Revenue Attributor non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Revenue Attributor non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Revenue Attributor

Purpose

Connect ad spend to on-site conversion signals using Humblytics attribution, and rank campaigns by spend efficiency (sessions and ad_conversions per dollar). True revenue/ROAS, revenue_conversions, and trial_count are only populated when a Stripe/ChartMogul revenue connector is attached to the property — without one, those fields are 0. For true ROAS, join Humblytics spend + on-site conversion data to Stripe/ChartMogul revenue separately. This skill moves marketing teams from raw click counts to spend efficiency, and to revenue accountability once a revenue connector is in place.

When to Use

  • Planning next month's ad budget and need data to reallocate
  • Diagnosing why spend is up but revenue is flat
  • Comparing paid vs organic vs direct revenue contribution
  • Auditing campaign-level ROAS across Meta, Google, TikTok, LinkedIn
  • Building a quarterly ad performance review for leadership
  • Deciding whether to kill, scale, or hold a specific campaign

Connecting Humblytics

Live data comes from the Humblytics MCP (server humblytics). This skill calls mcp__humblytics__* tools — get_ads_attribution, list_meta_connections, get_meta_daily_insights, list_google_ads_connections, and friends — so there are no base URLs, curl calls, or API keys to wire up here. Connect the MCP once (see the repo README); the API key lives in the connection headers, set a single time.

  • Never paste API keys into chat — they persist in transcripts and logs. The key belongs in the MCP connection config, never in CLAUDE.md, .cursorrules, or any file committed to git.
  • Property: for a single-property key the MCP auto-resolves the property, so nothing to pass. For a multi-property key, call list_properties and pass the chosen propertyId.
  • Stripe/ChartMogul requirement: the Humblytics property must have a Stripe/ChartMogul revenue connector attached for revenue attribution to populate. No separate Stripe key is needed here — Humblytics handles ingestion internally. Without a revenue connector, revenue, roas, revenue_conversions, and trial_count come back 0.

Three paths to ad data (Meta Ads + Google Ads)

Path A — Humblytics connectors (preferred, read-only)

If the property has Meta Ads or Google Ads connected at Connectors in the Humblytics dashboard, this skill pulls campaign metadata, daily insights, and full-funnel attribution directly through the Humblytics MCP — no Meta App Review, no Google Ads developer token. This is the default path. The connectors are read-only — they let the agent see campaign data and revenue, but not pause campaigns or change budgets.

  • Detect availability via list_meta_connections and list_google_ads_connections. Empty connections arrays mean nothing is connected; fall back to Path A2 below.
Path A2 — User-provided CSV (fallback)

If no connectors are set up, the skill asks the user to paste ad spend from Meta Ads Manager or Google Ads Editor. Pair the CSV columns with Humblytics-attributed revenue from get_ads_attribution (which still works for revenue even without a spend connector — it just leaves spend fields zero).

Path B — Meta CLI (only when the agent needs to manage campaigns)

For pausing laggards, shifting budget, or other write actions, point the user at Meta's official meta ads CLI (released April 29, 2026). It's a published, supported tool that creates resources in PAUSED status by default. Scope the access token to a single ad account, store it in .env (never CLAUDE.md), and review every campaign before flipping it active. This skill does not call the Meta CLI itself — it just hands off when management actions are required.

Path C — Don't roll your own Meta app

Do not give the agent direct Meta Marketing API access through a system user on an unapproved developer app. Routing production API traffic through a draft or unpublished Meta App — regardless of how the access token was issued — is how ad accounts, including long-standing ones with seven-figure spend, are getting permanently banned. Meta is actively enforcing against unapproved-app API traffic. Use Path A or Path B instead. The only safe DIY route is a Meta Developer App with the Marketing API product and full App Review completed for the permissions you need (e.g. ads_read) — budget weeks for review.

Before You Start

  1. Confirm a revenue connector is attached — Attribution requires Stripe/ChartMogul revenue events; without one, you only get click data
  2. Confirm UTM hygiene — Campaigns without UTM parameters can't be attributed to source
  3. Time range — Default to last 30 days; 60-90 days for monthly comparison; 12 months for strategic planning
  4. Attribution model — Default to last-touch; switch to first-touch or linear if specified
  5. Property — The MCP auto-resolves the property for a single-property key; for a multi-property key, call list_properties and pass the chosen propertyId

Core Workflow

Step 1: Pull Revenue + Spend Data

Primary call — full-funnel attribution merging ad spend with sessions and revenue:

  • get_ads_attribution with startDate and endDate (both YYYY-MM-DD)

This returns per-campaign rows with campaign, utm_campaign, platforms, target_urls, top_landing_page, spend, impressions, clicks, sessions, ad_conversions, revenue_conversions, revenue, roas, trial_count, true_cpa, cost_per_trial, click_to_session_rate, avg_hours_to_convert, plus top-level totals, unmatched_ad_campaigns (UTM hygiene gaps), unmatched_utm_campaigns (organic/email traffic), breakdowns, date_range, and connections. NOTE revenue and roas are 0/null on properties without a revenue connector. Empty campaigns[] with non-empty unmatched_* is the strongest signal that UTM tagging needs work — the data is flowing, it just isn't joining.

Spend supplement (Path A — connectors connected):

  • Meta: list_meta_connections → pick a connection → get_meta_daily_insights with that connection id, its accountId, and since/until (YYYY-MM-DD)
  • Google: list_google_ads_connections → pick a connection → list_google_ads_campaigns with that connection id and customerId

Path A2 fallback (no connectors): ask the user to paste a CSV from Ads Manager. The skill joins those rows to the get_ads_attribution revenue side.

Context tools for source/page-level breakdowns:

  • get_traffic_breakdown — UTM source/medium/campaign + device + location dimensions
  • get_forms_breakdown — Conversion events (signups, purchases)
  • get_pages_breakdown — Page performance (there's no page_group filter; pull all pages and filter client-side if needed)

Step 2: Build the Attribution Table

For each source → campaign → ad level:

SourceCampaignSpendClicksSignupsRevenueROAS
google/cpcbrand-search$1,20034028$4,2003.5×
meta/paidlookalike-v3$2,8001,24042$1,6800.6×
organicseo-longtail$086031$3,720∞

Step 3: ROAS Ranking + Waste Detection

Precondition — only tier by ROAS when totals.revenue != 0. If revenue is 0 across all campaigns (no Stripe/ChartMogul revenue connector attached), do NOT tier or recommend kills by ROAS. Instead, report spend plus on-site conversion signals (sessions, ad_conversions) and explicitly flag that revenue attribution is unavailable until a revenue connector is connected. Only apply the tier table below once totals.revenue != 0.

Sort campaigns into four tiers:

TierROASAction
Scale> 3×Increase budget 20-50%
Hold1.5-3×Optimize creative/audience; budget stays
Fix0.5-1.5×Audit targeting, creative, landing page before killing
Kill< 0.5×Reallocate budget immediately

Waste detection rules:

  • Campaign has > $500 spend and < 1× ROAS → hard flag
  • Ad set has > 100 clicks and 0 conversions → landing page or audience mismatch
  • Campaign clicks but no UTMs → invisible to attribution, fix tracking first

Step 4: Channel Mix Analysis

Compare revenue contribution across channels:

  • Paid share: % of revenue from paid ads
  • Organic share: % from SEO/direct
  • Referral share: % from partner/affiliate sources
  • Blended CAC: Total ad spend / total acquired customers

Red flags:

  • Paid share > 80% → business is dependent on ad spend; diversify
  • Paid share < 10% with high spend → attribution is broken, fix UTMs
  • One campaign > 50% of revenue → concentration risk

Step 5: Reallocation Recommendation

Build a specific reallocation plan:

CURRENT ALLOCATION (monthly):
- Google Ads: $8,000 (2.1× ROAS)
- Meta Ads:   $12,000 (0.9× ROAS)
- LinkedIn:   $3,000 (4.2× ROAS)

RECOMMENDED REALLOCATION:
- Google Ads: $9,000 (+$1,000) — scale branded search
- Meta Ads:   $6,000 (-$6,000) — kill "lookalike-v3", keep retargeting only
- LinkedIn:   $7,000 (+$4,000) — scale the 4.2× ROAS campaign
- Reserve:    $4,000 — test new channel (TikTok or YouTube)

NET CHANGE: $0 (same total budget)
EXPECTED ROAS LIFT: 1.6× → 2.4× (projected)

Step 6: Output Format

PERIOD: [start] to [end]
TOTAL AD SPEND: $X
TOTAL ATTRIBUTED REVENUE: $Y
BLENDED ROAS: Z×

TOP 3 PERFORMERS:
1. [Campaign] — [ROAS]× — [Recommendation]
2. [Campaign] — [ROAS]× — [Recommendation]
3. [Campaign] — [ROAS]× — [Recommendation]

BOTTOM 3 (KILL CANDIDATES):
1. [Campaign] — [ROAS]× — $[spend] wasted
2. [Campaign] — [ROAS]× — $[spend] wasted
3. [Campaign] — [ROAS]× — $[spend] wasted

CHANNEL MIX:
- Paid: X%   Organic: Y%   Direct: Z%   Referral: W%

REALLOCATION PLAN:
[Specific budget moves with dollar amounts]

PROJECTED IMPACT:
[Expected ROAS lift and revenue gain]

TRACKING GAPS:
[Campaigns missing UTMs, ad sets with zero attribution, Stripe integration issues]

Attribution Principles

  1. Revenue over clicks. A campaign with 10× the clicks of another means nothing if it doesn't drive revenue.
  2. Absolute wins matter, not just ROAS. A 10× ROAS campaign at $200/mo spend matters less than a 2× ROAS campaign at $20K/mo.
  3. Kill slowly, scale cautiously. A low ROAS campaign might be the top-funnel driver. Check assisted conversions before killing.
  4. UTM hygiene is everything. Without clean UTMs, attribution is fiction. Fix tracking before fixing spend.
  5. Blended CAC is the truth. Per-campaign ROAS is useful, but blended CAC tells you whether the business model works.

Creative Inspection (Path A only)

When get_ads_attribution flags a high-spend Meta campaign, drill into the underlying creative before recommending action. get_ads_attribution does NOT return Meta's internal campaign IDs, so you must first resolve the connection and campaign IDs from list_meta_connections — the ads call requires a real Meta campaignId, not the utm_campaign string (an unknown/fake id returns a Graph API "object does not exist" error). Verified live flow (2026-05-29):

  1. list_meta_connections → take the connection id (and adAccounts[].id).
  2. list_meta_campaigns (with the connection id) → list campaigns per account with their real Meta id, name, status. (Equivalently list_meta_account_campaigns with the connection id and accountId.) Match the flagged utm_campaign/name to its Meta campaign id.
  3. list_meta_campaign_ads (with the connection id and campaignId) — list ads in that campaign with creative (thumbnailUrl, imageUrl, title, body), status, adsetId, destination URL.
  4. get_meta_ad_creative (with the connection id and adId) — full creative metadata (name, title, body, etc.) for one ad.

Also available when you need connection health or a single account's campaigns over a window: get_meta_connection_status (connection id) for status, and list_meta_account_campaigns (connection id, accountId, since, until) for the per-account campaign list.

Look for: destination URL mismatch (ad copy promises X, lands on Y), broken links, low-quality stock visuals, or one ad in the campaign hogging the spend with poor performance. This is the read-only diagnostic step. To pause the ad, hand off to Meta CLI (Path B).

Related Skills

  • funnel-reporter — End-to-end funnel metrics for the periods you're analyzing
  • ad-expert — Creative and targeting fixes once you've identified waste
  • cro-optimizer — If ads are working but landing pages aren't converting, pair with CRO

Domande frequenti

Cosa fa la skill IA Revenue Attributor?

Revenue attribution specialist that connects Meta Ads, Google Ads, and Stripe revenue to show which campaigns actually pay back. Generates campaign-level ROAS breakdowns with waste detection and budget reallocation recommendations. Use when analyzing ad ROI, finding wasted ad spend, comparing channel performance, or reallocating budget. Triggers: attribution, ROAS, ad spend, campaign performance, channel mix, budget reallocation, ad waste.

Perché usare Revenue Attributor su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Revenue Attributor è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Revenue Attributor in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Humblytics/humblytics-marketing-skills/tree/main/skills/revenue-attributor. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Revenue Attributor?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Revenue Attributor?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Revenue Attributor: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Revenue Attributor è gratuita?

Sì. È pubblicata su GitHub da Humblytics con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇