It seems you’re using Beaver Builder to build your header within the content.
I know there are some Beaver Builder options that allow you to build out a template and output it using a shortcode. That would be your best bet as you could display it in the Before Header Content hook using GP Hooks.