Insert Global Custom Codes in Site Builder

It would be good if we could insert the Global codes just right in the builder. Currently, we need to insert the global codes here(refer to the screenshot below)

It would be good to do this without leaving the builder(do everything in the builder).
I like this idea from Elementor. We can create a template for the code of CSS, JS, google analytics, etc. Then, you can assign this template to display or exclude it from some pages.

I think Bricks will have a better solution to this.

Looking forward to hearing from you.
Thank you!

Regards,
Jornes