iframe Query Parameters for Extensions

Warning: The features discussed in this article are deprecated. If you're looking for information related to dashboard extensions, see iframe Query Parameters for Dashboard Extensions. If you have questions or concerns, contact us.

Widget extension

Copy
NameValueComments
endpointThe Widget URL as supplied during the app registration in your app's dashboard
compIdThe ID of the Widget extensionWhile the instanceId remain constant within the scope of the site, each iframe will have a unique and persistent compId
viewModeCurrent view mode"editor" or "site". "editor" is valid inside the Wix editor, while "site" is available only in a published website
deviceTypeCurrent device type"desktop" or "mobile"
localeCurrent locale value
originCompIdID of the original widget that the user copied (or cut)When a user copies (or cuts) a widget, this query parameter appears in the pasted widget. Use it to retrieve the original widget’s design, layout, and other settings
widthThe width of the iframe in pixels
instanceThe signed instanceThe App Instance ID (instanceId) is the unique identifier of your app within a specific user's website.

Widget app settings panel

Copy
NameValueComments
endpointThe App Settings URL as supplied during the app registration in your app's dashboard
compIdThe compId value for the app settings is always tpaSettings
instanceThe signed instanceThe App Instance ID (instanceId) is the unique identifier of your app within a specific user's website.
localeCurrent locale value
originCompIdThe ID of the extension which associated with the App SettingsThe origCompId identifies the current extension that the user is editing
widthThe width of the iframe in pixels

Page extension

Copy
NameValueComments
endpointThe Widget URL as supplied during the app registration in your app's dashboard
viewModeCurrent view mode"editor" or "site". "editor" is valid inside the Wix editor, while "site" is available only in a published website
deviceTypeCurrent device type"desktop" or "mobile"
localeCurrent locale valueThis is the browser's language identified with two characters. E.g., English = en
widthThe width of the iframe in pixelsThe frame height will auto-adjust depending on the frame content
```instance``The signed instanceThe App Instance ID (instanceId) is the unique identifier of your app within a specific user's website.
targetAttribute that must be added to all href anchors within the Page iframe
sectionUrlThe base URL of the page extension
app-stateThe inner state of the page extensionThe app-state part of the URL may include a query string, but must not include a #
compIdThe ID of the extensionWhile the instanceId remain constant within the scope of the site, each iframe will have a unique and persistent compId

Page app settings panel

Copy
NameValueComments
endpointThe App Settings URL as supplied during the app registration in your app's dashboard
compIdThe compId value for the app settings is always tpaSettings
instanceThe signed instanceThe App Instance ID (instanceId) is the unique identifier of your app within a specific user's website.
localeCurrent locale valueThis is the browser's language identified with two characters. E.g., English = en
origCompIdThe ID of the extension which associated with the App SettingsThe origCompId identifies the current extension that the user is editing
widthThe width of the iframe in pixels

Worker extension

Copy
NameValueComments
compIdThe ID of the Worker extensionWhile the instanceId remain constant within the scope of the site, each iframe will have a unique and persistent compId
viewModeCurrent view mode"editor" or "site". "editor" is valid inside the Wix editor, while "site" is available only in a published website
deviceTypeCurrent device type"desktop" or "mobile"
localeCurrent locale value
endpointTypeThe Worker URL as supplied during the app registration in your app's dashboard
instanceThe signed instanceThe App Instance ID (instanceId) is the unique identifier of your app within a specific user's website.
Did this help?