Page specific head and body section external scripts will be defined in the contentful CMS, those scripts need to be added in the respective head section and body section.
Example: Head section
document" is not available during server-side rendering. Enable “DEV_SSR” to debug this during "gatsby develop.
Below screen explaining how end user prefer to manage page specific head and body section scripts in contentful
Graph QL query returning the data
Attempted to use Gatsby Head API. Dev environment able to show the scripts in the respective section but after committing the code and triggering the Gatsby cloud it throws an above error. I have tried using , . Please help how should I implement this requirement.