I am using Manychat’s buttons on my page, and had issues with them, so contacted their support, who came back with this answer:
Finally received a word from dev team that “With checkbox” growth tools doesn’t work properly because ManyChat Snippet () is inserted in the wrong place:
Please edit your pages and move to part. Also, please don’t put it in other
Now I added the code inside my child theme’s functions.php the following way:
// Begin ManyChat in Head Tag
// =============================================================================
add_action( 'wp_head', 'add__manychat_to_header', 999 );
function add__manychat_to_header(){
?>
<!-- ManyChat -->
<script src="//widget.manychat.com/714323188721850.js" async="async"></script>
<?php
}
// End ManyChat in Head Tag
So I was hoping you could give me an answer as to how I might fix this issue.
I honestly do not understand if the script is not inside the header already, and I am clueless regarding the script inside a script issue.
Any help would be much appreciated!
Thank you