Glossary

What is a web-to-app script?

A web-to-app script is a snippet embedded on a website that detects mobile visitors and routes them into the corresponding native app experience.

Engineering and integration

All 220 terms

What it does

The script runs on a mobile web page, works out whether the visitor has the app, and acts accordingly: deep link them into the matching in-app content if they do, or offer the app store if they do not.

Done properly it also carries the destination through an install, so a new user who downloads arrives at the content they were looking at rather than at a home screen.

The conversion cost of doing it badly

This is where most implementations lose money without anyone measuring it.

Interrupting a user who was about to complete a purchase on the web, in order to push an install, trades a likely conversion now for an uncertain one later. On high-intent pages the trade is frequently a loss, and the install count makes it look like a win.

The other common failure is losing the destination. A user reading a specific product page who is routed to a generic app home screen has been given more friction, not less — and the whole point of the mechanism was to remove friction.

Doing it well

  • Only where the app is genuinely better, not on every page by default.
  • Never mid-checkout. The web conversion in progress is worth more than the install.
  • Preserve the destination, including through an install.
  • Make it dismissible and remember the dismissal.
  • Measure against the web conversion displaced, not only the installs produced — see smart banners.

Common questions

Does a web-to-app script hurt SEO?

It can if it blocks content or serves crawlers something different from users. Interstitials that obscure content are also penalised by search engines directly.

How do I know if it is worth running?

Test it against a control that does not see it, comparing total conversions across web and app rather than counting installs. Many implementations do not survive that comparison.

More in engineering and integration

The interfaces and plumbing an ad stack is wired together with.