Head Additional Before
vseager/magento2-head-additional-before
Adds a layout block container that lets you place blocks at the very start of the HTML <head>, before other scripts — useful for consent managers and tags that must load first.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubmagento2-head-additional-before
Allows you to place layout blocks in the <head> tag before other scripts
Example usage:
<referenceBlock name="head.additional.before">
<block class="Magento\Framework\View\Element\Template" name="termly" template="Vendor_Module::template.phtml" />
</referenceBlock>
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.