script not inserted just before </body>
-
Thank you for making this plugin!
I'm trying to insert a script just before the </body> tag. However, when using the plugin, the script gets places immediately after the <body> tag, before a bunch of other scripts.
Example: https://browngoldsmiths.com/covid-19-operations/
This is the script:
<script>
(function (u,c,o,i) {
window['ClientbookWebChatObject'] = {u:u,c:c,w:o,i:i};
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = "https://webchat.clientbookretail.com/wc.min.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})(279be771-4964-4f6b-a932-e889bc06a353);
</script>How can I place this script just before </body>?
Thank you!
-
Update: I turned off the plugin and added the script directly to the footer.php file
-
This post is deleted!