InstantPWA on Wix
Wix Custom Code lets you add a script across your published site. Connect your domain, paste the InstantPWA snippet and test the live page rather than an editor iframe.
Install: Guided
Web push: Not available
Published connected domain and Custom Code access required. The snippet alone does not provide a same-origin service worker or web push.
How to set it up
- 1
Enable Custom Code
Dashboard → Settings → Custom Code → Add Custom Code.
- 2
Paste the snippet
Set it to load on 'All pages' and 'Head'. Save.
- 3
Publish your site
Custom code only fires on the published site, not the editor preview.
Read the full setup guide
Code placement, published-site checks and limitations for Wix.
Installation troubleshooting
Common tasks on Wix
FAQ
Why doesn't it work in the Wix preview?+
Wix strips custom code from the editor preview. Publish first, then test on the live URL.