Site Info API: Sample Flows

This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.

To show the site name in a footer, follow these steps:

  1. Read name while the footer component renders, rather than storing it once outside the component. A Wix user can rename the site while editing it, and reading name during the render shows the new name:

    Copy
  2. Build the copyright line, and leave out the name when it's '', which means the site has no display name:

    Copy
  3. Render the copyright line:

    Copy

Tag error reports with the site revision

To tag error reports with the site revision, follow these steps:

  1. Read revision each time you build a report, rather than once when your code starts. The revision can change while a Wix user edits the site:

    Copy
  2. Leave out the revision when it's 0, which means no revision is available, so reports without a revision aren't grouped under revision 0:

    Copy
  3. Call your own sendErrorReport() with the report, such as from a listener for uncaught errors:

    Copy

Last updated: 13 October 2026

Did this help?