You can use the Embedded Script API to inject custom script tags to the head tag of a site.
- You must authenticate as a Wix App.
- If an app has more than one embedded script component, the relevant component ID must be passed for all calls. The component ID for each embedded script component is available as a query parameter in the embedded script's extension page in the app dashboard.
- The keys in the custom parameters passed in this API must be identical to the keys defined in the app's embedded script component. Using any other keys results in a 400 error: "Parameters map sent to embedded script is not the same as discovered in the script code".
For more information, see About Embedded Scripts.