Is it possible to add costom Javascript to every single Webstudio page?
Is it possible to add costom Javascript to every single Webstudio page?
At a glance
The community member uses Firebase for their webstudio projects and wonders if they can add the Firebase code to all their websites. The comments suggest that the Firebase configuration code needs to be added individually to each site, but the community member can add the script to the project settings to cover the entire site. They can also add the script to each page using the "HTML Embed" component, or create a "slot" component with the script and paste it on multiple pages. The site settings also have a global HTML embed option.
Yes. Just use the "HTML Embed" component. If you want the exact same script on multiple pages, I'd add it to a "slot" component and paste that on each page.