Google Tag Manager – Tag Configuration – appending

I need to include two <script> tags just before the </body> element via a custom tag in Google Tag Manager: <script src=”https://cdn.jsdelivr.net/npm/[email protected]/build/cookieconsent.min.js” data-cfasync=”false”></script> and <script>window.cookieconsent.initialise({“palette”:{“popup”:{“background”:”#000″},”button”:{“background”:”#f1d600″}}});</script> Because I need them to show up just before the </body> element, I am using jQuery to append these values as strings via appendTo(): <script> var cookieConsentStyles = ‘<link rel=”stylesheet”…

Details