Skip to the page

An open-in-app banner for any website

Apple’s Smart App Banner exists only in Safari on iOS. The Beck Links web SDK shows one banner on Android and iOS in any browser, sends the visitor through a link that opens the right screen or the store, and sets no cookies.

Updated · by Tecbeck, the company behind Beck Links

Why a banner at all#

A visitor on a phone is one tap from your app, where they buy more and come back more often. A banner at the top or bottom of the page that says "Open in the app" turns that visit into an app open or an install, and when the link behind it is a Beck Links link, the app opens on the page the visitor was reading, not on its home screen.

What the browsers give you#

  • Safari on iOS has Apple's Smart App Banner, a meta tag that shows a fixed banner. It works only in Safari, it cannot be restyled, and it does not carry a destination into the app after an install.
  • Chrome on Android can offer to install a web app, which is not the same as opening your native app.
  • Other browsers and in-app browsers have nothing built in.

The Beck Links banner is one component that behaves the same everywhere: it appears on Android and iOS phones (including iPadOS), never on desktops, and it sends the visitor through your link, so the app opens on the right screen, or the store opens and the destination waits through the install.

Add it in a few lines#

With a script tag and no build step:

XML

In React, Next.js or Vue it is a component:

Text

What it does for the visitor#

  • It follows the visitor's light or dark setting and respects reduced motion, and its close button and link are reachable by keyboard and screen reader.
  • It escapes your text, lives in its own shadow root so your page styles cannot break it, and adds nothing to your page layout beyond one fixed bar.
  • It sets no cookie and keeps nothing in storage unless you pass consentGranted after the visitor agrees; then it remembers only until when a dismissed banner stays hidden.

Beyond the banner#

The same SDK creates links from the browser, for example a share button that makes a link to the product on screen. The browser can only use the publishable key, and you list the websites that may use it in the project settings. Documentation: JavaScript, React, Next.js and Vue and Nuxt.

Questions people ask

Does the banner use cookies or tracking?
No. It sets no cookie and writes nothing to storage unless you tell it the visitor agreed to optional storage, and then it stores only the date until which a dismissed banner stays hidden.
Which frameworks are supported?
Plain JavaScript and a script tag, React, Next.js (App Router and Pages Router) and Vue 3 including Nuxt, as the packages @becklinks/web, @becklinks/react, @becklinks/next and @becklinks/vue.
Is my API key safe in the page?
The page uses a publishable key, which is meant to be public, and you list the websites allowed to use it in the project settings. Secret keys never go into a page; the SDK refuses to start with one.
Can the banner open the app inside Instagram or Facebook?
Often not. Those apps open links in their own browser, which tends to block app links. The banner still works as a normal link, and the SDK can tell you when the visitor is inside such a browser so you can change the wording.

Go deeper

Free during early access. No credit card.

Get free early accessRead the quickstart