/gomarble:ga4-source-of-truthfrom GoMarble
Provides authoritative GA4 query methodology for reporting to users. Covers conversions vs transactions, channel-subset-sum trap, intraday partial-data discipline, Paid Social aggregation rules, and API-vs-UI attribution mismatch.
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.
Outside the GoMarble app. This methodology is GoMarble's own, kept in sync with the GoMarble connector.
- GoMarble connector tools for this skill:
google_analytics_list_properties,google_analytics_run_report,google_analytics_get_traffic_sources,google_analytics_get_events,google_analytics_get_page_views,google_analytics_get_user_behavior,google_analytics_get_device_metrics,google_analytics_get_active_users.
Before any GA4-derived figure goes to the user:
transactions or eventName=purchase. Never the generic conversions aggregate.sessionDefaultChannelGroup. Summing paid-channel rows ≠ business total.attributionModel. API defaults to last-click; UI is often data-driven.conversions ≠ transactions| Field | Counts |
|---|---|
conversions | Every event marked as a conversion: add_to_cart, begin_checkout, sign_up, view_item, scroll, custom events, purchase. |
transactions (or eventName=purchase) | Actual purchase events. |
For revenue / orders / sales-count, use transactions. State the field used: "Using transactions (purchase events); conversions would include AddToCart / Sign-Up / etc."
sessionDefaultChannelGroup partitions revenue across: Direct, Organic Search, Organic Social, Email, Referral, Affiliates, SMS, Cross-network, Paid Search, Paid Social, Paid Shopping, Paid Video, Paid Other, Display, Audio, (Other), Unassigned. All contribute to total revenue.
Forbidden: "Total GA4 revenue: {X}" where {X} is a paid-channel subset · "Blended ROAS = spend / GA4 paid revenue" · "Critical Alert" headlines on a paid-subset denominator.
Paid Social ≠ MetaPaid Social aggregates Meta + TikTok + Snap + Pinterest + LinkedIn + X + Reddit.
To isolate Meta: sessionSource = "facebook.com" or sessionSourceMedium = "facebook / cpc" (or the merchant's actual Meta UTM pattern).
Never report Paid Social GA4 revenue as "Meta revenue" or "Facebook revenue".
realtime API ≠ standard reports. Don't substitute one for the other.If the date range includes today / last 24h: flag the period as partial. Never recommend pause / scale-down / archive on partial-day data alone.
API defaults to last-click. UI is often data-driven or paid-and-organic last-click. Numbers WILL differ when models differ — this is not a tracking bug.
When the user says "GA4 shows {X}, you're showing {Y}" and the gap is plausibly attribution-driven (small / medium %, all channels affected proportionally):
attributionModel parameter to match the UI.Total revenue MTD
❌ dimensions=[sessionDefaultChannelGroup] → sum (Paid Social + Paid Search + Cross-network) → report the partial sum as the total.
✅ Query 1: no dimensions → total {T}. Query 2: same date range with sessionDefaultChannelGroup → channel breakdown. Report both: "GA4 total revenue MTD: {T} (unfiltered). Channel breakdown: Direct {D}, Organic {O}, Paid Social {PS} (includes Meta + TikTok + Snap — for Meta only, query sessionSource='facebook.com'), Paid Search {PSe} ..."
User asks why GA4 conversions are much higher than the platform's purchase count
❌ "Tracking discrepancy. The platform pixel may be missing events; you should audit pixel firing."
✅ "conversions in GA4 counts every event configured as a conversion in your property — AddToCart, Sign-Up, Lead, Purchase. Re-querying with eventName='purchase' so we're comparing apples to apples with the platform's Purchase event." (then issues the query)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gomarble-ai/marketing-agent --plugin gomarble62 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.Other plugins' skills for the same job