Edit this page
bodyHtmlBegin
Environment: server.
Implemented by: vike-vue
/vike-react
.
You need
vike-vue
/vike-react
to be able to usebodyHtmlBegin
.
Setting for inserting HTML at the beginning of the <body>
tag, see the documentation of bodyHtmlEnd
.
Global
This setting is global: its value always applies to all your pages. In other words, it doesn't support config inheritance.
You cannot set it at
pages/some-page/+config.js
: you have to set it atpages/+config.js
(or some other global location) instead.
If you want to set different values for different pages, then consider creating a custom setting as shown at Guides >
<head>
tags > Custom settings.