The Site Info API tells you the display name, revision number, and ID of the site your code runs on. Use it to show the site's name to site visitors, or to tag your own error reports with the site's revision.
With the Site Info API, you can:
To use the API, install the @wix/site-service-site-info package:
In a React component, resolve the service with the useService hook:
Last updated: 19 October 2026