Yeah you can use a slot. from docs
Custom Code – Global field to output scripts in the head. Custom Code is often used to add analytics scripts such as Google Analytics, PostHog, Plausible, and any other scripts/code you want to output on every page. Please note that this code does not output in the Builder, so your scripts aren't tracking Builder page views. For outputting a script in the body on every page, use a Slot. For example, add HTML Embed(s) to your Footer Slot so that it outputs on every page.
In Webflow, html embed does
not render on the canvas which is partially why site settings are the go to. In Webstudio, your html embed scirpts can run on canvas (there is a toggle on them as you may not always want them to execute), so HTML embed is a great place for them