Google Tag Manager (GTM) JavaScript code not found as a direct child of the <head> tag

hi

i want connect google tag manager to my website https://ventureonerealtyllc.com/ , after creating google tag manager account i copied code to header.php

<?php $object_id = get_queried_object_id(); $c_page_id = Avada()->fusion_library->get_page_id(); $wrapper_class = 'fusion-wrapper'; $wrapper_class .= ( is_page_template( 'blank.php' ) ) ? ' wrapper_blank' : ''; ?> <?php fusion_element_attributes( 'body' ); ?>>

I put it correctly to header.ph file but i got error through tag assistant google chrom extension

GTM JavaScript code not found as a direct child of the tag

please sombody help what can i do??

thank you