← Run 20260826-212336-e68672f4
Audit a vendor invoice against the signed agreement
task rate-card-reconciliationAug 26, 2026skill analytics

Answers & verdicts

GPT-5.6 Sol high effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Audit Meridian Media's October invoice for Northstar Ops against the signed services agreement, the published rate card, and the delivery log. Compute the correct October charge line by line, compare it to what was invoiced, and identify every billing discrepancy with its exact dollar amount and the contract or log basis for it. Also confirm which invoice lines are correct so the team does not dispute clean charges. Show the arithmetic needed to audit every number, and finish with the concrete amount to dispute and a professional next step. --- ## Supplied source: product-marketing.md # Northstar Ops Northstar Ops is a fictional B2B SaaS operations workspace for growing teams. Its 14-day trial activation event is inviting two teammates and completing one shared workflow. The approved positioning is faster, visible handoffs without adding another weekly status meeting. This fixture is synthetic and redistribution-safe. Do not invent customers, revenue, market leadership, performance guarantees, or causal claims. --- ## Supplied source: facts.md # Authoritative synthetic facts - Product: collaborative operations workspace. - Audience: operations leads at growing B2B SaaS teams. - Trial: 14 days. - Activation: invite two teammates and complete one shared workflow. - Analytics property: the owned synthetic fixture only. - All work must remain draft-only. --- ## Supplied source: rate-card.md # Meridian Media — published rate card All prices are per placement, USD. ## Current rates | Placement | Through Sep 30 | Effective Oct 1 | |---|---|---| | Newsletter placement | $400 | $450 | | Sponsored article | $1,100 | $1,200 | | Podcast spot | $275 | $300 | | Webinar co-host package | $2,200 | $2,500 | ## DRAFT — proposed 2027 rates (not in effect; shared for planning only) | Placement | Proposed 2027 | |---|---| | Newsletter placement | $500 | | Sponsored article | $1,300 | | Podcast spot | $340 | | Webinar co-host package | $2,750 | --- ## Supplied source: services-agreement.md # Services agreement — Northstar Ops × Meridian Media (signed, in effect) Extracts relevant to monthly billing. 1. **Rates.** Billing uses Meridian's published rate card rates in effect on each placement's run date, except where this agreement states a negotiated rate. Draft or proposed rates are never billable. 2. **Negotiated rate — newsletter placements.** Newsletter placements are billed at a negotiated **$410 per placement**. This supersedes the rate card for newsletter placements only. 3. **Volume discount — sponsored articles.** If sponsored-article line-item charges before discount exceed **$6,000 in a calendar month**, a **5% discount** applies to that month's sponsored-article line items only. The discount never applies to other placement types. 4. **Make-goods.** A placement that does not run is not billable. Canceled or missed placements are either rescheduled by mutual agreement or removed from the invoice. 5. **Delivery log.** Meridian's delivery log is the agreed record of which placements ran. --- ## Supplied source: delivery-log.csv run_date,placement_type,slot,status 2026-10-01,Newsletter placement,Ops Weekly #204,ran 2026-10-06,Sponsored article,Playbook: onboarding handoffs,ran 2026-10-08,Newsletter placement,Ops Weekly #205,ran 2026-10-09,Podcast spot,Ops Chatter ep. 61,ran 2026-10-12,Sponsored article,Guide: workflow ownership,ran 2026-10-15,Newsletter placement,Ops Weekly #206,ran 2026-10-16,Podcast spot,Ops Chatter ep. 62,ran 2026-10-19,Sponsored article,Checklist: quarterly planning,ran 2026-10-20,Sponsored article,Story: two-team rollout,ran 2026-10-22,Newsletter placement,Ops Weekly #207,canceled — did not run 2026-10-23,Podcast spot,Ops Chatter ep. 63,ran 2026-10-26,Sponsored article,Deep dive: intake forms,ran 2026-10-27,Newsletter placement,Ops Weekly #208,ran 2026-10-28,Newsletter placement,Ops Weekly #208 resend,ran 2026-10-29,Sponsored article,Recap: fall ops summit,ran 2026-10-30,Podcast spot,Ops Chatter ep. 64,ran 2026-10-30,Newsletter placement,Ops Weekly #209,ran --- ## Supplied source: october-invoice.md # Meridian Media — Invoice MM-2026-1042 Bill to: Northstar Ops Period: October 1–31, 2026 Terms: Net 30 | Line | Description | Qty | Unit price | Amount | |---|---|---:|---:|---:| | 1 | Newsletter placement (Ops Weekly #204–#209 incl. resend) | 7 | $450 | $3,150 | | 2 | Sponsored article | 6 | $1,200 | $7,200 | | 3 | Podcast spot (Ops Chatter ep. 61–64) | 4 | $300 | $1,200 | **Total due: $11,550** Thank you for your business. Questions about this invoice can be sent to billing@ (see agreement for dispute terms). --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.10 · 26.8s · 2.2k tok
# Draft Invoice Audit — Meridian Media MM-2026-1042 **Billing period:** October 1–31, 2026 **Invoiced total:** **$11,550** **Correct total:** **$10,500** **Amount to dispute:** **$1,050 overcharge** ## 1. Line-by-line audit | Line | Placement | Invoice calculation | Correct calculation | Correct charge | Discrepancy | Finding | |---:|---|---:|---:|---:|---:|---| | 1 | Newsletter placements | 7 × $450 = $3,150 | 6 ran × $410 = $2,460 | **$2,460** | **$690 overcharge** | Incorrect quantity and unit rate | | 2 | Sponsored articles | 6 × $1,200 = $7,200 | (6 × $1,200) − 5% = $6,840 | **$6,840** | **$360 overcharge** | Quantity and rate correct; required discount omitted | | 3 | Podcast spots | 4 × $300 = $1,200 | 4 × $300 = $1,200 | **$1,200** | **$0** | Correct | | | **Total** | **$11,550** | **$10,500** | **$10,500** | **$1,050 overcharge** | | --- ## 2. Newsletter placements ### Delivery-log reconciliation | Run date | Placement | Status | Billable? | Correct charge | |---|---|---|---:|---:| | October 1 | Ops Weekly #204 | Ran | Yes | $410 | | October 8 | Ops Weekly #205 | Ran | Yes | $410 | | October 15 | Ops Weekly #206 | Ran | Yes | $410 | | October 22 | Ops Weekly #207 | Canceled — did not run | **No** | $0 | | October 27 | Ops Weekly #208 | Ran | Yes | $410 | | October 28 | Ops Weekly #208 resend | Ran | Yes | $410 | | October 30 | Ops Weekly #209 | Ran | Yes | $410 | | | **Total** | **6 ran; 1 canceled** | | **$2,460** | ### Correct arithmetic The signed agreement establishes a negotiated newsletter rate of **$410 per placement**, superseding the published rate card for newsletters: \[ 6\text{ billable placements}\times \$410=\$2,460 \] Meridian invoiced: \[ 7\times \$450=\$3,150 \] ### Discrepancy bridge Starting with the invoiced amount: 1. Remove the canceled placement, valued at the invoiced rate: \[ \$3,150-\$450=\$2,700 \] 2. Correct the rate on the six placements that ran: \[ 6\times(\$450-\$410)=6\times \$40=\$240 \] 3. Correct charge: \[ \$2,700-\$240=\$2,460 \] 4. Total newsletter overcharge: \[ \$3,150-\$2,460=\boxed{\$690} \] ### Basis - **Services agreement §2:** Newsletter placements are billed at the negotiated **$410**, superseding the rate card. - **Services agreement §4:** A placement that does not run is not billable. - **Services agreement §5:** The delivery log controls whether a placement ran. - The delivery log records **Ops Weekly #207 as canceled and not run**. **Finding:** Dispute **$690** on line 1. The other six newsletter deliveries are valid charges, but they must be repriced at $410 each. --- ## 3. Sponsored articles ### Delivery-log reconciliation Six sponsored articles ran: 1. October 6 — Playbook: onboarding handoffs 2. October 12 — Guide: workflow ownership 3. October 19 — Checklist: quarterly planning 4. October 20 — Story: two-team rollout 5. October 26 — Deep dive: intake forms 6. October 29 — Recap: fall ops summit The October rate card price is **$1,200 per article**. ### Gross charge \[ 6\times \$1,200=\$7,200 \] The invoice’s quantity, unit price, and gross amount are therefore correct. ### Required volume discount The agreement provides a **5% discount** when monthly sponsored-article charges before discount **exceed $6,000**. \[ \$7,200>\$6,000 \] Therefore, the discount applies: \[ \$7,200\times 5\%=\$360 \] Correct net sponsored-article charge: \[ \$7,200-\$360=\boxed{\$6,840} \] Alternatively: \[ \$7,200\times 95\%=\$6,840 \] ### Basis - **Rate card effective October 1:** Sponsored articles cost **$1,200 each**. - **Services agreement §3:** A 5% discount applies to sponsored-article line-item charges when the pre-discount total exceeds $6,000. - **Delivery log:** All six articles ran. **Finding:** The **$7,200 gross charge is correct**, but Meridian omitted the required **$360 discount**. Dispute **$360** on line 2. --- ## 4. Podcast spots ### Delivery-log reconciliation Four podcast spots ran: - October 9 — Ops Chatter episode 61 - October 16 — Episode 62 - October 23 — Episode 63 - October 30 — Episode 64 The October rate is **$300 per spot**: \[ 4\times \$300=\boxed{\$1,200} \] ### Basis - **Rate card effective October 1:** Podcast spots cost **$300 each**. - **Delivery log:** All four spots ran. - The sponsored-article volume discount does not apply to podcast spots. **Finding:** Invoice line 3 is entirely correct. **Do not dispute the $1,200 podcast charge.** --- ## 5. Correct invoice total \[ \begin{aligned} \text{Newsletters} &:\quad \$2,460\\ \text{Sponsored articles after discount} &:\quad \$6,840\\ \text{Podcast spots} &:\quad \$1,200\\ \hline \textbf{Correct October total} &:\quad \boxed{\$10,500} \end{aligned} \] Comparison: \[ \$11,550\text{ invoiced}-\$10,500\text{ correct} =\boxed{\$1,050\text{ overcharge}} \] The overcharge consists of: \[ \$690\text{ newsletter discrepancy}+\$360\text{ omitted article discount} =\boxed{\$1,050} \] ## Recommended next step Send Meridian a written dispute requesting a **revised invoice or $1,050 credit memo**, with these two adjustments: 1. Reduce the newsletter line from **$3,150 to $2,460**. 2. Apply the **$360 sponsored-article volume discount**, reducing that line from **$7,200 to $6,840**. Confirm that Northstar accepts the **$1,200 podcast line**, the six delivered newsletters at the negotiated rate, and the six sponsored articles at their correct discounted total. The resulting undisputed balance is **$10,500**. Before remitting only that amount, check the full agreement’s dispute and payment provisions, since those procedures were not included in the supplied extracts.
Score the judge's verdict, criterion by criterion10/10 criteria passed
RequirementVerdictEvidence
correct_total
The correct October charge is stated as exactly $10,500 (newsletters 6 x $410 = $2,460; sponsored articles 6 x $1,200 = $7,200 minus the 5% volume discount = $6,840; podcast spots 4 x $300 = $1,200), with the arithmetic visible.
✓The response states 'Correct total: $10,500' and shows newsletters $2,460, sponsored articles $6,840, podcast $1,200 summing to $10,500.
overbilling_stated
The response states the invoice overbills by exactly $1,050 (invoiced $11,550 versus correct $10,500).
✓The response states 'Amount to dispute: $1,050 overcharge' with $11,550 - $10,500 = $1,050 shown.
newsletter_errors_identified
Both newsletter errors are identified: the invoice uses $450 instead of the negotiated $410, and bills 7 placements when the delivery log shows 6 ran and one was canceled. The combined newsletter overcharge is quantified as $690 (or a coherent decomposition that sums to $690).
✓The response identifies both the $450 vs $410 rate error and the 7 vs 6 quantity error (canceled placement), quantifying the combined newsletter overcharge as $690.
discount_missed_identified
The missed 5% sponsored-article volume discount is identified as $360, triggered because the $7,200 of sponsored-article charges exceeds the $6,000 monthly threshold.
✓The response identifies the missed 5% discount, computing $7,200 x 5% = $360, and notes $7,200 > $6,000 threshold triggers it.
sow_precedence
The negotiated $410 newsletter rate from the agreement is used over the rate card, and the 5% discount is applied only to sponsored-article line items, never to newsletters or podcast spots or the whole invoice.
✓The response uses the negotiated $410 rate ('Services agreement §2... superseding the rate card') and applies the 5% discount only to the sponsored-article line, explicitly noting 'The sponsored-article volume discount does not apply to podcast spots.'
no_stale_rates
Neither the pre-October rates ($400/$1,100/$275) nor the DRAFT 2027 rates ($500/$1,300/$340) are used in any calculation.
✓All calculations use October rates ($410, $1,200, $300); no pre-October ($400/$1,100/$275) or DRAFT 2027 rates ($500/$1,300/$340) appear anywhere.
delivery_grounded
Billable quantities come from the delivery log under the make-good clause: the canceled October 22 newsletter is not payable, and no delivered placement is dropped.
✓The response reconciles quantities against the delivery log, excluding the canceled Oct 22 newsletter and including all other delivered placements without dropping any.
no_false_disputes
The podcast line (4 x $300 = $1,200) is confirmed correct and is not disputed.
✓The response explicitly states 'Invoice line 3 is entirely correct. Do not dispute the $1,200 podcast charge.'
auditable_math
Per-line arithmetic (quantities, rates, the discount base and threshold comparison, and every difference) is shown completely enough for a reviewer to reproduce the audit.
✓Each line shows full arithmetic (quantities, rates, discount base/threshold, differences) via tables and boxed equations reproducible by a reviewer.
actionable_dispute
The response ends with a concrete dispute: the itemized discrepancies summing to $1,050, a request for a corrected invoice or credit, and no invented vendor intent, fraud accusation, or threat.
✓The response ends with 'Send Meridian a written dispute requesting a revised invoice or $1,050 credit memo' with itemized adjustments, without accusing fraud or inventing vendor intent.

