SEO and social sharing
SEO settings control how your app appears in search results, browser tabs and link previews. Most apps need only two things: a sensible title template and a default description . Each page can then override its own title and description.
SEO settings control how your app appears in search results, browser tabs and link previews. Most apps need only two things: a sensible title template and a default description. Each page can then override its own title and description.
When to use
- Public pages (a booking page, a request form, a service catalogue) that people should find on Google.
- Any app: a clear browser-tab title helps your team too.
App-level settings
Open Settings › SEO:
| Setting | What it does | Rules |
|---|---|---|
| Title template | Pattern for the browser-tab title. %s is replaced by the page title. Default: %s · App name. | Must contain %s; 120 characters max. |
| Default description | Used by search engines and link previews when a page has no description of its own. | 300 characters max; 120–160 works best. Falls back to the app description from Settings › General. |
The Search result preview card shows how your home page might look on Google with the current values.
Page-level settings
In Build, open the page menu → Page settings → SEO:
- Title: replaces the page name in the title template (
Book a table · Café Atlas). - Description: replaces the default description for that page.
- Share image: an image from Assets intended for link previews.
The page title also drives the browser tab while the visitor navigates inside the app.
Favicon and app name
- The favicon (browser-tab icon) is set in Theme › Brand › Favicon. Without one, the generated app icon (your PWA icon or a letter on your primary color) is used.
- The HTML document title of the live app is the PWA App name (Settings › PWA & mobile) or the app name; the home-screen title is the PWA Short name.
Search engines and staging
- Live pages can be indexed by search engines; the publish checklist warns when the home page has no description.
- Staging (
/s/<slug>) is markednoindex, nofollowso test copies never appear in search results. - Pages that require sign-in show the sign-in screen to crawlers, so only public pages are meaningful for SEO.
Example
Title template: %s · Northside Repair
Default description: Phone and laptop repairs in Northside. Book online,
track your repair and get notified when it is ready.
Page "Book a repair": title "Book a repair", description "Same-day screen
replacements. Book a slot in two minutes."
Tab shows: Book a repair · Northside RepairNot available yet
Published pages do not yet output a social preview image tag (Open Graph / Twitter card) from the page's Share image; the image is stored with the page for when that is added. Link previews currently use the page title and description. There is no robots.txt editor or per-page "hide from search engines" switch.
Common mistakes
- Removing
%sfrom the template. Every page would get the same title; the field refuses to save without%s. - A description longer than 160 characters. Search engines cut it off; the field turns amber above 160.
- Expecting search engines to see pages behind sign-in. Keep marketing content on public pages.
Advanced
The live route's metadata (src/app/a/[slug]/[[...path]]/page.tsx) sets title, description, the manifest link, icons (favicon asset or /icon/192, Apple touch icon /icon/180) and appleWebApp fields. Per-page titles are applied client-side by the app shell using settings.seo.titleTemplate. SEO fields live in settings.seo and page.seo and are changed with update_settings and update_page.