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 164272625 ?t202id=164272625&t202kw= 7 https://track.example.com/tracking202/redirec… 16 977472043 ?t202id=977472043&t202kw= 6 https://track.example.com/tracking202/redirec… 15 316509108 ?t202id=316509108&t202kw= 6 https://track.example.com/tracking202/redirec… 14 975957852 ?t202id=975957852&t202kw= 5 https://track.example.com/tracking202/redirec… 13 987532671 ?t202id=987532671&t202kw= 5 https://track.example.com/tracking202/redirec… 12 67532231 ?t202id=67532231&t202kw= 4 https://track.example.com/tracking202/redirec… 11 41790567 ?t202id=41790567&t202kw= 4 https://track.example.com/tracking202/redirec… 10 696546218 ?t202id=696546218&t202kw= 4 https://track.example.com/tracking202/redirec… 9 556134205 ?t202id=556134205&t202kw= 3 https://track.example.com/tracking202/redirec… 8 932386100 ?t202id=932386100&t202kw= 3 https://track.example.com/tracking202/redirec… 7 521835365 ?t202id=521835365&t202kw= 2 https://track.example.com/tracking202/redirec… 6 615053373 ?t202id=615053373&t202kw= 2 https://track.example.com/tracking202/redirec… 5 185316404 ?t202id=185316404&t202kw= 2 https://track.example.com/tracking202/redirec… 4 153609338 ?t202id=153609338&t202kw= 1 https://track.example.com/tracking202/redirec… 3 223444901 ?t202id=223444901&t202kw= 1 https://track.example.com/tracking202/redirec… 2 719630684 ?t202id=719630684&t202kw= 1 https://track.example.com/tracking202/redirec… 1 177036074 ?t202id=177036074&t202kw=
$ p202 tracker bulk-urls --json { "data": [ { "aff_campaign_id": 7, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=164272625\u0026t202kw=", "tracker_id": 17, "tracker_id_public": 164272625, "tracking_params": "?t202id=164272625\u0026t202kw=" }, { "aff_campaign_id": 7, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=977472043\u0026t202kw=", "tracker_id": 16, "tracker_id_public": 977472043, "tracking_params": "?t202id=977472043\u0026t202kw=" }, { "aff_campaign_id": 6, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=316509108\u0026t202kw=", "tracker_id": 15, "tracker_id_public": 316509108, "tracking_params": "?t202id=316509108\u0026t202kw=" }, { "aff_campaign_id": 6, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=975957852\u0026t202kw=", "tracker_id": 14, "tracker_id_public": 975957852, "tracking_params": "?t202id=975957852\u0026t202kw=" }, { "aff_campaign_id": 5, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=987532671\u0026t202kw=", "tracker_id": 13, "tracker_id_public": 987532671, "tracking_params": "?t202id=987532671\u0026t202kw=" }, { "aff_campaign_id": 5, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=67532231\u0026t202kw=", "tracker_id": 12, "tracker_id_public": 67532231, "tracking_params": "?t202id=67532231\u0026t202kw=" }, { "aff_campaign_id": 4, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=41790567\u0026t202kw=", "tracker_id": 11, "tracker_id_public": 41790567, "tracking_params": "?t202id=41790567\u0026t202kw=" }, { "aff_campaign_id": 4, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=696546218\u0026t202kw=", "tracker_id": 10, "tracker_id_public": 696546218, "tracking_params": "?t202id=696546218\u0026t202kw=" }, { "aff_campaign_id": 4, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=556134205\u0026t202kw=", "tracker_id": 9, "tracker_id_public": 556134205, "tracking_params": "?t202id=556134205\u0026t202kw=" }, { "aff_campaign_id": 3, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=932386100\u0026t202kw=", "tracker_id": 8, "tracker_id_public": 932386100, "tracking_params": "?t202id=932386100\u0026t202kw=" }, { "aff_campaign_id": 3, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=521835365\u0026t202kw=", "tracker_id": 7, "tracker_id_public": 521835365, "tracking_params": "?t202id=521835365\u0026t202kw=" }, { "aff_campaign_id": 2, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=615053373\u0026t202kw=", "tracker_id": 6, "tracker_id_public": 615053373, "tracking_params": "?t202id=615053373\u0026t202kw=" }, { "aff_campaign_id": 2, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=185316404\u0026t202kw=", "tracker_id": 5, "tracker_id_public": 185316404, "tracking_params": "?t202id=185316404\u0026t202kw=" }, { "aff_campaign_id": 2, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=153609338\u0026t202kw=", "tracker_id": 4, "tracker_id_public": 153609338, "tracking_params": "?t202id=153609338\u0026t202kw=" }, { "aff_campaign_id": 1, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=223444901\u0026t202kw=", "tracker_id": 3, "tracker_id_public": 223444901, "tracking_params": "?t202id=223444901\u0026t202kw=" }, { "aff_campaign_id": 1, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=719630684\u0026t202kw=", "tracker_id": 2, "tracker_id_public": 719630684, "tracking_params": "?t202id=719630684\u0026t202kw=" }, { "aff_campaign_id": 1, "direct_url": "https://track.example.com/tracking202/redirect/dl.php?t202id=177036074\u0026t202kw=", "tracker_id": 1, "tracker_id_public": 177036074, "tracking_params": "?t202id=177036074\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, 6 no Pro licence on the install.
{
"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
}
]
}