Skip to content
Docs and guides

Help Center

Step-by-step guides for every setting in App Studio.

User agent

Updated

The user agent tells your server which browser is loading a page. By default the app appends AppSorcerer to the phone's normal user agent.

Detect the app on your server

Check for the word in the User-Agent header:

server.js
const inApp = /AppSorcerer/i.test(req.headers['user-agent'] || '');

Use this to hide download banners or to serve an app-friendly layout.

Replace instead of append

In Web Overrides → User agent you can append your own text or replace the whole value, separately for iOS and Android. Replacing it can break sites that rely on browser detection, so test carefully.

Was this helpful?