To ensure you JS apps work on both Vitrin and legacy themes, you can use the windows.vitrin object. It will be set to true only if the store is running vitrin.Example:
If you host a remote script that already uses query params, you’ll now receive ?vitrin=true when the store is on Vitrin. You can serve a newer script version without checking window.vitrin in the script itself.New: