Hello James,

Use the following shortcode code,

https://contactform7.com/faq/can-i-embed-a-contact-form-into-my-template-file/

And replace this code,

, $integral[‘hero-tagline’]); ?>

With the shortcode code.

That should do it.