01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 tracker bulk-urls02What 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 bulk-urls aff_campaign_id direct_url tracker_id tracker_id_public tracking_params --------------- ------------------------------------------ ---------- ----------------- ------------------------- 7 https://track.example.com/tracking202/redirec… 17 186800986 ?t202id=186800986&t202kw= 7 https://track.example.com/tracking202/redirec… 16 256735301 ?t202id=256735301&t202kw= 6 https://track.example.com/tracking202/redirec… 15 642934502 ?t202id=642934502&t202kw= 6 https://track.example.com/tracking202/redirec… 14 885956463 ?t202id=885956463&t202kw= 5 https://track.example.com/tracking202/redirec… 13 883090088 ?t202id=883090088&t202kw= 5 https://track.example.com/tracking202/redirec… 12 121145792 ?t202id=121145792&t202kw= 4 https://track.example.com/tracking202/redirec… 11 280241962 ?t202id=280241962&t202kw= 4 https://track.example.com/tracking202/redirec… 10 88250025 ?t202id=88250025&t202kw= 4 https://track.example.com/tracking202/redirec… 9 850037020 ?t202id=850037020&t202kw= 3 https://track.example.com/tracking202/redirec… 8 388878295 ?t202id=388878295&t202kw= 3 https://track.example.com/tracking202/redirec… 7 267619878 ?t202id=267619878&t202kw= 2 https://track.example.com/tracking202/redirec… 6 623059210 ?t202id=623059210&t202kw= 2 https://track.example.com/tracking202/redirec… 5 244906148 ?t202id=244906148&t202kw= 2 https://track.example.com/tracking202/redirec… 4 605286342 ?t202id=605286342&t202kw= 1 https://track.example.com/tracking202/redirec… 3 721048108 ?t202id=721048108&t202kw= 1 https://track.example.com/tracking202/redirec… 2 950355925 ?t202id=950355925&t202kw= 1 https://track.example.com/tracking202/redirec… 1 216455507 ?t202id=216455507&t202kw=
$ p202 tracker bulk-urls --json { "data": [ { "aff_campaign_id": 7, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=186800986\u0026t202kw=", "tracker_id": 17, "tracker_id_public": 186800986, "tracking_params": "?t202id=186800986\u0026t202kw=" }, { "aff_campaign_id": 7, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=256735301\u0026t202kw=", "tracker_id": 16, "tracker_id_public": 256735301, "tracking_params": "?t202id=256735301\u0026t202kw=" }, { "aff_campaign_id": 6, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=642934502\u0026t202kw=", "tracker_id": 15, "tracker_id_public": 642934502, "tracking_params": "?t202id=642934502\u0026t202kw=" }, { "aff_campaign_id": 6, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=885956463\u0026t202kw=", "tracker_id": 14, "tracker_id_public": 885956463, "tracking_params": "?t202id=885956463\u0026t202kw=" }, { "aff_campaign_id": 5, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=883090088\u0026t202kw=", "tracker_id": 13, "tracker_id_public": 883090088, "tracking_params": "?t202id=883090088\u0026t202kw=" }, { "aff_campaign_id": 5, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=121145792\u0026t202kw=", "tracker_id": 12, "tracker_id_public": 121145792, "tracking_params": "?t202id=121145792\u0026t202kw=" }, { "aff_campaign_id": 4, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=280241962\u0026t202kw=", "tracker_id": 11, "tracker_id_public": 280241962, "tracking_params": "?t202id=280241962\u0026t202kw=" }, { "aff_campaign_id": 4, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=88250025\u0026t202kw=", "tracker_id": 10, "tracker_id_public": 88250025, "tracking_params": "?t202id=88250025\u0026t202kw=" }, { "aff_campaign_id": 4, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=850037020\u0026t202kw=", "tracker_id": 9, "tracker_id_public": 850037020, "tracking_params": "?t202id=850037020\u0026t202kw=" }, { "aff_campaign_id": 3, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=388878295\u0026t202kw=", "tracker_id": 8, "tracker_id_public": 388878295, "tracking_params": "?t202id=388878295\u0026t202kw=" }, { "aff_campaign_id": 3, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=267619878\u0026t202kw=", "tracker_id": 7, "tracker_id_public": 267619878, "tracking_params": "?t202id=267619878\u0026t202kw=" }, { "aff_campaign_id": 2, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=623059210\u0026t202kw=", "tracker_id": 6, "tracker_id_public": 623059210, "tracking_params": "?t202id=623059210\u0026t202kw=" }, { "aff_campaign_id": 2, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=244906148\u0026t202kw=", "tracker_id": 5, "tracker_id_public": 244906148, "tracking_params": "?t202id=244906148\u0026t202kw=" }, { "aff_campaign_id": 2, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=605286342\u0026t202kw=", "tracker_id": 4, "tracker_id_public": 605286342, "tracking_params": "?t202id=605286342\u0026t202kw=" }, { "aff_campaign_id": 1, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=721048108\u0026t202kw=", "tracker_id": 3, "tracker_id_public": 721048108, "tracking_params": "?t202id=721048108\u0026t202kw=" }, { "aff_campaign_id": 1, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=950355925\u0026t202kw=", "tracker_id": 2, "tracker_id_public": 950355925, "tracking_params": "?t202id=950355925\u0026t202kw=" }, { "aff_campaign_id": 1, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=216455507\u0026t202kw=", "tracker_id": 1, "tracker_id_public": 216455507, "tracking_params": "?t202id=216455507\u0026t202kw=" } ] }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 tracker bulk-urlsSet flags below; the command updates as you type.
04Flags
18 flags, plus the global flags every command takes.
| Flag | What it does |
|---|---|
| --aff-campaign-idstring | Filter by campaign ID |
| --c1string | Value for c1 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --c2string | Value for c2 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --c3string | Value for c3 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --c4string | Value for c4 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --concurrencyint · default 5 | Number of concurrent URL fetches |
| --landing-page-idstring | Filter by landing page ID |
| --limit, -lstring | Max results |
| --offset, -ostring | Pagination offset |
| --ppc-account-idstring | Filter by PPC account ID |
| --t202bstring | Value for t202b in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --t202kwstring | Value for t202kw in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --t202refstring | Value for t202ref in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --utm-campaignstring | Value for utm_campaign in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --utm-contentstring | Value for utm_content in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --utm-mediumstring | Value for utm_medium in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --utm-sourcestring | Value for utm_source in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
| --utm-termstring | Value for utm_term in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable |
05For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands tracker bulk-urls --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 bulk-urls",
"use": "bulk-urls",
"short": "Fetch tracking URLs for multiple trackers",
"runnable": true,
"flags": [
{
"name": "aff-campaign-id",
"type": "string",
"default": "",
"usage": "Filter by campaign ID",
"required": false
},
{
"name": "c1",
"type": "string",
"default": "",
"usage": "Value for c1 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "c2",
"type": "string",
"default": "",
"usage": "Value for c2 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "c3",
"type": "string",
"default": "",
"usage": "Value for c3 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "c4",
"type": "string",
"default": "",
"usage": "Value for c4 in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "concurrency",
"type": "int",
"default": "5",
"usage": "Number of concurrent URL fetches",
"required": false
},
{
"name": "landing-page-id",
"type": "string",
"default": "",
"usage": "Filter by landing page ID",
"required": false
},
{
"name": "limit",
"shorthand": "l",
"type": "string",
"default": "",
"usage": "Max results",
"required": false
},
{
"name": "offset",
"shorthand": "o",
"type": "string",
"default": "",
"usage": "Pagination offset",
"required": false
},
{
"name": "ppc-account-id",
"type": "string",
"default": "",
"usage": "Filter by PPC account ID",
"required": false
},
{
"name": "t202b",
"type": "string",
"default": "",
"usage": "Value for t202b in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "t202kw",
"type": "string",
"default": "",
"usage": "Value for t202kw in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "t202ref",
"type": "string",
"default": "",
"usage": "Value for t202ref in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "utm-campaign",
"type": "string",
"default": "",
"usage": "Value for utm_campaign in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "utm-content",
"type": "string",
"default": "",
"usage": "Value for utm_content in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "utm-medium",
"type": "string",
"default": "",
"usage": "Value for utm_medium in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "utm-source",
"type": "string",
"default": "",
"usage": "Value for utm_source in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
},
{
"name": "utm-term",
"type": "string",
"default": "",
"usage": "Value for utm_term in the link, as given (e.g. your traffic source's macro); default: the traffic source's own variable",
"required": false
}
]
}