Site Info Properties

name

Type: string (read-only)

Site's display name.

A Wix user sets it in the Website Settings section of the site's dashboard.

This value can change while the page is open. It changes when a Wix user renames the site while editing it. Read it while a component renders, so the component updates when it changes.

'' when the site has no display name.

Example

Copy

revision

Type: number (read-only)

Site's revision number.

The site gets a new revision each time a Wix user saves or publishes it after a change.

This value can change while the page is open. It changes when the site gets a new revision while a Wix user is editing it. Read it while a component renders, so the component updates when it changes.

1 when no revision is available.

Example

Copy

siteId

Type: string (read-only)

Site's ID: the ID that Wix APIs and analytics use to identify the site.

This value can change while the page is open. It changes when a Wix user saves an unsaved template while editing it. Read it while a component renders, so the component updates when it changes.

'' when the site has no ID yet, for example an unsaved template in the editor.

Example

Copy

Last updated: 21 October 2026

Did this help?