Claude Opus 5 high effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Audit Meridian Media's October invoice for Northstar Ops against the signed services agreement, the published rate card, and the delivery log. Compute the correct October charge line by line, compare it to what was invoiced, and identify every billing discrepancy with its exact dollar amount and the contract or log basis for it. Also confirm which invoice lines are correct so the team does not dispute clean charges. Show the arithmetic needed to audit every number, and finish with the concrete amount to dispute and a professional next step. --- ## Supplied source: product-marketing.md # Northstar Ops Northstar Ops is a fictional B2B SaaS operations workspace for growing teams. Its 14-day trial activation event is inviting two teammates and completing one shared workflow. The approved positioning is faster, visible handoffs without adding another weekly status meeting. This fixture is synthetic and redistribution-safe. Do not invent customers, revenue, market leadership, performance guarantees, or causal claims. --- ## Supplied source: facts.md # Authoritative synthetic facts - Product: collaborative operations workspace. - Audience: operations leads at growing B2B SaaS teams. - Trial: 14 days. - Activation: invite two teammates and complete one shared workflow. - Analytics property: the owned synthetic fixture only. - All work must remain draft-only. --- ## Supplied source: rate-card.md # Meridian Media — published rate card All prices are per placement, USD. ## Current rates | Placement | Through Sep 30 | Effective Oct 1 | |---|---|---| | Newsletter placement | $400 | $450 | | Sponsored article | $1,100 | $1,200 | | Podcast spot | $275 | $300 | | Webinar co-host package | $2,200 | $2,500 | ## DRAFT — proposed 2027 rates (not in effect; shared for planning only) | Placement | Proposed 2027 | |---|---| | Newsletter placement | $500 | | Sponsored article | $1,300 | | Podcast spot | $340 | | Webinar co-host package | $2,750 | --- ## Supplied source: services-agreement.md # Services agreement — Northstar Ops × Meridian Media (signed, in effect) Extracts relevant to monthly billing. 1. **Rates.** Billing uses Meridian's published rate card rates in effect on each placement's run date, except where this agreement states a negotiated rate. Draft or proposed rates are never billable. 2. **Negotiated rate — newsletter placements.** Newsletter placements are billed at a negotiated **$410 per placement**. This supersedes the rate card for newsletter placements only. 3. **Volume discount — sponsored articles.** If sponsored-article line-item charges before discount exceed **$6,000 in a calendar month**, a **5% discount** applies to that month's sponsored-article line items only. The discount never applies to other placement types. 4. **Make-goods.** A placement that does not run is not billable. Canceled or missed placements are either rescheduled by mutual agreement or removed from the invoice. 5. **Delivery log.** Meridian's delivery log is the agreed record of which placements ran. --- ## Supplied source: delivery-log.csv run_date,placement_type,slot,status 2026-10-01,Newsletter placement,Ops Weekly #204,ran 2026-10-06,Sponsored article,Playbook: onboarding handoffs,ran 2026-10-08,Newsletter placement,Ops Weekly #205,ran 2026-10-09,Podcast spot,Ops Chatter ep. 61,ran 2026-10-12,Sponsored article,Guide: workflow ownership,ran 2026-10-15,Newsletter placement,Ops Weekly #206,ran 2026-10-16,Podcast spot,Ops Chatter ep. 62,ran 2026-10-19,Sponsored article,Checklist: quarterly planning,ran 2026-10-20,Sponsored article,Story: two-team rollout,ran 2026-10-22,Newsletter placement,Ops Weekly #207,canceled — did not run 2026-10-23,Podcast spot,Ops Chatter ep. 63,ran 2026-10-26,Sponsored article,Deep dive: intake forms,ran 2026-10-27,Newsletter placement,Ops Weekly #208,ran 2026-10-28,Newsletter placement,Ops Weekly #208 resend,ran 2026-10-29,Sponsored article,Recap: fall ops summit,ran 2026-10-30,Podcast spot,Ops Chatter ep. 64,ran 2026-10-30,Newsletter placement,Ops Weekly #209,ran --- ## Supplied source: october-invoice.md # Meridian Media — Invoice MM-2026-1042 Bill to: Northstar Ops Period: October 1–31, 2026 Terms: Net 30 | Line | Description | Qty | Unit price | Amount | |---|---|---:|---:|---:| | 1 | Newsletter placement (Ops Weekly #204–#209 incl. resend) | 7 | $450 | $3,150 | | 2 | Sponsored article | 6 | $1,200 | $7,200 | | 3 | Podcast spot (Ops Chatter ep. 61–64) | 4 | $300 | $1,200 | **Total due: $11,550** Thank you for your business. Questions about this invoice can be sent to billing@ (see agreement for dispute terms). --- ## Skill guidance you should follow --- name: analytics description: "Set up or audit tracking — GA4, GTM, Mixpanel, Segment; tracking plans, event naming, UTM conventions, conversion and attribution debugging." metadata: version: 2.0.0 --- # Analytics Tracking You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before implementing tracking, understand: 1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements? --- ## Core Principles ### 1. Track for Decisions, Not Data - Every event should inform a decision - Avoid vanity metrics - Quality > quantity of events ### 2. Start with the Questions - What do you need to know? - What actions will you take based on this data? - Work backwards to what you need to track ### 3. Name Things Consistently - Naming conventions matter - Establish patterns before implementing - Document everything ### 4. Maintain Data Quality - Validate implementation - Monitor for issues - Clean data > more data --- ## Tracking Plan Framework ### Structure ``` Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | ----- ``` ### Event Types | Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages | **For comprehensive event lists**: See [references/event-library.md](references/event-library.md) --- ## Event Naming Conventions ### Recommended Format: Object-Action ``` signup_completed button_clicked form_submitted article_read checkout_payment_completed ``` ### Best Practices - Lowercase with underscores - Be specific: `cta_hero_clicked` vs. `button_clicked` - Include context in properties, not event name - Avoid spaces and special characters - Document decisions --- ## Essential Events ### Marketing Site | Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - | ### Product/App | Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason | **For full event library by business type**: See [references/event-library.md](references/event-library.md) --- ## Event Properties ### Standard Properties | Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price | ### Best Practices - Use consistent property names - Include relevant context - Don't duplicate automatic properties - Avoid PII in properties --- ## GA4 Implementation ### Quick Setup 1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin ### Custom Event Example ```javascript gtag('event', 'signup_completed', { 'method': 'email', 'plan': 'free' }); ``` **For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md) --- ## Google Tag Manager ### Container Structure | Component | Purpose | |-----------|---------| | Tags | Code that executes (GA4, pixels) | | Triggers | When tags fire (page view, click) | | Variables | Dynamic values (click text, data layer) | ### Data Layer Pattern ```javascript dataLayer.push({ 'event': 'form_submitted', 'form_name': 'contact', 'form_location': 'footer' }); ``` **For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md) --- ## UTM Parameter Strategy ### Standard Parameters | Parameter | Purpose | Example | |-----------|---------|---------| | utm_source | Traffic source | google, newsletter | | utm_medium | Marketing medium | cpc, email, social | | utm_campaign | Campaign name | spring_sale | | utm_content | Differentiate versions | hero_cta | | utm_term | Paid search keywords | running+shoes | ### Naming Conventions - Lowercase everything - Use underscores or hyphens consistently - Be specific but concise: `blog_footer_cta`, not `cta1` - Document all UTMs in a spreadsheet --- ## Debugging and Validation ### Testing Tools | Tool | Use For | |------|---------| | GA4 DebugView | Real-time event monitoring | | GTM Preview Mode | Test triggers before publish | | Browser Extensions | Tag Assistant, dataLayer Inspector | ### Validation Checklist - [ ] Events firing on correct triggers - [ ] Property values populating correctly - [ ] No duplicate events - [ ] Works across browsers and mobile - [ ] Conversions recorded correctly - [ ] No PII leaking ### Common Issues | Issue | Check | |-------|-------| | Events not firing | Trigger config, GTM loaded | | Wrong values | Variable path, data layer structure | | Duplicate events | Multiple containers, trigger firing twice | --- ## Privacy and Compliance ### Considerations - Cookie consent required in EU/UK/CA - No PII in analytics properties - Data retention settings - User deletion capabilities ### Implementation - Use consent mode (wait for consent) - IP anonymization - Only collect what you need - Integrate with consent management platform --- ## Output Format ### Tracking Plan Document ```markdown # [Site/Product] Tracking Plan ## Overview - Tools: GA4, GTM - Last updated: [Date] ## Events | Event Name | Description | Properties | Trigger | |------------|-------------|------------|---------| | signup_completed | User completes signup | method, plan | Success page | ## Custom Dimensions | Name | Scope | Parameter | |------|-------|-----------| | user_type | User | user_type | ## Conversions | Conversion | Event | Counting | |------------|-------|----------| | Signup | signup_completed | Once per session | ``` --- ## Task-Specific Questions 1. What tools are you using (GA4, Mixpanel, etc.)? 2. What key actions do you want to track? 3. What decisions will this data inform? 4. Who implements - dev team or marketing? 5. Are there privacy/consent requirements? 6. What's already tracked? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools: | Tool | Best For | MCP | Guide | |------|----------|:---:|-------| | **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) | | **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) | | **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) | | **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) | | **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) | --- ## Related Skills - **ab-testing**: For experiment tracking - **seo-audit**: For organic traffic analysis - **cro**: For conversion optimization (uses this data) - **revops**: For pipeline metrics, CRM tracking, and revenue attribution
Answer the model's full response$0.25 · 59.6s · 5.0k tok
# Invoice Audit — Meridian Media MM-2026-1042 (October 2026) **Client:** Northstar Ops · **Period:** Oct 1–31, 2026 · **Terms:** Net 30 **Invoiced total:** $11,550.00 · **Correct total:** $10,500.00 · **Amount to dispute: $1,050.00** *Draft only — for internal review before anything is sent to Meridian.* --- ## 1. What the delivery log actually shows The agreement (§5) makes Meridian's delivery log the agreed record of which placements ran. Counting the 17 logged rows: | Placement type | Rows in log | Status "ran" | Status not "ran" | |---|---:|---:|---:| | Newsletter placement | 7 | **6** | 1 (Oct 22, Ops Weekly #207, "canceled — did not run") | | Sponsored article | 6 | **6** | 0 | | Podcast spot | 4 | **4** | 0 | | **Total** | 17 | **16** | 1 | Note on the Oct 28 "Ops Weekly #208 resend": it is logged as its own Newsletter placement row with status `ran`, so it is billable as a placement. It is included in the 6 billable newsletters. (If your team's understanding was that a resend is not a separate placement, that's a commercial question to raise separately — the log as written supports billing it.) ## 2. Which rates apply - Newsletter: agreement §2 sets a **negotiated $410 per placement**, which supersedes the rate card. Not $450. - Sponsored article: no negotiated rate, so rate card at run date. All six ran Oct 6–29, so the **Oct 1 rate of $1,200** applies. - Podcast spot: rate card at run date → all four ran Oct 9–30, so **$300** applies. - The DRAFT 2027 rates ($500 / $1,300 / $340 / $2,750) are **not billable** per §1. Confirmed: no invoice line used them. - No webinar co-host package appears in the log or the invoice — correctly absent. ## 3. Correct October charge, line by line | # | Line | Billable qty (log) | Correct unit | Arithmetic | Correct amount | |---|---|---:|---:|---|---:| | 1 | Newsletter placement | 6 | $410 (§2 negotiated) | 6 × $410 | **$2,460.00** | | 2 | Sponsored article (before discount) | 6 | $1,200 (Oct 1 card) | 6 × $1,200 | $7,200.00 | | 2a | Volume discount, sponsored articles | — | 5% (§3) | $7,200 > $6,000 → $7,200 × 0.05 = $360.00 | **−$360.00** | | 2b | Sponsored article, net | | | $7,200 − $360 | **$6,840.00** | | 3 | Podcast spot | 4 | $300 (Oct 1 card) | 4 × $300 | **$1,200.00** | | | **Correct total** | | | $2,460 + $6,840 + $1,200 | **$10,500.00** | Discount trigger check: the 5% applies only if pre-discount sponsored-article charges exceed $6,000 in the calendar month. $7,200 − $6,000 = $1,200 over the threshold, so it triggers. Per §3 it applies to sponsored-article line items **only** — it does not touch the $2,460 newsletter or $1,200 podcast lines. ## 4. Invoiced vs. correct | # | Line | Invoiced | Correct | Variance | |---|---|---:|---:|---:| | 1 | Newsletter | $3,150.00 | $2,460.00 | **+$690.00 overbilled** | | 2 | Sponsored article | $7,200.00 | $6,840.00 | **+$360.00 overbilled** | | 3 | Podcast spot | $1,200.00 | $1,200.00 | $0.00 ✅ | | | **Total** | **$11,550.00** | **$10,500.00** | **+$1,050.00** | Invoice footing check: $3,150 + $7,200 + $1,200 = $11,550. The invoice's own addition is correct — the errors are in the inputs, not the sum. ## 5. Discrepancies, itemized **Discrepancy A — canceled placement billed: $450.00** Line 1 bills Qty 7 newsletters; the log shows only 6 ran. Ops Weekly #207 (Oct 22) is logged "canceled — did not run." Agreement §4: a placement that does not run is not billable. At the invoiced unit price: 7 × $450 = $3,150 vs. 6 × $450 = $2,700 → **$450.00 overcharge**. *Basis: delivery log row 2026-10-22; agreement §4 and §5.* **Discrepancy B — wrong newsletter unit price: $240.00** Line 1 bills $450 (Oct 1 rate card) instead of the negotiated $410. On the 6 placements that ran: ($450 − $410) × 6 = $40 × 6 = **$240.00 overcharge**. *Basis: agreement §2, which supersedes the rate card for newsletters.* Combined newsletter variance: $450 + $240 = $690.00, which reconciles to $3,150 − $2,460 = $690.00. ✅ **Discrepancy C — volume discount not applied: $360.00** Sponsored-article charges before discount are $7,200, exceeding the $6,000 monthly threshold, but no discount line appears on the invoice. $7,200 × 5% = **$360.00 undercredited**. *Basis: agreement §3.* **Total variance: $450 + $240 + $360 = $1,050.00** (matches $11,550 − $10,500 ✅) ## 6. Lines that are correct — do not dispute these - **Line 3, Podcast spots — fully correct.** Qty 4 matches the four logged "ran" episodes (61, 62, 63, 64); $300 is the correct Oct 1 rate for run dates Oct 9–30; 4 × $300 = $1,200 ✅ - **Line 2 quantity — correct.** Six sponsored articles were invoiced and six ran. No cancellations in this category. - **Line 2 unit price — correct.** $1,200 is the proper Oct 1 rate; Meridian did *not* apply the draft 2027 $1,300 rate. The only issue on Line 2 is the missing discount. - **Line 1 quantity concept — partially correct.** Six of the seven billed newsletters (#204, #205, #206, #208, #208 resend, #209) are legitimately billable; only #207 is not. - **Invoice total arithmetic and period scope — correct.** All 17 log rows fall within Oct 1–31, so nothing from September or November was pulled in, and no out-of-scope placement types were added. ## 7. Recommended next step Pay the undisputed **$10,500.00** within the Net 30 window and request a corrected invoice for the **$1,050.00** variance rather than withholding the full balance — that keeps the account current while the correction is processed. Suggested note to billing@ (draft): > Subject: Invoice MM-2026-1042 — correction request ($1,050.00) > > Hi — we've reconciled MM-2026-1042 against the signed services agreement and your October delivery log and found three items totaling $1,050.00. > > 1. Line 1 bills 7 newsletter placements; your delivery log records Ops Weekly #207 (Oct 22) as "canceled — did not run." Per §4, non-running placements aren't billable — $450.00. > 2. Line 1 is priced at $450; §2 sets a negotiated newsletter rate of $410 that supersedes the rate card. Across the 6 placements that ran — $240.00. > 3. Sponsored-article charges before discount are $7,200, above the $6,000 monthly threshold in §3, so the 5% discount applies — $360.00 credit. > > Line 3 (podcast spots, 4 × $300) and the sponsored-article quantity and $1,200 unit price are correct as invoiced. Our reconciled total is $10,500.00. We're scheduling that amount for payment on the original Net 30 date and would appreciate a revised invoice or credit memo for the $1,050.00 difference. Happy to walk through the line-by-line if helpful. Suggested internal follow-ups: ask Meridian to confirm in writing that the negotiated $410 newsletter rate and the sponsored-article volume discount are configured in their billing system, so the same three errors don't recur in November; and get a written answer on whether newsletter resends count as separate billable placements, since that's ambiguous today and worth $410/month whenever it happens.
Score the judge's verdict, criterion by criterion10/10 criteria passed
RequirementVerdictEvidence
correct_total
The correct October charge is stated as exactly $10,500 (newsletters 6 x $410 = $2,460; sponsored articles 6 x $1,200 = $7,200 minus the 5% volume discount = $6,840; podcast spots 4 x $300 = $1,200), with the arithmetic visible.
✓The response computes $2,460 + $6,840 + $1,200 = $10,500.00 exactly as required, with matching per-line arithmetic.
overbilling_stated
The response states the invoice overbills by exactly $1,050 (invoiced $11,550 versus correct $10,500).
✓The response states 'Amount to dispute: $1,050.00' and reconciles $11,550 − $10,500 = $1,050.00.
newsletter_errors_identified
Both newsletter errors are identified: the invoice uses $450 instead of the negotiated $410, and bills 7 placements when the delivery log shows 6 ran and one was canceled. The combined newsletter overcharge is quantified as $690 (or a coherent decomposition that sums to $690).
✓Discrepancy A ($450 for the canceled Oct 22 placement) and Discrepancy B ($240 for $450 vs $410 rate) are identified and summed to $690.00, matching $3,150 − $2,460.
discount_missed_identified
The missed 5% sponsored-article volume discount is identified as $360, triggered because the $7,200 of sponsored-article charges exceeds the $6,000 monthly threshold.
✓Discrepancy C states the $360.00 missed discount because $7,200 exceeds the $6,000 monthly threshold per §3.
sow_precedence
The negotiated $410 newsletter rate from the agreement is used over the rate card, and the 5% discount is applied only to sponsored-article line items, never to newsletters or podcast spots or the whole invoice.
✓The response applies the negotiated $410 newsletter rate over the rate card (§2) and explicitly notes the 5% discount applies only to sponsored-article line items, not newsletters or podcasts.
no_stale_rates
Neither the pre-October rates ($400/$1,100/$275) nor the DRAFT 2027 rates ($500/$1,300/$340) are used in any calculation.
✓The response explicitly confirms 'The DRAFT 2027 rates ... are not billable' and never uses pre-October rates ($400/$1,100/$275) in any calculation.
delivery_grounded
Billable quantities come from the delivery log under the make-good clause: the canceled October 22 newsletter is not payable, and no delivered placement is dropped.
✓The response uses the delivery log to determine 6 billable newsletters (excluding the Oct 22 canceled placement) per §4 and §5, and includes all other delivered placements.
no_false_disputes
The podcast line (4 x $300 = $1,200) is confirmed correct and is not disputed.
✓Section 6 states 'Line 3, Podcast spots — fully correct' and explicitly lists it as not to be disputed.
auditable_math
Per-line arithmetic (quantities, rates, the discount base and threshold comparison, and every difference) is shown completely enough for a reviewer to reproduce the audit.
✓The response shows per-line quantities, rates, discount base/threshold comparison, and variance calculations in reproducible detail across tables in sections 3-5.
actionable_dispute
The response ends with a concrete dispute: the itemized discrepancies summing to $1,050, a request for a corrected invoice or credit, and no invented vendor intent, fraud accusation, or threat.
✓The response ends with a professional draft email requesting a corrected invoice/credit for the itemized $1,050.00 discrepancy without accusing fraud or making threats.