Add trusted client-facing scripts only when a standard portal feature cannot meet the need, and test the complete sign-in experience after every change.
Before you add code
Only workspace owners and implementers can change this setting.
The code runs for signed-in clients on every portal page.
Third-party scripts may receive client-facing data, so use only providers you trust.
Keep a copy of the last working snippet before replacing it.
The warning and review step are intentional because a broken script can affect the entire portal.
Publish custom code safely
Paste or edit the trusted snippet under JavaScript embed code.
Select Review and save.
Read the confirmation carefully and acknowledge the risk.
Open the live portal in a separate browser session.
Test sign-in, navigation, custom pages, forms, and mobile layouts.
If the portal stops working
Return to Advanced settings, remove or restore the most recent snippet, save again, and repeat the live-portal checks. Avoid scripts that replace Moxie navigation, authentication, or core page content.
Continue exploring Client portal

