Hi,
“third-party browser-based tooling ( such as Amplitude JS ) may no longer be compatible with Extensibility, given that these tools expect access to the DOM and the usual suite of browser APIs, which Shopify no longer exposes through the sandbox environment.”
^This is correct - checkout extensions do not have access to window and document objects since they are loaded in a restricted environment.