WebView Preload Strategies
Complete Guide
Overview
A WebView-rendered paywall needs a WebView to draw into, and creating one takes a moment. The preload strategy decides when the SDK creates and warms up that WebView, so the paywall appears without a pause when your app shows it.
- The setting applies only to paywalls whose render mode is WebView. Native paywalls don't use a WebView.
- Your iOS or Android app must include the BillDog WebView module (billdog-webview on Android). The web SDK doesn't use this setting.
- Preloading starts when the SDK fetches the paywall — when your app presents it, when a placement resolves to it, or when the SDK prefetches it in the background. It does not start at app launch.
Available Strategies
- Delayed Preload (recommended in the builder) — warms up a set time after the paywall is fetched: Delay (milliseconds), default 500. Good for most apps: the warm-up stays out of the way of whatever your app is doing at that moment.
- On First Paywall — warms up about 100 ms after the paywall is fetched. Good when the paywall is shown soon after it is fetched.
- Immediate Preload — warms up as soon as the paywall is fetched. Good for paywalls shown the moment they are fetched.
- Disabled — no warm-up; the WebView is created when the paywall is shown. Good for paywalls shown rarely, where a short pause on first display is acceptable.
Disabled does not stop WebView paywalls from showing. It only skips the warm-up, so the first display can take a little longer.
If a paywall has no strategy saved — including paywalls set to the Intelligent render mode — the SDK uses On First Paywall.
Where to set it
In the Paywall Builder
1. Open the paywall and click Change Render Mode in the left rail.
2. Choose WebView. The WebView Preload Strategy options appear below it.
3. Pick a strategy (and a delay for Delayed Preload), then save and publish.
For several paywalls at once
1. On the Paywalls page, tick the paywalls to change and click Change Render Mode — or use Change Render Mode in a single paywall's ⋮ menu.
2. In Change Render Mode & Preload Settings, choose the render mode and strategy, then click Apply Changes.
3. This updates each paywall's draft. Publish each paywall for the change to reach your apps.
Don't use that dialog for multi-screen funnels.
When changes take effect
The strategy is part of the published paywall, so it can be changed at any time without an app update. A device uses the new strategy the next time it fetches the paywall. Each paywall has its own strategy.
Choosing a strategy
- Start with Delayed Preload at 500 ms, as the builder recommends.
- If the paywall appears the instant it is fetched (for example, presented straight from a placement), use Immediate Preload or On First Paywall so the WebView is ready in time.
- If the paywall is rarely shown, Disabled avoids creating a WebView that may never be used.
- Test on low-end Android devices, where WebView start-up is slowest.
Additional Resources
Was this page helpful?
Or rate this page: