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:
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:
Build the copyright line, and leave out the name when it's '', which means the site has no display name:
Render the copyright line:
To tag error reports with the site revision, follow these steps:
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:
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:
Call your own sendErrorReport() with the report, such as from a listener for uncaught errors:
Last updated: 13 October 2026