You can’t read query parameters from within the Checkout UI Extension. You may be able to link to a cart permalink and pass attributes in the URL so that they are applied to the cart, then read those attributes from within your checkout extension. There is a tutorial on YT about this, but it doesn’t work with links that go directly into checkout (like a cart abandonment URL).