Executive summary
- What: Shopify released a network access testing preview for dev stores, so you can confirm an app's declared hosts and servers are complete before you ship a version.
- Why: Undeclared hosts trigger the customer exit prompt, and undeclared servers surface only as policy warnings, so both failures stay invisible until a customer hits them.
- Who: Teams running custom apps, theme app extensions, or app proxies on a Plus storefront, plus the admins who govern third-party apps.
What changed
Apps declare their external network surface in the network_access section of the app configuration file. Hosts the app links customers to go in allowed_navigation_hosts. Servers it loads from or calls go in allowed_sources. Until now there was no reliable way to check those lists short of deploying and watching live traffic.
The preview closes that gap. Create a dev store with the network_access_testing preview selected, then run your app against it with the Shopify CLI. The store applies the network_access block from your local configuration, and two things become observable: links to undeclared hosts show the exit warning, and the browser console reports a policy warning when the storefront loads from or calls an undeclared server. The preview warns only and blocks nothing, so it is safe to run through your full feature set in one pass.
Why it matters
The practical risk is not a broken storefront, it is quiet conversion friction. A customer who clicks a legitimate link to your own help centre and lands on an interstitial reads that as a problem with the merchant, not a configuration gap in an app, and that cost is rarely attributed correctly.
There is a subtler trap for larger stores. Shopify merges the allowed_sources of every installed app into one policy, so a complete list in one app can mask a missing entry in another. On a Plus storefront running several apps, the only honest test is an isolated dev store with one app on it. That makes this a governance tool as much as a developer one, and it belongs in the same review cycle as your third-party app and compliance posture.
Role-specific impact
- Marketers: Exit warnings on links to your own review pages or help centre undercut trust at the wrong moment. Validate before a campaign pushes volume through app-rendered storefront UI.
- Developers: Test on the store's myshopify.com address, not a theme preview, which does not carry the policy header. Install only the app under test. Add Google Fonts domains by hand, since the console stays silent about those.
- Store admins: Nothing to configure in admin, but something to ask for. Vendor declarations shape your exit prompts, so track which apps have declared properly and escalate gaps.
Use-case example
Real-world scenario
A Plus merchant runs a custom product configurator that loads a 3D viewer from its own CDN, posts selections to its own API, and links to a help centre subdomain from a sizing prompt. The lists looked complete on review. A pass on a preview dev store surfaced two misses: the help centre subdomain, and the font host.
Left undeclared, every customer clicking that link would have hit the exit interstitial mid-configuration. The link carried roughly four percent of configurator sessions. On a storefront doing 60,000 monthly sessions, that is about 2,400 customers a month seeing a warning at a high-intent step.
Implementation checklist
- Inventory every external host your apps link customers to, and every server they load from or call.
- Create a dev store and select the network access testing preview, the only preview that store can run.
- Install only the app under test, so another app's entries cannot mask a gap in yours.
- Run the app against that store with the Shopify CLI dev command, and keep it running throughout.
- Add your theme app extension blocks to the theme and turn on any app embeds.
- Exercise every app feature on the myshopify.com address with the console open, never a theme preview.
- Confirm the page response carries a Content-Security-Policy-Report-Only header, which proves the policy applied.
- Add missing hosts to allowed_navigation_hosts and missing servers to allowed_sources, then retest once the preview updates.
- Deploy and release the new version, and fold this check into your pre-release routine.
FAQ
Q: Can this break anything on our live storefront?
A: No. The behaviour is limited to dev stores with the preview enabled, and even there it only warns. The one hard gate is deploy-time validation, which rejects malformed entries.
Q: We only install apps from the App Store. Is there anything for us to do?
A: Nothing to configure, but a question worth asking. A vendor's declarations affect your exit prompts and policy reporting, so raise it with any vendor whose app renders storefront UI.
Resources
Declare your app's network access: testing guidance
Need guidance? Talk to Makro.