For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello,
I need to get query params of the current checkout url in the Checkout UI Extension, but I can't access to windows object in the extension. How to get query parameters?
I'm also interested in this. We need functionality like this in order to determine if the app is running from inside an app
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).