Todays web design demands that I be able to add code to my pages at certain places, like in the head tag, or at the very end of the page. Blocs doesn’t handle this too well. There is a feature to add code to a single page and then choose either header or footer, but if I want to add a global code (cookie consent, script for a chat service, etc.) I pretty much have to do it by hand - esp. if I want the code to go at the end.
At the moment I am misusing the “Analytics Code” setting in the global site settings to add a whole bunch of other code besides just analytics. It works OK, but it’s kind of a hack.
So my wish is:
- Global Code: add code to either the head or at the end on a global basis for every page on a site.
- Global Meta: be able to add meta tags like keywords on a global basis for every page on the site.
The single page code setting should remain - that way I can still add a script that is specific to a certain page.