Home › Forums › Support › Embedded script within the head tag of website template: This topic has 1 reply, 2 voices, and was last updated 4 years, 2 months ago by Leo. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 26, 2020 at 2:22 pm #1178004 Charles Hello, I need to add this script “embedded within the head tag of your website template.” <script> (function(d) { var el, fjs = d.getElementsByTagName(‘script’)[0]; el = d.createElement(‘script’); el.id = “js-pp-banner”; el.src = “//dashboard.presspatron.com/dev/banner?b=pDdnuTj1qkSY5zbNnj9WuuTN”; fjs.parentNode.insertBefore(el, fjs); }(document)); </script> Can someone please help me figure out how to do that? Thanks February 26, 2020 at 5:12 pm #1178078 LeoStaff Customer Support Hi there, Try the wp_head hook in the hooks element: https://docs.generatepress.com/article/wp-head/ https://docs.generatepress.com/article/hooks-element-overview/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In