Use when adding tracking code, advertising pixels, third-party integrations, popups, banners, or client-side JavaScript to sites. Triggers include embed,…
Wix Embedded Script Builder Creates embedded script extensions for Wix CLI applications. Embedded scripts are HTML code fragments that get injected into the DOM of Wix sites, enabling integration with third-party services, analytics tracking, advertising, and custom JavaScript functionality. Quick Start Checklist Follow these steps in order when creating an embedded script: Create script folder: src/extensions/site/embedded-scripts/<script-name>/ Create embedded.html with config element, styles, and script logic Create extensions.ts with extensions.embeddedScript() and unique UUID Create dashboard config page: src/extensions/dashboard/pages/<script-name>-settings/ Implement config page with embeddedScripts API from @wix/app-management Update src/extensions.ts to import and use both extensions Add the SCOPE.DC-APPS.MANAGE-EMBEDDED-SCRIPTS permission in the Wix Dev Center (see Enable Embedded Script Permission) Script Types Embedded scripts must declare a type for consent management:
don't have the plugin yet? install it then click "run inline in claude" again.