After changing the environment, you may need to reload the extension or restart Chrome for changes to take full effect. You'll also need to log in again with credentials for the selected environment.
Analytics are configured at build time with VITE_POSTHOG_PROJECT_KEY and VITE_POSTHOG_HOST.