/gomarble:meta-custom-event-interpretationfrom GoMarble
Prevents destructive Meta campaign changes when COMPLETE_REGISTRATION is a 3rd-party purchase proxy (Profitmetrics, Triple Whale, Cosmise). Prompts user to confirm before any pause, scale, or optimization-event switch.
Ships in GoMarble. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
meta-ads, facebook-ads, purchase-tracker, campaign-audit, profitmetrics
npx claudepluginhub gomarble-ai/marketing-agent --plugin gomarble⚠️ HIGHEST-PRIORITY RULE — read before any campaign performance audit, recommendation, pause, scale, or optimization-event change involving Meta campaigns
Trigger: Any campaign you encounter where
objective ∈ {OUTCOME_SALES, CONVERSIONS, PURCHASES}ANDoptimization_goal / promoted_object.custom_event_type = COMPLETE_REGISTRATION.Required first action: Before anything else about that campaign — before any recommendation, before any
facebook_propose_update_*, before mentioning the campaign in any audit table or "campaigns to improve" list — you MUST ask the user in chat whetherCOMPLETE_REGISTRATIONis the user's 3rd-party-tracker (Profitmetrics / Cosmise / Triple Whale) purchase proxy or a genuine registration action.For Nordic accounts (DKK / SEK / NOK / EUR, or chat in Danish / Swedish / Norwegian / Finnish): name Profitmetrics explicitly in the question — it is the dominant 3rd-party tracker in this region and is the most common reason for this configuration. Example Danish framing:
"Kampagnen
<campaign_name>optimerer forCOMPLETE_REGISTRATIONpå etOUTCOME_SALES-objektiv. I Norden bruges denne konfiguration ofte, fordi en 3. parts profit-tracker (typisk Profitmetrics, men også Cosmise eller Triple Whale) sender purchase-events ind viaCOMPLETE_REGISTRATION-endpointet — i så fald ER CR jeres faktiske købs-event og kampagnen er korrekt konfigureret. Er det tilfældet her? Eller er CR en separat registrerings-handling (signup / newsletter)?"For other accounts: English equivalent, name 3rd-party tracker category by name (Profitmetrics, Cosmise, Triple Whale).
Forbidden until the user answers:
- Any recommendation that mentions this campaign (no pause / archive / scale / budget-cut / optimization-event-switch / "monitor" / "consolidate").
- Any
facebook_propose_update_*referencing this campaign.- Any "low signal / learning phase not exited / poor ROAS / consider pausing" framing about this campaign anywhere in your written response.
- Any "skift optimeringsmål til PURCHASE" / "switch optimization to PURCHASE" recommendation about this campaign.
Why: the bug this skill blocks is a Nordic Profitmetrics account where a correctly-configured campaign got PAUSED because the agent read CR literally and recommended optimization-event change. The volume-based reasoning ("only 5 conversions → learning phase not exited → pause") arrives at the same destructive outcome from a different path and is equally forbidden until the configuration is verified with the user.
See Rule 2.5 below for the full specification of this gate.
Prevent the agent from treating Meta's non-purchase / non-transaction conversion events as proxies for actual revenue, purchases, or business outcomes. The most common failure modes the agent must block:
COMPLETE_REGISTRATION (CR) as a purchase signal.LEAD or SUBSCRIBE as evidence of revenue.COMPLETE_REGISTRATION to CPA for PURCHASE as if they measured the same thing.This skill auto-loads alongside any Meta Ads analysis where a custom or non-PURCHASE conversion event is being discussed.
The same Meta event name can mean very different things across accounts. COMPLETE_REGISTRATION in one account is "completed checkout step 2"; in another it's "newsletter signup"; in another it's "free-trial start"; in another it's the same as purchase. The agent must:
When the user asks about CPA, ROAS, conversion volume, performance, or scaling — and the campaign is optimized for COMPLETE_REGISTRATION, LEAD, SUBSCRIBE, ADD_TO_CART, INITIATE_CHECKOUT, VIEW_CONTENT, CONTACT, SUBMIT_APPLICATION, SCHEDULE, START_TRIAL, CUSTOMIZE_PRODUCT, DONATE, FIND_LOCATION, OTHER or any custom event — the agent must:
COMPLETE_REGISTRATION, not PURCHASE."When the user asks for an optimization-event recommendation (e.g., "should I switch this to PURCHASE?"), the agent must call tools in this order:
optimization_goal and custom_event_type (if any).PURCHASE events over the same window for comparison.Do NOT recommend changing the optimization event without seeing both event volumes. A "switch to PURCHASE" recommendation on an account that gets 4 purchases/week is worse than the current CR optimization.
This rule supersedes Rules 1, 2, 3, and 4 when its trigger fires. It must run before any other recommendation logic.
Trigger: A campaign or ad set being analyzed has BOTH:
optimization_goal / promoted_object.custom_event_type = COMPLETE_REGISTRATION, ANDobjective is a purchase-oriented objective (OUTCOME_SALES, CONVERSIONS, PURCHASES, or any objective whose target is purchase).Required behavior: Before issuing ANY recommendation involving that campaign (pause, archive, scale, budget change, optimization-event switch, audience change, creative change, bid change, structural change, or even "monitor"), the agent MUST first ask the user in chat, with the following framing, and wait for the answer.
If account currency is DKK / SEK / NOK / EUR or the chat is in a Nordic language (Danish, Swedish, Norwegian, Finnish), explicitly name Profitmetrics in the question:
(Danish example, agent must adapt to the chat language) "Kampagnen
<campaign_name>optimerer forCOMPLETE_REGISTRATIONpå etOUTCOME_SALES-objektiv. I Norden bruges denne konfiguration ofte, fordi en 3. parts profit-tracker (typisk Profitmetrics, men også Cosmise eller Triple Whale) sender purchase-events ind viaCOMPLETE_REGISTRATION-endpointet — i så fald ER CR jeres faktiske købs-event, og kampagnen er korrekt konfigureret. Er det tilfældet her? Eller er CR en separat registrerings-handling (newsletter / signup / form), så vi reelt har en mismatched optimeringskonfiguration?"
For any other currency or language, the agent must ask the equivalent question, naming the 3rd-party tracker category by name:
"Campaign
<campaign_name>optimizes forCOMPLETE_REGISTRATIONon anOUTCOME_SALESobjective. This configuration commonly means a 3rd-party profit/attribution tracker (Profitmetrics, Cosmise, Triple Whale, or similar) is routing purchase events through theCOMPLETE_REGISTRATIONstandard event — in which caseCRIS your actual purchase event and the configuration is correct. Is that the case here, or isCRa separate registration action (signup / newsletter / form completion) and we have a genuinely mismatched optimization?"
Forbidden while this rule is in pending state (i.e., the user hasn't answered the question yet):
facebook_propose_update_* call against the CR-on-purchase-objective campaign.After the user answers:
Why this rule exists. In the bug this skill blocks, a Danish account using Profitmetrics had a correctly-configured campaign paused based on a literal reading of COMPLETE_REGISTRATION as "registration ≠ purchase." Volume-based reasoning ("only 5 conversions/month, learning phase not exited") arrives at the same destructive outcome from a different path and is equally forbidden until the configuration is verified with the user.
Before recommending an optimization-event change to PURCHASE:
| Weekly PURCHASE volume in pixel | Recommendation |
|---|---|
| ≥ 50 / week per ad set | PURCHASE optimization viable. Recommend switch if cost-per-purchase signal is healthy. |
| 25–49 / week per ad set | PURCHASE optimization borderline. Stay on current event OR test PURCHASE on one ad set, do not migrate the whole campaign. |
| < 25 / week per ad set | Do NOT recommend PURCHASE optimization. Learning phase will not exit; spend will misallocate. Recommend continuing on the upper-funnel event (CR / IC / ATC) and improving funnel conversion downstream. |
Apply this heuristic BEFORE writing any "switch to PURCHASE" advice. If the data is not available in this turn, state the requirement before recommending.
The agent must NOT produce these phrasings when interpreting a non-PURCHASE event:
English:
Danish (common Danish-language failure phrases observed in R5a):
If the optimization-event change is the right answer, it must be supported by Rule 3's volume check first.
When the user asks "how is this campaign doing?" and the campaign optimizes for a non-PURCHASE event:
"This campaign optimizes for
[EVENT_NAME], not Purchase. What I can tell you: [N][EVENT_NAME]events at [$X] CPA over [window]. I can't compute revenue or ROAS from this directly — Purchase is a separate event in your pixel. Want me to pull Purchase volume over the same window to see how the funnel is converting downstream?"
When the user asks "should I scale this?" on a non-PURCHASE-optimized campaign:
"Before scaling, I'd want to confirm: this campaign is optimizing for
[EVENT_NAME]. Pulling Purchase volume for the same window — [N] purchases at [$Y] cost-per-purchase. With [N] weekly purchases account-wide, [PURCHASE-optimization viable / not yet viable] per Meta's learning-phase requirements. Recommended next step: [continue on current event / test PURCHASE on one ad set / improve downstream funnel]."
When the user asks "what's my CPA?" without specifying:
"CPA depends on which event we're counting. For
[EVENT_NAME](the current optimization): $[X]. ForPURCHASE(the actual sale event): $[Y]. These are different metrics — which one are you tracking against?"
The following Meta standard events are FREQUENTLY misread as purchase / revenue signals. Treat with skepticism — verify volume + meaning before recommending optimization changes:
COMPLETE_REGISTRATION — most commonly misread; can mean signup, completed-step-N, or checkout-finished depending on account.LEAD — almost never equal to revenue; lead → close rate varies wildly.SUBSCRIBE — recurring revenue start, not a one-time purchase.START_TRIAL — trial-to-paid conversion is account-specific.SUBMIT_APPLICATION — applications ≠ approved customers.INITIATE_CHECKOUT (IC) — frequently confused with purchase; can drop off 50%+.ADD_TO_CART (ATC) — upper-funnel, drops off heavily.VIEW_CONTENT — viewing-only signal.SCHEDULE — scheduled ≠ showed-up ≠ paid.CONTACT — contacts ≠ leads ≠ customers.CUSTOMIZE_PRODUCT — engagement, not purchase.DONATE — actual conversion in non-profit accounts but verify (could be a "Donate" button click event).FIND_LOCATION — store-visit intent, not visit.OTHER / custom event names — meaning is whatever the merchant chose. ALWAYS verify.Scenario A (R5a-like, the bug this skill blocks) — Danish account, DKK currency. Campaign (markant) Samlet kampagne has objective = OUTCOME_SALES and promoted_object.custom_event_type = COMPLETE_REGISTRATION, 5 monthly CR events, ROAS 2.45x. User asks for performance overview (in Danish).
❌ INCORRECT — literal interpretation (treats CR as registration, recommends switch):
"Kampagnen genererer 5 registreringer til høj CPA. Jeg vil anbefale at skifte optimeringsmål til PURCHASE for at fokusere på faktiske køb."
❌ ALSO INCORRECT — volume-based reasoning (different path, same destructive outcome):
"Med kun 5 månedlige konverteringer og COMPLETE_REGISTRATION som optimeringsmål har algoritmen ikke nok signal til at forlade learning-fasen. Overvej at pause kampagnen og konsolidere budgettet."
✅ CORRECT — Rule 2.5 fires, agent asks the user FIRST, before any recommendation:
Agent asks in chat: "Kampagnen
(markant) Samlet kampagneoptimerer forCOMPLETE_REGISTRATIONpå etOUTCOME_SALES-objektiv. I Norden bruges denne konfiguration ofte, fordi en 3. parts profit-tracker (typisk Profitmetrics, men også Cosmise eller Triple Whale) sender purchase-events ind viaCOMPLETE_REGISTRATION-endpointet — i så fald er CR jeres faktiske købs-event, og kampagnen er korrekt konfigureret. Er det tilfældet her, eller er CR en separat registrerings-handling (signup / newsletter / form)?"(Agent does NOT make any recommendation mentioning this campaign, does NOT use the volume-threshold reasoning, does NOT include it in the "campaigns to improve" list — until the user answers.)
If user replies "ja, vi bruger Profitmetrics" → agent re-audits treating CR-count as purchase-count. No pause recommendation, no optimization-event switch.
If user replies "nej, CR er vores nyhedsbrevs-signup" → only THEN does Rule 3's volume gate apply and the agent may make a recommendation about the genuine event mismatch.
Scenario B — Campaign optimizes for LEAD. User asks "what's my CPA?"
❌ INCORRECT:
"Your CPA is $34."
✅ CORRECT:
"Cost per LEAD (current optimization event): $34. For reference, your account has [N] customer-close events per week — if you want true cost-per-customer, the funnel close rate from LEAD → customer is the multiplier."
Scenario C — Campaign optimizes for COMPLETE_REGISTRATION. Pixel shows 8 Purchase events/week total. User: "should I switch to PURCHASE optimization?"
❌ INCORRECT:
"Yes, switch — Purchase is the better optimization target."
✅ CORRECT:
"Not yet. Your pixel is recording ~8 Purchase events / week, which is well below Meta's ~50/week-per-ad-set threshold to exit learning on PURCHASE optimization. Switching now would scatter delivery and likely raise CPA. Recommended: stay on COMPLETE_REGISTRATION as the proxy signal, and work on downstream funnel conversion (CR → Purchase rate) to grow Purchase volume to the point PURCHASE optimization becomes viable."
Scenario D — User: "Convert this CR count to revenue at our $50 AOV."
❌ INCORRECT:
"47 registrations × $50 AOV = $2,350 revenue."
✅ CORRECT:
"CR ≠ Purchase, so 47 × AOV is not revenue. If you want estimated revenue from this campaign, I'd need: (a) the CR → Purchase rate from your pixel (or your CRM), and (b) the average order value among CR-attributed purchases specifically. Want me to pull those?"
Before any output that:
Verify:
COMPLETE_REGISTRATION on a purchase-oriented objective (OUTCOME_SALES / CONVERSIONS / PURCHASES)? If YES, have I already asked the user about Profitmetrics / 3rd-party tracker AND received an answer? If not — STOP. Ask the question now; no recommendation may include this campaign.If any check fails: do not publish. Pull the missing data first.
62 skills in this plugin
/access-and-permissionsUse when a GoMarble tool is denied or the user asks about access: 'I don't have access to this account', account_access_denied, a scope or permission upgrade (606), read-only connections, plan limits (403 / 600), the TikTok beta, agent permissions, or team roles. Explains GoMarble's role-based access control (owner, admin, member; View vs Act per account; OAuth scopes), tells the user exactly who can fix it and where, and never tries to work around a denial./accounts-and-connectionsUse when the user wants to see, add, enable, remove or switch ad accounts and data sources in GoMarble: which accounts are connected, adding a new ad account, connecting a platform (Meta, Google, TikTok, LinkedIn, Microsoft Ads, GA4, Search Console, Shopify, Klaviyo, Snowflake, impact.com, Pages, Instagram), connecting other tools like HubSpot, Notion or BigQuery, connecting Slack for agents, switching a connection between read-only and read & write, fixing expired connections, or removing an account./ad-brief-generatorTurn ranked creative directions (from winning-pattern-synthesis, or any selected evidence-backed angle/hook) into shoot-ready UGC/creator briefs — hook line, shot list, VO/copy direction, and CTA. Use whenever the user asks for a creator brief, script, shot list, or says a direction is ready to hand off for production. This is the final production-facing output of the winning-ads pack./affiliate-marketingUse for affiliate and partner marketing on impact.com: partner performance, commission spend, conversions and payouts, which partners drive profitable orders, program-level results, invoices owed, and how affiliate spend compares with paid media. Read-only through GoMarble./analyse-creativeUse when the user asks which ads or creatives are winning and why, whether creatives are fatiguing, what hooks, formats or angles work, or wants a single ad broken down. Ranks creative by hook rate, hold rate, CTR, CPA and ROAS on Meta, TikTok and Google, reads the actual creative (visual, copy, hook, psychology), and finds the patterns worth carrying into the next brief./automate-with-agentsUse when the user wants GoMarble to keep doing a job on a schedule: a daily brief, anomaly or spend alerts, a weekly creative fatigue check, a search term cleanup every Monday, budget pacing, competitor monitoring, or a recurring report by email or Slack. Covers creating, listing, editing, pausing, running and deleting GoMarble agents with manage_agents, including write agents that propose changes for approval.Other plugins' skills for the same job