01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 tracker check02What you get
Captured from the real binary, run against a demo store with 30 days of traffic. Switch tabs to see the same run as JSON, the shape scripts and agents parse.
$ p202 tracker check status destination tracker_id ------ ------------------------------------------ ---------- 302 https://example.com/au/gift-cards 17 302 https://example.com/au/gift-cards 16 302 https://example.com/bakery/preorder 15 302 https://example.com/bakery/preorder 14 302 https://app.example.com/signup?plan=trial 13 302 https://app.example.com/signup?plan=trial 12 302 https://app.example.com/pricing/pro-annual 11 302 https://app.example.com/pricing/pro-annual 10 302 https://app.example.com/pricing/pro-annual 9 302 https://example.com/uk/desks/standing-desk 8 302 https://example.com/uk/desks/standing-desk 7 302 https://example.com/coffee/subscribe 6 302 https://example.com/coffee/subscribe 5 302 https://example.com/coffee/subscribe 4 302 https://example.com/shop/spring-collection 3 302 https://example.com/shop/spring-collection 2 302 https://example.com/shop/spring-collection 1
$ p202 tracker check --json { "data": [ { "destination": "https://example.com/au/gift-cards", "status": "302", "tracker_id": "17" }, { "destination": "https://example.com/au/gift-cards", "status": "302", "tracker_id": "16" }, { "destination": "https://example.com/bakery/preorder", "status": "302", "tracker_id": "15" }, { "destination": "https://example.com/bakery/preorder", "status": "302", "tracker_id": "14" }, { "destination": "https://app.example.com/signup?plan=trial", "status": "302", "tracker_id": "13" }, { "destination": "https://app.example.com/signup?plan=trial", "status": "302", "tracker_id": "12" }, { "destination": "https://app.example.com/pricing/pro-annual", "status": "302", "tracker_id": "11" }, { "destination": "https://app.example.com/pricing/pro-annual", "status": "302", "tracker_id": "10" }, { "destination": "https://app.example.com/pricing/pro-annual", "status": "302", "tracker_id": "9" }, { "destination": "https://example.com/uk/desks/standing-desk", "status": "302", "tracker_id": "8" }, { "destination": "https://example.com/uk/desks/standing-desk", "status": "302", "tracker_id": "7" }, { "destination": "https://example.com/coffee/subscribe", "status": "302", "tracker_id": "6" }, { "destination": "https://example.com/coffee/subscribe", "status": "302", "tracker_id": "5" }, { "destination": "https://example.com/coffee/subscribe", "status": "302", "tracker_id": "4" }, { "destination": "https://example.com/shop/spring-collection", "status": "302", "tracker_id": "3" }, { "destination": "https://example.com/shop/spring-collection", "status": "302", "tracker_id": "2" }, { "destination": "https://example.com/shop/spring-collection", "status": "302", "tracker_id": "1" } ] }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 tracker checkSet flags below; the command updates as you type.
04How it works
Exits non-zero if any checked tracker resolves to a blank Location or a non-3xx status.
05For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands tracker check --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 tracker check",
"use": "check [tracker_id]",
"short": "Resolve tracker links and flag blank/dropped destinations",
"long": "Exits non-zero if any checked tracker resolves to a blank Location or a non-3xx status.",
"runnable": true
}