What this page shows
This page lists the scripts currently stored in the CMS script registry and acts as the launch point for the script modal.
When to use it
- identify whether a script key already exists
- open a script for editing
- create a new script record
- delete a script that should no longer be delivered
How to read it
The grid is intentionally minimal:
KeyName
There are no visible filters on this list. Audience checkboxes are edited inside the modal and affect downstream delivery, not which rows appear in the backoffice list.
Operators click a row to open the modal and manage:
KeyNameHeadcodeBody (start)codeBody (end)codeEnable for Authenticated UsersEnable for Depositors
Known caveats
- The page itself does not preview where the code renders in the site. Operators must understand whether a snippet belongs in
head,bodyStart, orbodyEnd. Keyis required when creating a script and cannot be changed while editing an existing script.Nameis required.- At least one of
Head,Body (start), orBody (end)must contain code before Save will submit. - The empty-code guard is part of this modal. If scripts are changed outside this screen, verify that at least one code section is present before relying on the script.
- If both audience checkboxes are off, the script is delivered to unauthenticated, non-depositor visitors by default.
- A depositor request receives scripts marked for depositors plus default scripts; an authenticated non-depositor request receives authenticated-user scripts plus default scripts.
- Script delivery can also be requested by kind. Analytics requests exclude live-chat scripts, live-chat requests exclude analytics scripts, and regular scripts are included with both kinds.
Copyactions in the modal are operator helpers only. They do not change persistence.- Duplicate script keys are blocked by the core create route.
- Delete opens a confirmation dialog before the script is removed.