mirror of
https://github.com/docker/docs.git
synced 2026-10-23 18:09:02 +03:00
## Description The Offload CLI prints `https://docs.docker.com/go/get-offload` when an account has no Offload access. This PR changes where that short link goes. - Before: `https://app.docker.com/billing/catalog`, added in #26303. - After: `https://app.docker.com/billing/subscription/dap/compute?returnTo=https://docs.docker.com/offload/quickstart/&ref=cli&refAction=NotEntitled`. The new target opens the Offload checkout directly. It asks the user to log in first, then sends them to the checkout of their personal account. A user who already has Offload skips checkout. After checkout, the user returns to the Offload quickstart. `ref=cli` and `refAction=NotEntitled` tell the app-ui checkout events that the visit came from the CLI. The checkout keeps both params on every step through to the success page. This lets us measure the Offload sign-up funnel from the CLI. The app-ui changes are docker/frontends#17539 and docker/frontends#17544, and both are in production. ## Related issues or tickets - DCL-2208: make the Offload web sign-up funnel measurable from end to end. - #26303 added the current `/go/get-offload/` redirect. ## Reviews - The redirect handler (`hack/releaser/cloudfront-lambda-redirects.js`) already supports targets with a query string, for example the `utm_*` targets in the same file. It also appends any query params on the incoming request. - The checkout accepts `returnTo` only for HTTPS addresses on `docker.com` hosts, so the quickstart address is accepted. - To test after deploy, open `https://docs.docker.com/go/get-offload/` while logged in to Docker. You land on the Offload checkout, and the address has `ref=cli`. - [ ] Technical review - [ ] Editorial review - [ ] Product review 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>