---
name: black-friday-tracking-check
description: Read-only check of a Prosper202 install before raising ad budgets for Black Friday or any big traffic weekend. Use when the user asks to check their Prosper202 tracking, run the Black Friday tracking check, or make sure tracking is ready before scaling spend. Works through the Prosper202 MCP tools or the p202 command line.
---

# Black Friday tracking check

Check that Prosper202 is counting every sale correctly before the user raises budgets. Report what you find. Change nothing.

## Ground rules

- Read only. Don't create, change, pause or delete anything, even if the key allows it. If something should change, say what and why, and stop.
- With the p202 command line, stage any proposal with `--staged` so it waits for the user's approval. Never apply it yourself.
- Count real clicks only. Pass `show=real` (`--show real` in the CLI) to every click and report call unless a step says otherwise. The default is all clicks, which includes filtered ones.
- Use the last 30 days unless the user gives another range.

## Which tools

- **MCP connection:** use the Prosper202 tools (whoami, report_breakdown, click_list, conversion_list, report_breakeven, report_losers, forecast). If a tool you need isn't listed, call get_more_tools with the task before saying it can't be done. A connector answer is capped at 60,000 characters, so to count clicks ask click_list for `limit: 1` and read `pagination.total` instead of listing them. On the hosted server, list tools don't take `all`, and campaign_list's `min_clicks` can't be combined with `limit`.
- **p202 command line:** run `p202 commands --json` to see the commands, and `p202 commands <command> --json` before using one, to get its exact flags. Flags are the kebab-case form of the MCP argument names (aff_campaign_id becomes `--aff-campaign-id`). Output is JSON when an agent runs it. Exit code 2 means the key was refused, 3 a network problem, 4 a server error, 5 partial results; say which and stop if a step can't run.

## Start

Run report_breakdown by campaign with `show=real`, sorted by clicks, to find the campaigns that had real traffic (campaign_list has no `show`, so its click counts include filtered clicks). Check the campaigns the user names, or the ones with spend or at least 100 real clicks, and group the rest into one line. Name campaigns by name, not id.

If there are no conversions at all in the range, say so first, as Fix before scaling when campaigns are getting traffic, because nothing is being recorded to scale on. Then run checks 1, 3, 4 and 8, and say that 2, 5, 6 and 7 need conversions to mean anything.

## The checks

1. **Access.** Run whoami and list the key's scopes. If it can write, say that a propose-only key is safer for this kind of work.
2. **Conversion matching.** List conversions and count them by match_method for each campaign. click_id is the good one. Flag any campaign where more than 1 in 10 matched by same_ip or unknown, and say which source (postback, pixel, API...) those came from. Weak matches usually mean the postback isn't passing the click id.
3. **Click ids.** Run report_breakdown by ppc_network with `show=real` to see whether any traffic comes from Google Ads or Microsoft Advertising. If none does, say so and move on. If it does, look at recent real clicks from that source and check they carry a gclid, gbraid, wbraid or msclkid. Flag any traffic source where most clicks have none.
4. **Filtered clicks.** Run report_breakdown by campaign twice, with `show=real` and `show=filtered`, and work out each campaign's filtered share. Flag any campaign where more than a quarter of clicks were filtered. For each flagged campaign, count its filtered clicks by filter_reason (sign_in_address, crawler_range, repeat_visit, filter_list, bot, not_recorded) with click_list, `limit: 1` and `pagination.total`, and name the rule that caught most of them. Repeat visits on a site with several tracked pages are often normal; say so rather than call them a problem.
5. **Refunds.** Look for conversions that reverse a sale (reverses_conv_id set) in the last 90 days. If there are none at all, say refund notifications may not be set up.
6. **Break-even.** For each campaign, get the break-even CPC by keyword, country and device type. List every row where the average CPC is above break-even, with both numbers.
7. **Losers.** Run the losers report for each campaign. List CUT rows and TEST rows separately. An empty report on a campaign with no spend means there's nothing to judge, not that everything is fine. TEST rows start sales even if they don't close them, so never suggest cutting one.
8. **Forecast.** Forecast clicks, revenue, cost and profit for the next 7 days at 80% confidence, and give the low and high ends. Forecast each metric on its own call; skip revenue, cost and profit when they're all zero.
   - Holiday events: with the CLI and a key that can read forecast events, turn events on, and if none are stored (`p202 forecast-event`), say so. Over the MCP connection an AI key can't read forecast events, so a call with events on fails. Run it without them and say the forecast doesn't know about the holiday.
   - Read `meta.anomalies_masked`. If a holiday or a recent spike was masked as an outlier, say so, because the forecast is then built as if it didn't happen.
   - Forecasts count all clicks, filtered ones included.

The thresholds (1 in 10, a quarter) are starting points. Use the user's own if they give them.

## Report

Keep it short. One line per check: OK, Look at this, or Fix before scaling, with the numbers behind it. Put anything marked Fix before scaling first.

End with the two things the user still has to do themselves, because you can't do them read only:

1. Back up, then update to the latest Prosper202 release. The upgrade only goes one way.
2. Send one test conversion through each campaign they're scaling, and check it lands on the right click and campaign.
